com.sun.identity.policy
クラス PolicyDecision

java.lang.Object
  上位を拡張 com.sun.identity.policy.PolicyDecision

public class PolicyDecision
extends Object

The PolicyDecision class represents the result of a policy evaluation.


コンストラクタの概要
PolicyDecision()
          Default constructor.
 
メソッドの概要
 void addActionDecision(ActionDecision actionDecision)
          Adds an action decision to this object if there is already an existing actionDecision associated with the action name in the param actionDecision, merges the values of the new decision with the existing one, changing the time to live for the decision appropriately.
 Map getActionDecisions()
          Gets the Map of action decisions associated with this policy decision.
 String toString()
          Gets a String representation of this PolicyDecision
 String toXML()
          Gets an XML representation of this object
 

コンストラクタの詳細

PolicyDecision

public PolicyDecision()
Default constructor.

メソッドの詳細

getActionDecisions

public 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.

戻り値:
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 if there is already an existing actionDecision associated with the action name in the param actionDecision, merges the values of the new decision with the existing one, changing the time to live for the decision appropriately.

パラメータ:
actionDecision - action decision to be added

toString

public String toString()
Gets a String representation of this PolicyDecision

オーバーライド:
クラス Object 内の toString
戻り値:
a String representation of this PolicyDecision

toXML

public String toXML()
Gets an XML representation of this object

戻り値:
an XML representation of this object