Class HttpSecurityDependencyMetaDataImpl<O extends Enum<O>>
java.lang.Object
net.officefloor.web.spi.security.impl.HttpSecurityDependencyMetaDataImpl<O>
- All Implemented Interfaces:
HttpSecurityDependencyMetaData<O>
public class HttpSecurityDependencyMetaDataImpl<O extends Enum<O>>
extends Object
implements HttpSecurityDependencyMetaData<O>
Implementation of the
HttpSecurityDependencyMetaData.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Obtains theEnumkey identifying this dependency.getLabel()Provides a descriptive name for this dependency.Class<?>getType()Obtains theClassthat the dependent object must extend/implement.Obtains the qualifier on the type.voidSpecifies a label to describe the dependency.voidsetTypeQualifier(String qualifier) Specifies the type qualifier.
-
Constructor Details
-
HttpSecurityDependencyMetaDataImpl
Initiate.- Parameters:
key- Key identifying the dependency.type- Type of dependency.
-
-
Method Details
-
setLabel
Specifies a label to describe the dependency.- Parameters:
label- Label to describe the dependency.
-
setTypeQualifier
Specifies the type qualifier.- Parameters:
qualifier- Type qualifier.
-
getKey
Description copied from interface:HttpSecurityDependencyMetaDataObtains theEnumkey identifying this dependency. -
getType
Description copied from interface:HttpSecurityDependencyMetaDataObtains theClassthat the dependent object must extend/implement.- Specified by:
getTypein interfaceHttpSecurityDependencyMetaData<O extends Enum<O>>- Returns:
- Type of the dependency.
-
getTypeQualifier
Description copied from interface:HttpSecurityDependencyMetaDataObtains the qualifier on the type.
This is to enable qualifying the type of dependency required.
- Specified by:
getTypeQualifierin interfaceHttpSecurityDependencyMetaData<O extends Enum<O>>- Returns:
- Qualifier on the type. May be
nullif not qualifying the type.
-
getLabel
Description copied from interface:HttpSecurityDependencyMetaDataProvides a descriptive name for this dependency. This is useful to better describe the dependency.- Specified by:
getLabelin interfaceHttpSecurityDependencyMetaData<O extends Enum<O>>- Returns:
- Descriptive name for this dependency.
-