public enum ProcessStatus extends Enum<ProcessStatus>
Enum Constant and Description |
---|
FINISHED
The process has been finished
|
PENDING
The process is scheduled, but haven't run yet
|
RUNNING
The process is running now
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ProcessStatus |
valueOf(int value) |
static ProcessStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessStatus PENDING
public static final ProcessStatus RUNNING
public static final ProcessStatus FINISHED
public static ProcessStatus[] values()
for (ProcessStatus c : ProcessStatus.values()) System.out.println(c);
public static ProcessStatus 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 nullpublic int getValue()
public static ProcessStatus valueOf(int value)
Copyright © 2024 Tempo Software. All Rights Reserved.