public interface ProcessContext
Modifier and Type | Method and Description |
---|---|
boolean |
containsState(String jsonPointer)
Determines whether state defined by the json pointer exists.
|
JsonValue |
getInput()
Gets the input provided by the client.
|
Request |
getRequest()
Gets the original request.
|
Context |
getRequestContext()
Gets the request context.
|
String |
getStageTag()
Gets the current stage tag defined by the previously invoked stage.
|
JsonValue |
getState(String jsonPointer)
Allows retrieval of state persisted throughout the flow.
|
void |
putState(String jsonPointer,
Object value)
Puts a value into the state referenced by the json pointer.
|
void |
putSuccessAddition(String jsonPointer,
Object value)
Puts a value into the additions referenced by the json pointer.
|
Context getRequestContext()
Request getRequest()
String getStageTag()
JsonValue getInput()
boolean containsState(String jsonPointer)
jsonPointer
- json pointer to the stateJsonValue getState(String jsonPointer)
jsonPointer
- json pointer to the statevoid putState(String jsonPointer, Object value)
jsonPointer
- json pointer to where the state should be addedvalue
- the value to be addedvoid putSuccessAddition(String jsonPointer, Object value)
Additions are included in the response of successfully completing a flow.
jsonPointer
- json point to additions valuevalue
- the corresponding valueCopyright © 2010-2018, ForgeRock All Rights Reserved.