@Deprecated public class ConditionDecision extends Object
ConditionDecision
class represents the result of
the evaluation of a condition.Constructor and Description |
---|
ConditionDecision()
Deprecated.
No argument constructor
|
ConditionDecision(boolean allowed)
Deprecated.
Constructs
ConditionDecision given the boolean result of
a condition evaluation |
ConditionDecision(boolean allowed,
long timeToLive)
Deprecated.
Constructs
ConditionDecision given the boolean result of
a condition evaluation and time to live |
ConditionDecision(boolean allowed,
long timeToLive,
Map advices)
Deprecated.
Constructs
ConditionDecision given the boolean result of
a condition evaluation, time to live and advices |
ConditionDecision(boolean allowed,
Map advices)
Deprecated.
Constructs
ConditionDecision given the boolean result of
a condition evaluation and advices |
Modifier and Type | Method and Description |
---|---|
Map |
getAdvices()
Deprecated.
Gets advices associated with this object
|
long |
getTimeToLive()
Deprecated.
Gets
timeToLive associated with this object |
boolean |
isAllowed()
Deprecated.
Gets boolean result of condition evaluation
|
void |
setAdvices(Map advices)
Deprecated.
Sets advices associated with this object
|
void |
setAllowed(boolean allowed)
Deprecated.
Sets boolean result of condition evaluation
|
void |
setTimeToLive(long timeToLive)
Deprecated.
Sets
timeToLive associated with this object |
public ConditionDecision()
public ConditionDecision(boolean allowed)
ConditionDecision
given the boolean result of
a condition evaluationallowed
- boolean result of a condition evaluationpublic ConditionDecision(boolean allowed, Map advices)
ConditionDecision
given the boolean result of
a condition evaluation and advicesallowed
- boolean result of a condition evaluationadvices
- A Map
representing advices associated with
this ConditionDecision
.
The advice name is the key to the Map. The
value is a Set
of advice message Strings corresponding
to the advice name.
The advice name examples are
SessionCondition.SESSION_CONDITION_ADVICE
AuthSchemeCondition.AUTH_SCHEME_CONDITION_ADVICEpublic 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 to be treated as expired.public ConditionDecision(boolean allowed, long timeToLive, 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 to be 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.
The advice name examples are
SessionCondition.SESSION_CONDITION_ADVICE
AuthSchemeCondition.AUTH_SCHEME_CONDITION_ADVICEpublic void setAllowed(boolean allowed)
allowed
- boolean result of condition evaluationpublic boolean isAllowed()
public void setAdvices(Map advices)
advices
- A Map
representing 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.
The advice name examples are
SessionCondition.SESSION_CONDITION_ADVICE
AuthSchemeCondition.AUTH_SCHEME_CONDITION_ADVICEpublic Map getAdvices()
Map
. The
value is a Set
of advice message Strings corresponding
to the advice name.public void setTimeToLive(long timeToLive)
timeToLive
associated with this objecttimeToLive
- GMT time in milliseconds since epoch when
this object is to be treated as expired.public long getTimeToLive()
timeToLive
associated with this objectCopyright © 2010-2018, ForgeRock All Rights Reserved.