public static enum Task.Status extends Enum<Task.Status>
Enum Constant and Description |
---|
ASSIGNED |
CANCELED |
COMPLETED |
PENDING |
RESERVED |
WRAPPING |
Modifier and Type | Method and Description |
---|---|
static Task.Status |
forValue(String value)
Generate a Status from a string.
|
String |
toString() |
static Task.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Task.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.Status PENDING
public static final Task.Status RESERVED
public static final Task.Status ASSIGNED
public static final Task.Status CANCELED
public static final Task.Status COMPLETED
public static final Task.Status WRAPPING
public static Task.Status[] values()
for (Task.Status c : Task.Status.values()) System.out.println(c);
public static Task.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 String toString()
toString
in class Enum<Task.Status>
public static Task.Status forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.