Class HttpSecurityDependencyTypeImpl<O extends java.lang.Enum<O>>
- java.lang.Object
-
- net.officefloor.web.security.type.HttpSecurityDependencyTypeImpl<O>
-
- All Implemented Interfaces:
HttpSecurityDependencyType<O>
public class HttpSecurityDependencyTypeImpl<O extends java.lang.Enum<O>> extends java.lang.Object implements HttpSecurityDependencyType<O>
HttpSecurityDependencyTypeadapted from theManagedObjectDependencyType.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description HttpSecurityDependencyTypeImpl(ManagedObjectDependencyType<O> dependency)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDependencyName()Obtains the name of the dependency.java.lang.Class<?>getDependencyType()Obtains theClassthat the dependent object must extend/implement.intgetIndex()Obtains the index identifying the dependency.OgetKey()Obtains the key identifying the dependency.java.lang.StringgetTypeQualifier()Obtains the qualifier on the type.
-
-
-
Constructor Detail
-
HttpSecurityDependencyTypeImpl
public HttpSecurityDependencyTypeImpl(ManagedObjectDependencyType<O> dependency)
Initiate.- Parameters:
dependency-ManagedObjectDependencyType.
-
-
Method Detail
-
getDependencyName
public java.lang.String getDependencyName()
Description copied from interface:HttpSecurityDependencyTypeObtains the name of the dependency.- Specified by:
getDependencyNamein interfaceHttpSecurityDependencyType<O extends java.lang.Enum<O>>- Returns:
- Name of the dependency.
-
getIndex
public int getIndex()
Description copied from interface:HttpSecurityDependencyTypeObtains the index identifying the dependency.- Specified by:
getIndexin interfaceHttpSecurityDependencyType<O extends java.lang.Enum<O>>- Returns:
- Index identifying the dependency.
-
getDependencyType
public java.lang.Class<?> getDependencyType()
Description copied from interface:HttpSecurityDependencyTypeObtains theClassthat the dependent object must extend/implement.- Specified by:
getDependencyTypein interfaceHttpSecurityDependencyType<O extends java.lang.Enum<O>>- Returns:
- Type of the dependency.
-
getTypeQualifier
public java.lang.String getTypeQualifier()
Description copied from interface:HttpSecurityDependencyTypeObtains the qualifier on the type.
This is to enable qualifying the type of dependency required.
- Specified by:
getTypeQualifierin interfaceHttpSecurityDependencyType<O extends java.lang.Enum<O>>- Returns:
- Qualifier on the type. May be
nullif not qualifying the type.
-
getKey
public O getKey()
Description copied from interface:HttpSecurityDependencyTypeObtains the key identifying the dependency.- Specified by:
getKeyin interfaceHttpSecurityDependencyType<O extends java.lang.Enum<O>>- Returns:
- Key identifying the dependency.
-
-