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>
HttpSecurityFlowType
adapted 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.String
getFlowName()
Obtains the name of theFlow
.int
getIndex()
Obtains the index identifying theFlow
.F
getKey()
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:HttpSecurityFlowType
Obtains the name of theFlow
.- Specified by:
getFlowName
in interfaceHttpSecurityFlowType<F extends java.lang.Enum<F>>
- Returns:
- Name of the
Flow
.
-
getKey
public F getKey()
Description copied from interface:HttpSecurityFlowType
Obtains the key identifying theFlow
.- Specified by:
getKey
in interfaceHttpSecurityFlowType<F extends java.lang.Enum<F>>
- Returns:
- Key identifying the
Flow
.
-
getIndex
public int getIndex()
Description copied from interface:HttpSecurityFlowType
Obtains the index identifying theFlow
.- Specified by:
getIndex
in interfaceHttpSecurityFlowType<F extends java.lang.Enum<F>>
- Returns:
- Index identifying the
Flow
.
-
getArgumentType
public java.lang.Class<?> getArgumentType()
Description copied from interface:HttpSecurityFlowType
Obtains the type of the argument passed to theFlow
.- Specified by:
getArgumentType
in interfaceHttpSecurityFlowType<F extends java.lang.Enum<F>>
- Returns:
- Type of argument passed to the
Flow
. May benull
to indicate no argument.
-
-