public final class Action extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Action.ActionBuilder
Builder for the
Action . |
Modifier and Type | Field and Description |
---|---|
List<Callback> |
callbacks
Callbacks requested by the node when the outcome is null.
|
String |
outcome
Result of the node.
|
List<org.forgerock.json.JsonValue> |
sessionHooks
List of classes implementing
TreeHook that run after successful login. |
Map<String,String> |
sessionProperties
Properties that will be included in the user's session if/when it is created.
|
org.forgerock.json.JsonValue |
sharedState
The output state of the node.
|
org.forgerock.json.JsonValue |
transientState
The transient state of the node.
|
List<String> |
webhooks
List of webhooks that run after logout.
|
Modifier and Type | Method and Description |
---|---|
static Action.ActionBuilder |
goTo(String outcome)
Move on to the next node in the tree that is connected to the given outcome.
|
static Action.ActionBuilder |
send(Callback... callbacks)
Send the given callbacks to the user for them to interact with.
|
static Action.ActionBuilder |
send(List<? extends Callback> callbacks)
Send the given callbacks to the user for them to interact with.
|
boolean |
sendingCallbacks()
Returns true if the action is a request for input.
|
public final org.forgerock.json.JsonValue sharedState
public final org.forgerock.json.JsonValue transientState
public final String outcome
public final List<Callback> callbacks
public final Map<String,String> sessionProperties
public final List<org.forgerock.json.JsonValue> sessionHooks
TreeHook
that run after successful login.public static Action.ActionBuilder goTo(String outcome)
outcome
- the outcome.public static Action.ActionBuilder send(List<? extends Callback> callbacks)
callbacks
- a non-empty list of callbacks.public static Action.ActionBuilder send(Callback... callbacks)
callbacks
- a non-empty list of callbacks.public boolean sendingCallbacks()
Copyright © 2010-2017, ForgeRock All Rights Reserved.