Package org.openapitools.client.model
Enum HistoricProcessInstanceDto.StateEnum
- java.lang.Object
-
- java.lang.Enum<HistoricProcessInstanceDto.StateEnum>
-
- org.openapitools.client.model.HistoricProcessInstanceDto.StateEnum
-
- All Implemented Interfaces:
Serializable,Comparable<HistoricProcessInstanceDto.StateEnum>
- Enclosing class:
- HistoricProcessInstanceDto
public static enum HistoricProcessInstanceDto.StateEnum extends Enum<HistoricProcessInstanceDto.StateEnum>
Last state of the process instance, possible values are: `ACTIVE` - running process instance `SUSPENDED` - suspended process instances `COMPLETED` - completed through normal end event `EXTERNALLY_TERMINATED` - terminated externally, for instance through REST API `INTERNALLY_TERMINATED` - terminated internally, for instance by terminating boundary event
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHistoricProcessInstanceDto.StateEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVECOMPLETEDEXTERNALLY_TERMINATEDINTERNALLY_TERMINATEDSUSPENDED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HistoricProcessInstanceDto.StateEnumfromValue(String value)StringgetValue()StringtoString()static HistoricProcessInstanceDto.StateEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static HistoricProcessInstanceDto.StateEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final HistoricProcessInstanceDto.StateEnum ACTIVE
-
SUSPENDED
public static final HistoricProcessInstanceDto.StateEnum SUSPENDED
-
COMPLETED
public static final HistoricProcessInstanceDto.StateEnum COMPLETED
-
EXTERNALLY_TERMINATED
public static final HistoricProcessInstanceDto.StateEnum EXTERNALLY_TERMINATED
-
INTERNALLY_TERMINATED
public static final HistoricProcessInstanceDto.StateEnum INTERNALLY_TERMINATED
-
-
Method Detail
-
values
public static HistoricProcessInstanceDto.StateEnum[] 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 (HistoricProcessInstanceDto.StateEnum c : HistoricProcessInstanceDto.StateEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HistoricProcessInstanceDto.StateEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<HistoricProcessInstanceDto.StateEnum>
-
fromValue
public static HistoricProcessInstanceDto.StateEnum fromValue(String value)
-
-