public static enum JobStatus.Kind extends Enum<JobStatus.Kind>
| Enum Constant and Description | 
|---|
COMPLETED
Job is completed (final state). 
 | 
ERROR
Job is aborted (final state). 
 | 
INITIALIZED
Job is initialized (initial state). 
 | 
RUNNING
Job is submitted and running. 
 | 
WAITING
Job is submitted but is waiting for execution. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static JobStatus.Kind | 
findFromSymbol(String string)
Returns the corresponded kind about the symbol. 
 | 
String | 
getSymbol()
Returns the symbol of this kind. 
 | 
static JobStatus.Kind | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static JobStatus.Kind[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final JobStatus.Kind INITIALIZED
public static final JobStatus.Kind WAITING
public static final JobStatus.Kind RUNNING
public static final JobStatus.Kind COMPLETED
public static final JobStatus.Kind ERROR
public static JobStatus.Kind[] values()
for (JobStatus.Kind c : JobStatus.Kind.values()) System.out.println(c);
public static JobStatus.Kind 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 String getSymbol()
public static JobStatus.Kind findFromSymbol(String string)
string - target symbolnull if no such a kindIllegalArgumentException - if some parameters were nullCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.