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