Class HttpSecurityFlowMetaDataImpl<F extends java.lang.Enum<F>>
- java.lang.Object
-
- net.officefloor.web.spi.security.impl.HttpSecurityFlowMetaDataImpl<F>
-
- All Implemented Interfaces:
HttpSecurityFlowMetaData<F>
public class HttpSecurityFlowMetaDataImpl<F extends java.lang.Enum<F>> extends java.lang.Object implements HttpSecurityFlowMetaData<F>
HttpSecurityFlowMetaData
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description HttpSecurityFlowMetaDataImpl(F key, java.lang.Class<?> argumentType)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getArgumentType()
Obtains theClass
of the argument that is passed to theFlow
.F
getKey()
Obtains theEnum
key identifying the applicationFlow
to instigate.java.lang.String
getLabel()
Provides a descriptive name for thisFlow
.void
setLabel(java.lang.String label)
Specifies a label to describe theFlow
.
-
-
-
Method Detail
-
setLabel
public void setLabel(java.lang.String label)
Specifies a label to describe theFlow
.- Parameters:
label
- Label to describe theFlow
.
-
getKey
public F getKey()
Description copied from interface:HttpSecurityFlowMetaData
Obtains theEnum
key identifying the applicationFlow
to instigate.- Specified by:
getKey
in interfaceHttpSecurityFlowMetaData<F extends java.lang.Enum<F>>
- Returns:
Enum
key identifying the applicationFlow
to instigate.
-
getArgumentType
public java.lang.Class<?> getArgumentType()
Description copied from interface:HttpSecurityFlowMetaData
Obtains the
Class
of the argument that is passed to theFlow
.This may be
null
to indicate no argument is passed.- Specified by:
getArgumentType
in interfaceHttpSecurityFlowMetaData<F extends java.lang.Enum<F>>
- Returns:
- Type of the argument that is passed to the
Flow
.
-
getLabel
public java.lang.String getLabel()
Description copied from interface:HttpSecurityFlowMetaData
- Specified by:
getLabel
in interfaceHttpSecurityFlowMetaData<F extends java.lang.Enum<F>>
- Returns:
- Descriptive name for this
Flow
.
-
-