Class HttpSecurityDependencyMetaDataImpl<O extends java.lang.Enum<O>>
- java.lang.Object
-
- net.officefloor.web.spi.security.impl.HttpSecurityDependencyMetaDataImpl<O>
-
- All Implemented Interfaces:
HttpSecurityDependencyMetaData<O>
public class HttpSecurityDependencyMetaDataImpl<O extends java.lang.Enum<O>> extends java.lang.Object implements HttpSecurityDependencyMetaData<O>
Implementation of theHttpSecurityDependencyMetaData.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description HttpSecurityDependencyMetaDataImpl(O key, java.lang.Class<?> type)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OgetKey()Obtains theEnumkey identifying this dependency.java.lang.StringgetLabel()Provides a descriptive name for this dependency.java.lang.Class<?>getType()Obtains theClassthat the dependent object must extend/implement.java.lang.StringgetTypeQualifier()Obtains the qualifier on the type.voidsetLabel(java.lang.String label)Specifies a label to describe the dependency.voidsetTypeQualifier(java.lang.String qualifier)Specifies the type qualifier.
-
-
-
Constructor Detail
-
HttpSecurityDependencyMetaDataImpl
public HttpSecurityDependencyMetaDataImpl(O key, java.lang.Class<?> type)
Initiate.- Parameters:
key- Key identifying the dependency.type- Type of dependency.
-
-
Method Detail
-
setLabel
public void setLabel(java.lang.String label)
Specifies a label to describe the dependency.- Parameters:
label- Label to describe the dependency.
-
setTypeQualifier
public void setTypeQualifier(java.lang.String qualifier)
Specifies the type qualifier.- Parameters:
qualifier- Type qualifier.
-
getKey
public O getKey()
Description copied from interface:HttpSecurityDependencyMetaDataObtains theEnumkey identifying this dependency.- Specified by:
getKeyin interfaceHttpSecurityDependencyMetaData<O extends java.lang.Enum<O>>- Returns:
Enumkey identifying the dependency.
-
getType
public java.lang.Class<?> getType()
Description copied from interface:HttpSecurityDependencyMetaDataObtains theClassthat the dependent object must extend/implement.- Specified by:
getTypein interfaceHttpSecurityDependencyMetaData<O extends java.lang.Enum<O>>- Returns:
- Type of the dependency.
-
getTypeQualifier
public java.lang.String 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 java.lang.Enum<O>>- Returns:
- Qualifier on the type. May be
nullif not qualifying the type.
-
getLabel
public java.lang.String 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 java.lang.Enum<O>>- Returns:
- Descriptive name for this dependency.
-
-