public enum ActivationState extends Enum<ActivationState>
Activation state of a process.
A ProcessDefinition
can be enabled or disabled, which toggles on/off the possibility to start a new instance of the process.
Use ProcessDeploymentInfo.getActivationState()
to retrieve the activation state for a process.
ProcessDeploymentInfo.getActivationState()
Enum Constant and Description |
---|
DISABLED
The
ProcessDeploymentInfo is disabled and no instance can be started. |
ENABLED
The
ProcessDeploymentInfo is enabled and instances of the process can be started. |
Modifier and Type | Method and Description |
---|---|
static ActivationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivationState ENABLED
ProcessDeploymentInfo
is enabled and instances of the process can be started.public static final ActivationState DISABLED
ProcessDeploymentInfo
is disabled and no instance can be started.public static ActivationState[] values()
for (ActivationState c : ActivationState.values()) System.out.println(c);
public static ActivationState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 Bonitasoft S.A.. All rights reserved.