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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn instance in state "migratable" can be migrated when a the corresponding template has been changed and the changes should be propagated.While an instance is in state "migrating" it is (semantically) suspended and unchangeable.Instances in state "notMigratable" may not be subject of a schema evolution. -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()valueOf(int code) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
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 nameNullPointerException- if the argument is null
-
getCode
public int getCode() -
valueOf
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 nameNullPointerException- if the argument is null
-