Package org.openrefine.process
Enum Process.State
- java.lang.Object
-
- java.lang.Enum<Process.State>
-
- org.openrefine.process.Process.State
-
- All Implemented Interfaces:
Serializable
,Comparable<Process.State>
- Enclosing class:
- Process
public static enum Process.State extends Enum<Process.State>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Process.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static Process.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final Process.State PENDING
-
RUNNING
public static final Process.State RUNNING
-
DONE
public static final Process.State DONE
-
FAILED
public static final Process.State FAILED
-
PAUSED
public static final Process.State PAUSED
-
CANCELED
public static final Process.State CANCELED
-
-
Method Detail
-
values
public static Process.State[] 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 (Process.State c : Process.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Process.State 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
-
-