Class HttpSecurityFlowTypeImpl<F extends java.lang.Enum<F>>
- java.lang.Object
-
- net.officefloor.web.security.type.HttpSecurityFlowTypeImpl<F>
-
- All Implemented Interfaces:
HttpSecurityFlowType<F>
public class HttpSecurityFlowTypeImpl<F extends java.lang.Enum<F>> extends java.lang.Object implements HttpSecurityFlowType<F>
HttpSecurityFlowTypeadapted from theManagedObjectFlowType.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description HttpSecurityFlowTypeImpl(ManagedObjectFlowType<F> flow)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>getArgumentType()Obtains the type of the argument passed to theFlow.java.lang.StringgetFlowName()Obtains the name of theFlow.intgetIndex()Obtains the index identifying theFlow.FgetKey()Obtains the key identifying theFlow.
-
-
-
Constructor Detail
-
HttpSecurityFlowTypeImpl
public HttpSecurityFlowTypeImpl(ManagedObjectFlowType<F> flow)
Initiate.- Parameters:
flow-ManagedObjectFlowType.
-
-
Method Detail
-
getFlowName
public java.lang.String getFlowName()
Description copied from interface:HttpSecurityFlowTypeObtains the name of theFlow.- Specified by:
getFlowNamein interfaceHttpSecurityFlowType<F extends java.lang.Enum<F>>- Returns:
- Name of the
Flow.
-
getKey
public F getKey()
Description copied from interface:HttpSecurityFlowTypeObtains the key identifying theFlow.- Specified by:
getKeyin interfaceHttpSecurityFlowType<F extends java.lang.Enum<F>>- Returns:
- Key identifying the
Flow.
-
getIndex
public int getIndex()
Description copied from interface:HttpSecurityFlowTypeObtains the index identifying theFlow.- Specified by:
getIndexin interfaceHttpSecurityFlowType<F extends java.lang.Enum<F>>- Returns:
- Index identifying the
Flow.
-
getArgumentType
public java.lang.Class<?> getArgumentType()
Description copied from interface:HttpSecurityFlowTypeObtains the type of the argument passed to theFlow.- Specified by:
getArgumentTypein interfaceHttpSecurityFlowType<F extends java.lang.Enum<F>>- Returns:
- Type of argument passed to the
Flow. May benullto indicate no argument.
-
-