|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.policy.PolicyDecision
public class PolicyDecision
The PolicyDecision
class represents the result of a policy
evaluation.
Constructor Summary | |
---|---|
PolicyDecision()
Default constructor. |
Method Summary | |
---|---|
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 |
Constructor Detail |
---|
public PolicyDecision()
Method Detail |
---|
public Map getActionDecisions()
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
.
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
.public void addActionDecision(ActionDecision actionDecision)
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 addedpublic String toString()
PolicyDecision
toString
in class Object
PolicyDecision
public String toXML()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |