Class DefineConditionKeysTrait

    • Field Detail

      • ID

        public static final ShapeId ID
    • Method Detail

      • getConditionKeys

        public java.util.Map<java.lang.String,​ConditionKeyDefinition> getConditionKeys()
        Gets all condition keys of the service.
        Returns:
        Returns the immutable map of condition key name to definition.
      • getConditionKey

        public java.util.Optional<ConditionKeyDefinition> getConditionKey​(java.lang.String name)
        Get a specific condition key by name.
        Parameters:
        name - Name of the condition key to get.
        Returns:
        Returns the optionally found condition key.
      • 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.