public enum TransactionOptions extends Enum<TransactionOptions>
| Modifier and Type | Method and Description |
|---|---|
String |
action() |
static TransactionOptions |
fromKey(String k) |
String |
key() |
static TransactionOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionOptions START
public static final TransactionOptions COMMIT
public static final TransactionOptions ROLLBACK
public static TransactionOptions[] values()
for (TransactionOptions c : TransactionOptions.values()) System.out.println(c);
public static TransactionOptions 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 key()
public String action()
public static TransactionOptions fromKey(String k)
Copyright © 2026 MuleSoft, Inc.. All rights reserved.