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.
|
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 |
PolicyDecision
public PolicyDecision()
- No argument constructor
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