public enum ReturnStatus extends Enum<ReturnStatus>
Enum Constant and Description |
---|
COMPLETED
Completed
|
CREATED
Created
|
IN_PROGRESS
In progress
|
NONE
Not specified
|
Modifier and Type | Method and Description |
---|---|
static ReturnStatus |
fromText(String text)
Attempt to create a ReturnStatus by text value
|
String |
getText()
Get the jet api text
|
static ReturnStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnStatus NONE
public static final ReturnStatus CREATED
public static final ReturnStatus IN_PROGRESS
public static final ReturnStatus COMPLETED
public static ReturnStatus[] values()
for (ReturnStatus c : ReturnStatus.values()) System.out.println(c);
public static ReturnStatus 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 ReturnStatus fromText(String text) throws IllegalArgumentException
text
- valueIllegalArgumentException
- if text is not foundpublic String getText()
Copyright © 2017. All rights reserved.