Class SubjectDecision

java.lang.Object
com.sun.identity.entitlement.SubjectDecision

@SupportedAll public class SubjectDecision extends Object
Class to represent EntitlementSubject evaluation match result and - if applicable - its advices.
  • Constructor Details

    • SubjectDecision

      public SubjectDecision(boolean satisfied, Map<String,Set<String>> advices)
      Constructs an instance of SubjectDecision.
      Parameters:
      satisfied - Result of this SubjectDecision.
      advices - advice map of this SubjectDecision.
  • Method Details

    • isSatisfied

      public boolean isSatisfied()
      Whether this SubjectDecision is satisfied.
      Returns:
      true if SubjectDecision is fulfilled.
    • getAdvices

      public Map<String,Set<String>> getAdvices()
      Advices associated with this SubjectDecision.
      Returns:
      advices of ConditionDecision.