Class HttpSecurityDependencyMetaDataImpl<O extends java.lang.Enum<O>>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      O getKey()
      Obtains the Enum key identifying this dependency.
      java.lang.String getLabel()
      Provides a descriptive name for this dependency.
      java.lang.Class<?> getType()
      Obtains the Class that the dependent object must extend/implement.
      java.lang.String getTypeQualifier()
      Obtains the qualifier on the type.
      void setLabel​(java.lang.String label)
      Specifies a label to describe the dependency.
      void setTypeQualifier​(java.lang.String qualifier)
      Specifies the type qualifier.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
      • getTypeQualifier

        public java.lang.String getTypeQualifier()
        Description copied from interface: HttpSecurityDependencyMetaData

        Obtains the qualifier on the type.

        This is to enable qualifying the type of dependency required.

        Specified by:
        getTypeQualifier in interface HttpSecurityDependencyMetaData<O extends java.lang.Enum<O>>
        Returns:
        Qualifier on the type. May be null if not qualifying the type.
      • getLabel

        public java.lang.String getLabel()
        Description copied from interface: HttpSecurityDependencyMetaData
        Provides a descriptive name for this dependency. This is useful to better describe the dependency.
        Specified by:
        getLabel in interface HttpSecurityDependencyMetaData<O extends java.lang.Enum<O>>
        Returns:
        Descriptive name for this dependency.