public static enum Transaction.Type extends java.lang.Enum<Transaction.Type>
| Enum Constant and Description |
|---|
TRANSACTION_ATTACH |
TRANSACTION_CREATE |
TRANSACTION_MESSAGE |
TRANSACTION_PLUGIN_HANDLE_MESSAGE |
TRANSACTION_PLUGIN_WEBRTC_MESSAGE |
TRANSACTION_TRICKLE |
| Modifier and Type | Method and Description |
|---|---|
static Transaction.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.Type TRANSACTION_CREATE
public static final Transaction.Type TRANSACTION_ATTACH
public static final Transaction.Type TRANSACTION_MESSAGE
public static final Transaction.Type TRANSACTION_TRICKLE
public static final Transaction.Type TRANSACTION_PLUGIN_HANDLE_MESSAGE
public static final Transaction.Type TRANSACTION_PLUGIN_WEBRTC_MESSAGE
public static Transaction.Type[] values()
for (Transaction.Type c : Transaction.Type.values()) System.out.println(c);
public static Transaction.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null