Class ResourceEnvIPCondition

  • All Implemented Interfaces:
    EntitlementCondition

    public class ResourceEnvIPCondition
    extends EntitlementConditionAdaptor
    This condition provides the policy framework with the condition decision and advices based on the client's environment or resource such as IP address, DNS host name, location, etc.
    • Constructor Detail

      • ResourceEnvIPCondition

        public ResourceEnvIPCondition()
        No argument constructor
      • ResourceEnvIPCondition

        public ResourceEnvIPCondition​(Debug debug)
    • Method Detail

      • setState

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

        public String getState()
        Description copied from interface: EntitlementCondition
        Returns state of the object encoded as a JSON string.
        Returns:
        state of the object encoded as a JSON string.
      • getResourceEnvIPConditionValue

        public Set<String> getResourceEnvIPConditionValue()
      • setResourceEnvIPConditionValue

        public void setResourceEnvIPConditionValue​(Set<String> resourceEnvIPConditionValue)
      • equals

        public boolean equals​(Object obj)
        Description copied from class: EntitlementConditionAdaptor
        Returns true if the passed in object is equal to this object
        Overrides:
        equals in class EntitlementConditionAdaptor
        Parameters:
        obj - object to check for equality
        Returns:
        true if the passed in object is equal to this object