Package org.cytoscape.jobs
Enum CyJobStatus.Status
- java.lang.Object
-
- java.lang.Enum<CyJobStatus.Status>
-
- org.cytoscape.jobs.CyJobStatus.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<CyJobStatus.Status>
- Enclosing class:
- CyJobStatus
public static enum CyJobStatus.Status extends Enum<CyJobStatus.Status>
This enum contains the primary status returned from the remote execution.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
static CyJobStatus.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static CyJobStatus.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCELED
public static final CyJobStatus.Status CANCELED
-
ERROR
public static final CyJobStatus.Status ERROR
-
FAILED
public static final CyJobStatus.Status FAILED
-
FINISHED
public static final CyJobStatus.Status FINISHED
-
PURGED
public static final CyJobStatus.Status PURGED
-
RUNNING
public static final CyJobStatus.Status RUNNING
-
QUEUED
public static final CyJobStatus.Status QUEUED
-
SUBMITTED
public static final CyJobStatus.Status SUBMITTED
-
TERMINATED
public static final CyJobStatus.Status TERMINATED
-
UNKNOWN
public static final CyJobStatus.Status UNKNOWN
-
-
Method Detail
-
values
public static CyJobStatus.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 (CyJobStatus.Status c : CyJobStatus.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 CyJobStatus.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
-
getName
public String getName()
-
-