Package org.forgerock.selfservice.core
Class StageResponse.Builder
java.lang.Object
org.forgerock.selfservice.core.StageResponse.Builder
- Enclosing class:
- StageResponse
Builder assists with the creation of
StageResponse instances.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a stage response instance.setRequirements(JsonValue requirements) Sets the json requirements.setStageTag(String stageTag) Sets the stage tag.
-
Method Details
-
setStageTag
Sets the stage tag.- Parameters:
stageTag- the stage tag- Returns:
- this builder
-
setRequirements
Sets the json requirements.- Parameters:
requirements- the json requirements- Returns:
- a requirements builder
-
build
Builds a stage response instance.- Returns:
- a stage response instance
-