Uses of Class
org.forgerock.am.trees.model.TreeState.Builder
Packages that use TreeState.Builder
Package
Description
Contains classes that represent the model of the authentication trees.
-
Uses of TreeState.Builder in org.forgerock.am.trees.model
Methods in org.forgerock.am.trees.model that return TreeState.BuilderModifier and TypeMethodDescriptionstatic TreeState.Builder
TreeState.builder()
Creates a new TreeState builder.TreeState.Builder.withCurrentNodeId
(UUID currentNodeId) Sets the current node ID.TreeState.Builder.withIdentifiedIdentity
(IdentifiedIdentity identifiedIdentity) Sets the identified identity.TreeState.Builder.withIdentifiedIdentityFrom
(TreeState previousState, Action action) Sets the identified identity from the provided action if present, or the previous tree state otherwise.TreeState.Builder.withMaxTreeDuration
(Duration maxTreeDuration) Sets the maximum duration of the tree.TreeState.Builder.withMaxTreeDurationFrom
(TreeState previousState, Action action) Sets the maximum duration of the tree from the provided action if present, or the previous tree state otherwise.TreeState.Builder.withSecureState
(JsonValue secureState) Sets the secure state.TreeState.Builder.withSessionHooks
(List<JsonValue> sessionHooks) Sets the session hooks.TreeState.Builder.withSessionHooksFrom
(TreeState previousState, Action action) Sets the session hooks from the previous state, followed by those from the provided action.TreeState.Builder.withSessionProperties
(SessionProperties sessionProperties) Sets the session properties.TreeState.Builder.withSessionPropertiesFrom
(TreeState previousState, Action action) Sets the combined session properties from the provided action and previous state.TreeState.Builder.withSharedState
(JsonValue sharedState) Sets the shared state.TreeState.Builder.withSharedStateFrom
(TreeState previousState, Action action) Sets the shared state from the provided action if present, or the previous tree state otherwise.TreeState.Builder.withTransientState
(JsonValue transientState) Sets the transient state.TreeState.Builder.withTransientStateFrom
(TreeState previousState, Action action) Sets the transient state from the provided action if present, or the previous tree state otherwise.TreeState.Builder.withUnencryptedSecureState
(JsonValue unencryptedSecureState) Sets the unencrypted secure state.TreeState.Builder.withUniversalId
(String universalId) Sets the universal ID.TreeState.Builder.withUniversalIdFrom
(TreeState previousState, Action action) Sets the universal ID from the provided action if present, or the previous tree state otherwise.TreeState.Builder.withWebhooks
(List<String> webhooks) Sets the webhooks.TreeState.Builder.withWebhooksFrom
(TreeState previousState, Action action) Sets the webhooks from the previous state, followed by those from the provided action.