C
- type that describes the stage configpublic final class ProgressStageBinding<C extends StageConfig> extends Object
Modifier and Type | Method and Description |
---|---|
StageResponse |
advance(ProcessContext context)
Advance the progress stage.
|
static <C extends StageConfig> |
bind(ProgressStage<C> stage,
C config)
Create a new binder instance.
|
JsonValue |
gatherInitialRequirements(ProcessContext context)
Response for defining any initial requirements the bound stage may have.
|
String |
getName()
Return the name of the bound stage.
|
public JsonValue gatherInitialRequirements(ProcessContext context) throws ResourceException
An empty json object implies no initial requirements.
context
- the current process contextResourceException
- if some expected state is invalidpublic StageResponse advance(ProcessContext context) throws ResourceException
context
- the current process contextResourceException
- if some expected state or input is invalidpublic String getName()
public static <C extends StageConfig> ProgressStageBinding<C> bind(ProgressStage<C> stage, C config)
C
- the stage config type shared by the progress stagestage
- the progress stageconfig
- the stage configCopyright © 2010-2018, ForgeRock All Rights Reserved.