com.sun.identity.policy
Class PolicyDecision

java.lang.Object
  |
  +--com.sun.identity.policy.PolicyDecision

public class PolicyDecision
extends java.lang.Object

The PolicyDecision class represents the result of a policy evaluation.


Constructor Summary
PolicyDecision()
          No argument constructor
 
Method Summary
 void addActionDecision(ActionDecision actionDecision)
          Adds an action decision to this object
 java.util.Map getActionDecisions()
          Gets the Map of action decisions associated with this policy decision.
 java.lang.String toString()
          Gets a String representation of this policy decision
 java.lang.String toXML()
          Gets an XML representation of this object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PolicyDecision

public PolicyDecision()
No argument constructor
Method Detail

getActionDecisions

public java.util.Map getActionDecisions()
Gets the Map of action decisions associated with this policy decision. The action name is the key to the Map. The value for each key is an ActionDecision.
Returns:
the Map of action decisions associated with this policy decision. The action name is the key to the Map. The value for each key is an ActionDecision.

addActionDecision

public void addActionDecision(ActionDecision actionDecision)
Adds an action decision to this object
Parameters:
actionDecision - action decision to add

toString

public java.lang.String toString()
Gets a String representation of this policy decision
Overrides:
toString in class java.lang.Object
Returns:
a String representation of this policy decision

toXML

public java.lang.String toXML()
Gets an XML representation of this object
Returns:
an XML representation of this object