Enum UpdateManager.InstanceProperties
- java.lang.Object
-
- java.lang.Enum<UpdateManager.InstanceProperties>
-
- de.aristaflow.adept2.core.updatemanager.UpdateManager.InstanceProperties
-
- All Implemented Interfaces:
Serializable
,Comparable<UpdateManager.InstanceProperties>
- Enclosing interface:
- UpdateManager
public static enum UpdateManager.InstanceProperties extends Enum<UpdateManager.InstanceProperties>
These constants are needed with subprocesses to signal the activation or termination of a subprocess instance.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE_ACTIVATED
Constant used for events to signal that an instance has been activated.INSTANCE_FAILED
Constant used for events to signal that an instance has failed.INSTANCE_FINISHED
Constant used for events to signal that an instance has been finished.INSTANCE_RESUMED
Constant used for events to signal that an instance has been resumedINSTANCE_SUSPENDED
Constant used for events to signal that an instance has been suspended
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UpdateManager.InstanceProperties
valueOf(String name)
Returns the enum constant of this type with the specified name.static UpdateManager.InstanceProperties[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE_ACTIVATED
public static final UpdateManager.InstanceProperties INSTANCE_ACTIVATED
Constant used for events to signal that an instance has been activated.
-
INSTANCE_SUSPENDED
public static final UpdateManager.InstanceProperties INSTANCE_SUSPENDED
Constant used for events to signal that an instance has been suspended
-
INSTANCE_RESUMED
public static final UpdateManager.InstanceProperties INSTANCE_RESUMED
Constant used for events to signal that an instance has been resumed
-
INSTANCE_FINISHED
public static final UpdateManager.InstanceProperties INSTANCE_FINISHED
Constant used for events to signal that an instance has been finished.
-
INSTANCE_FAILED
public static final UpdateManager.InstanceProperties INSTANCE_FAILED
Constant used for events to signal that an instance has failed.
-
-
Method Detail
-
values
public static UpdateManager.InstanceProperties[] 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 (UpdateManager.InstanceProperties c : UpdateManager.InstanceProperties.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateManager.InstanceProperties 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
-
-