Package com.sgs.common.database
Enum Job.JobStatus
- java.lang.Object
-
- java.lang.Enum<Job.JobStatus>
-
- com.sgs.common.database.Job.JobStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Job.JobStatus>
- Enclosing class:
- Job
public static enum Job.JobStatus extends java.lang.Enum<Job.JobStatus>
The status of a Job or JobLine. The part of the process of production at which it currently resides.- Author:
- SGSystems
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AWAITINGINITIALIZE
COMPLETE
DELETED
HOLD
IN_PROGRESS
PENDING
SCHEDULED
TESTING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getInt()
static Job.JobStatus
parse(int i)
java.lang.String
toString()
static Job.JobStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Job.JobStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELETED
public static final Job.JobStatus DELETED
-
PENDING
public static final Job.JobStatus PENDING
-
SCHEDULED
public static final Job.JobStatus SCHEDULED
-
IN_PROGRESS
public static final Job.JobStatus IN_PROGRESS
-
COMPLETE
public static final Job.JobStatus COMPLETE
-
TESTING
public static final Job.JobStatus TESTING
-
HOLD
public static final Job.JobStatus HOLD
-
AWAITINGINITIALIZE
public static final Job.JobStatus AWAITINGINITIALIZE
-
-
Method Detail
-
values
public static Job.JobStatus[] 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 (Job.JobStatus c : Job.JobStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Job.JobStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
parse
public static Job.JobStatus parse(int i)
-
getInt
public int getInt()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Job.JobStatus>
-
-