public static enum Job.Status extends Enum<Job.Status>
| Enum Constant and Description | 
|---|
| AWAITING_WORKThe awaiting work. | 
| DONEThe done. | 
| FAILEDThe failed. | 
| IN_FLIGHTThe in flight. | 
| RETRIEVEDThe retrieved. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Job.Status | fromString(String id)Returns the job status that match the given id. | 
| String | getId()Gets the id. | 
| String | getName()Gets the name. | 
| static Job.Status | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Job.Status[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Job.Status AWAITING_WORK
public static final Job.Status DONE
public static final Job.Status FAILED
public static final Job.Status IN_FLIGHT
public static final Job.Status RETRIEVED
public static Job.Status[] values()
for (Job.Status c : Job.Status.values()) System.out.println(c);
public static Job.Status 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 static Job.Status fromString(String id)
id - the idpublic String getId()
public String getName()
Copyright © 2015–2016. All rights reserved.