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
 Mapof 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  Mapof action decisions associated 
 with this policy decision. The 
 action name is the key to the Map. The value for each key is anActionDecision.
- 
- Returns:
- the  Mapof action decisions associated 
          with this policy decision. The 
          action name is the key to the Map. The value for each key is anActionDecision.
 
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:
- toStringin 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
 
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.