Class ProcessInstanceConfig
- java.lang.Object
-
- org.forgerock.selfservice.core.config.ProcessInstanceConfig
-
public final class ProcessInstanceConfig extends Object
Represents the configuration for an instance of the anonymous process service.- Since:
- 0.1.0
-
-
Constructor Summary
Constructors Constructor Description ProcessInstanceConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)SnapshotTokenConfiggetSnapshotTokenConfig()Gets the snapshot token type to use.List<StageConfig>getStageConfigs()Gets the list of stage configs.StorageTypegetStorageType()Gets the storage type to use.inthashCode()ProcessInstanceConfigsetSnapshotTokenConfig(SnapshotTokenConfig snapshotTokenConfig)Sets the snapshot token type to use.ProcessInstanceConfigsetStageConfigs(List<StageConfig> stageConfigs)Sets the list of stage configs.ProcessInstanceConfigsetStorageType(StorageType storageType)Sets the storage type to use.
-
-
-
Method Detail
-
setStageConfigs
public ProcessInstanceConfig setStageConfigs(List<StageConfig> stageConfigs)
Sets the list of stage configs. The order of the list is the order in which the stages will be processed.- Parameters:
stageConfigs- the list of stage configs- Returns:
- this config
-
getStageConfigs
public List<StageConfig> getStageConfigs()
Gets the list of stage configs.- Returns:
- the list of stage configs
-
setSnapshotTokenConfig
public ProcessInstanceConfig setSnapshotTokenConfig(SnapshotTokenConfig snapshotTokenConfig)
Sets the snapshot token type to use.- Parameters:
snapshotTokenConfig- the snapshot token config- Returns:
- this config
-
getSnapshotTokenConfig
public SnapshotTokenConfig getSnapshotTokenConfig()
Gets the snapshot token type to use.- Returns:
- the snapshot token type
-
setStorageType
public ProcessInstanceConfig setStorageType(StorageType storageType)
Sets the storage type to use. SeeStorageType.- Parameters:
storageType- the storage type- Returns:
- this config
-
getStorageType
public StorageType getStorageType()
Gets the storage type to use.- Returns:
- the storage type
-
-