Enum ComputationStatus.Status
- java.lang.Object
-
- java.lang.Enum<ComputationStatus.Status>
-
- org.gcube.data.analysis.dataminermanagercl.shared.process.ComputationStatus.Status
-
- All Implemented Interfaces:
Serializable,Comparable<ComputationStatus.Status>
- Enclosing class:
- ComputationStatus
public static enum ComputationStatus.Status extends Enum<ComputationStatus.Status>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComputationStatus.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ComputationStatus.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPTED
public static final ComputationStatus.Status ACCEPTED
-
RUNNING
public static final ComputationStatus.Status RUNNING
-
COMPLETE
public static final ComputationStatus.Status COMPLETE
-
FAILED
public static final ComputationStatus.Status FAILED
-
CANCELLED
public static final ComputationStatus.Status CANCELLED
-
-
Method Detail
-
values
public static ComputationStatus.Status[] 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 (ComputationStatus.Status c : ComputationStatus.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComputationStatus.Status 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
-
-