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 Details

    • ProcessInstanceConfig

      public ProcessInstanceConfig()
  • Method Details

    • 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. See StorageType.
      Parameters:
      storageType - the storage type
      Returns:
      this config
    • getStorageType

      public StorageType getStorageType()
      Gets the storage type to use.
      Returns:
      the storage type
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object