Enum Class ProcessConstants.InstanceMigrationStatus

java.lang.Object
java.lang.Enum<ProcessConstants.InstanceMigrationStatus>
de.aristaflow.adept2.model.globals.ProcessConstants.InstanceMigrationStatus
All Implemented Interfaces:
Serializable, Comparable<ProcessConstants.InstanceMigrationStatus>, java.lang.constant.Constable
Enclosing class:
ProcessConstants

public static enum ProcessConstants.InstanceMigrationStatus extends Enum<ProcessConstants.InstanceMigrationStatus>
The migration status of an instance. For further information about valid status changes, please refer to the instance state chart.
Author:
Kevin Goeser
  • Enum Constant Details

    • IM_MIGRATABLE

      public static final ProcessConstants.InstanceMigrationStatus IM_MIGRATABLE
      An instance in state "migratable" can be migrated when a the corresponding template has been changed and the changes should be propagated.
    • IM_MIGRATING

      public static final ProcessConstants.InstanceMigrationStatus IM_MIGRATING
      While an instance is in state "migrating" it is (semantically) suspended and unchangeable. If any instance-specific modifications or a schema evolution are taking place they will be cancelled.
    • IM_NOT_MIGRATABLE

      public static final ProcessConstants.InstanceMigrationStatus IM_NOT_MIGRATABLE
      Instances in state "notMigratable" may not be subject of a schema evolution. This state has no dependencies on instance-specific changes (cf. "changeable").
  • Method Details

    • values

      public static ProcessConstants.InstanceMigrationStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProcessConstants.InstanceMigrationStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • valueOf

      public static ProcessConstants.InstanceMigrationStatus valueOf(int code)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      code - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null