Enum ProcessConstants.InstanceMigrationStatus
- java.lang.Object
-
- java.lang.Enum<ProcessConstants.InstanceMigrationStatus>
-
- de.aristaflow.adept2.model.globals.ProcessConstants.InstanceMigrationStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ProcessConstants.InstanceMigrationStatus>
- 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 Summary
Enum Constants Enum Constant Description 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.IM_NOT_MIGRATABLE
Instances in state "notMigratable" may not be subject of a schema evolution.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
static ProcessConstants.InstanceMigrationStatus
valueOf(int code)
Returns the enum constant of this type with the specified name.static ProcessConstants.InstanceMigrationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProcessConstants.InstanceMigrationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static ProcessConstants.InstanceMigrationStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProcessConstants.InstanceMigrationStatus c : ProcessConstants.InstanceMigrationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessConstants.InstanceMigrationStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode()
-
valueOf
public static ProcessConstants.InstanceMigrationStatus valueOf(int code)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-