@Portable public enum JobStatus extends Enum<JobStatus> implements Serializable
Enum Constant and Description |
---|
ACCEPTED |
APPROVED |
BAD_REQUEST |
DENIED |
DUPLICATE_RESOURCE |
FAIL |
GONE |
RESOURCE_NOT_EXIST |
SERVER_ERROR |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static JobStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStatus GONE
public static final JobStatus ACCEPTED
public static final JobStatus APPROVED
public static final JobStatus DENIED
public static final JobStatus BAD_REQUEST
public static final JobStatus RESOURCE_NOT_EXIST
public static final JobStatus DUPLICATE_RESOURCE
public static final JobStatus SERVER_ERROR
public static final JobStatus SUCCESS
public static final JobStatus FAIL
public static JobStatus[] values()
for (JobStatus c : JobStatus.values()) System.out.println(c);
public static JobStatus 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 nullCopyright © 2012–2019 JBoss by Red Hat. All rights reserved.