Class AbstractDecisionNode
- java.lang.Object
-
- org.forgerock.openam.auth.node.api.AbstractDecisionNode
-
- All Implemented Interfaces:
Node
@SupportedAll public abstract class AbstractDecisionNode extends Object implements Node
An abstract node implementation for nodes that result in a simple true-false outcome.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractDecisionNode.OutcomeProvider
Provides a static set of outcomes for decision nodes.-
Nested classes/interfaces inherited from interface org.forgerock.openam.auth.node.api.Node
Node.Metadata
-
-
Field Summary
Fields Modifier and Type Field Description static String
FALSE_OUTCOME_ID
false tree outcome.static String
TRUE_OUTCOME_ID
true tree outcome.
-
Constructor Summary
Constructors Constructor Description AbstractDecisionNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Action.ActionBuilder
goTo(boolean outcome)
Move on to the next node in the tree that is connected to the given outcome.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.forgerock.openam.auth.node.api.Node
getAuditEntryDetail, getInputs, getOutputs, process
-
-
-
-
Field Detail
-
TRUE_OUTCOME_ID
public static final String TRUE_OUTCOME_ID
true tree outcome.- See Also:
- Constant Field Values
-
FALSE_OUTCOME_ID
public static final String FALSE_OUTCOME_ID
false tree outcome.- See Also:
- Constant Field Values
-
-
Method Detail
-
goTo
protected Action.ActionBuilder goTo(boolean outcome)
Move on to the next node in the tree that is connected to the given outcome.- Parameters:
outcome
- the outcome.- Returns:
- an action builder to provide additional details.
-
-