public static enum NedWorker.TransactionIdMode extends Enum<NedWorker.TransactionIdMode>
Enum Constant and Description |
---|
NONE
Transaction ID is not supported
|
UNIQUE_STRING
Transaction ID should be a String
uniquely identifying each transaction
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static NedWorker.TransactionIdMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NedWorker.TransactionIdMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NedWorker.TransactionIdMode NONE
public static final NedWorker.TransactionIdMode UNIQUE_STRING
public static NedWorker.TransactionIdMode[] values()
for (NedWorker.TransactionIdMode c : NedWorker.TransactionIdMode.values()) System.out.println(c);
public static NedWorker.TransactionIdMode 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<NedWorker.TransactionIdMode>