Enum DomainProcessInfo.ProcessStatus
- java.lang.Object
-
- java.lang.Enum<DomainProcessInfo.ProcessStatus>
-
- org.tkit.rhpam.quarkus.processlog.domain.models.DomainProcessInfo.ProcessStatus
-
- All Implemented Interfaces:
Serializable,Comparable<DomainProcessInfo.ProcessStatus>
- Enclosing class:
- DomainProcessInfo
public static enum DomainProcessInfo.ProcessStatus extends Enum<DomainProcessInfo.ProcessStatus>
The enum Process status.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DomainProcessInfo.ProcessStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static DomainProcessInfo.ProcessStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final DomainProcessInfo.ProcessStatus PENDING
Pending process status.
-
RUNNING
public static final DomainProcessInfo.ProcessStatus RUNNING
Running process status.
-
COMPLETED
public static final DomainProcessInfo.ProcessStatus COMPLETED
Completed process status.
-
ERROR
public static final DomainProcessInfo.ProcessStatus ERROR
Error process status.
-
-
Method Detail
-
values
public static DomainProcessInfo.ProcessStatus[] 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 (DomainProcessInfo.ProcessStatus c : DomainProcessInfo.ProcessStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DomainProcessInfo.ProcessStatus 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
-
-