|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.identity.policy.ConditionDecision
The ConditionDecision
class represents the result of
the evaluation of a condition.
Constructor Summary | |
ConditionDecision()
No argument constructor |
|
ConditionDecision(boolean allowed)
Constructs ConditionDecision given the boolean result of
a condition evaluation |
|
ConditionDecision(boolean allowed,
long timeToLive)
Constructs ConditionDecision given the boolean result of
a condition evaluation and time to live |
|
ConditionDecision(boolean allowed,
long timeToLive,
java.util.Map advices)
Constructs ConditionDecision given the boolean result of
a condition evaluation, time to live and advices |
|
ConditionDecision(boolean allowed,
java.util.Map advices)
Constructs ConditionDecision given the boolean result of
a condition evaluation and advices |
Method Summary | |
java.util.Map |
getAdvices()
Gets advices associated with this object |
long |
getTimeToLive()
Sets advices associated with this object |
boolean |
isAllowed()
Gets boolean result of condition evaluation |
void |
setAdvices(java.util.Map advices)
Sets advices associated with this object |
void |
setAllowed(boolean allowed)
Sets boolean result of condition evaluation |
void |
setTimeToLive(long timeToLive)
Sets advices associated with this object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConditionDecision()
public ConditionDecision(boolean allowed)
ConditionDecision
given the boolean result of
a condition evaluationallowed
- boolean result of a condition evaluationpublic ConditionDecision(boolean allowed, java.util.Map advices)
ConditionDecision
given the boolean result of
a condition evaluation and advicesallowed
- boolean result of a condition evaluationadvices
- advices associated with this action decision.
The advice name is the key to the Map. The
value is a set of advice message Strings corresponding to the
advice name.public ConditionDecision(boolean allowed, long timeToLive)
ConditionDecision
given the boolean result of
a condition evaluation and time to liveallowed
- boolean result of a condition evaluationtimeToLive
- GMT time in milliseconds since epoch when
this object is tobe treated as expired.public ConditionDecision(boolean allowed, long timeToLive, java.util.Map advices)
ConditionDecision
given the boolean result of
a condition evaluation, time to live and advicesallowed
- boolean result of a condition evaluationtimeToLive
- GMT time in milliseconds since epoch when
this object is tobe treated as expired.advices
- advices associated with this action decision.
The advice name is the key to the Map. The
value is a set of advice message Strings corresponding to the
advice name.Method Detail |
public void setAllowed(boolean allowed)
allowed
- boolean result of condition evaluationpublic boolean isAllowed()
public void setAdvices(java.util.Map advices)
advices
- advices associated with this object.
The advice name is the key to the Map. The
value is a set of advice message Strings corresponding to the
advice name.public java.util.Map getAdvices()
public void setTimeToLive(long timeToLive)
timeToLive
- GMT time in milliseconds since epoch when
this object is tobe treated as expired.public long getTimeToLive()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |