Interface EntitlementCondition


  • @SupportedAll
    public interface EntitlementCondition
    Encapsulates a Strategy to decide if a Privilege applies to a given request.
    • Method Detail

      • setDisplayType

        void setDisplayType​(String displayType)
        Sets display type.
        Parameters:
        displayType - Display Type.
      • getDisplayType

        String getDisplayType()
        Returns display type.
        Returns:
        Display Type.
      • init

        void init​(Map<String,​Set<String>> parameters)
        Initializes the condition object.
        Parameters:
        parameters - Parameters for initializing the condition.
      • setState

        void setState​(String state)
        Sets state of this object from a JSON string.
        Parameters:
        state - State of the object encoded as a JSON string
      • getState

        String getState()
        Returns state of the object encoded as a JSON string.
        Returns:
        state of the object encoded as a JSON string.