Class ProcessInstanceConfig


  • public final class ProcessInstanceConfig
    extends Object
    Represents the configuration for an instance of the anonymous process service.
    Since:
    0.1.0
    • Constructor Detail

      • ProcessInstanceConfig

        public ProcessInstanceConfig()
    • 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
      • getStorageType

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

        public int hashCode()
        Overrides:
        hashCode in class Object