Class AuthTrait

    • Field Detail

      • ID

        public static final ShapeId ID
    • Constructor Detail

      • AuthTrait

        @Deprecated
        public AuthTrait​(java.util.List<ShapeId> values,
                         FromSourceLocation sourceLocation)
        Deprecated.
      • AuthTrait

        @Deprecated
        public AuthTrait​(java.util.List<ShapeId> values)
        Deprecated.
      • AuthTrait

        public AuthTrait​(java.util.Set<ShapeId> values)
    • Method Detail

      • getValueSet

        public java.util.Set<ShapeId> getValueSet()
        Gets the auth scheme trait values.
        Returns:
        Returns the supported auth schemes.
      • getValues

        @Deprecated
        public java.util.List<ShapeId> getValues()
        Deprecated.
      • createNode

        protected Node createNode()
        Description copied from class: AbstractTrait
        The result of toNode is used for hashCodes and equality. Subclasses must implement createNode to turn the trait into a Node. This is then cached for subsequent retrievals.
        Specified by:
        createNode in class AbstractTrait
        Returns:
        Returns the trait as a node.