public enum ChangeHow extends java.lang.Enum<ChangeHow>
ComponentPool
should be coordinated.Enum Constant and Description |
---|
AGAIN
An existing transaction is expected to be in progress to
add changes to.
|
EITHER
If a transaction is in progress then add changes to it, if
one isn't in progress the create a fresh one.
|
FRESH
Create a new transaction for changes to the registry.
|
MAYBE
If a transaction is in progress then add changes to it,
otherwise don't start a new one.
|
Modifier and Type | Method and Description |
---|---|
static ChangeHow |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangeHow[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeHow FRESH
public static final ChangeHow AGAIN
public static final ChangeHow EITHER
public static final ChangeHow MAYBE
public static ChangeHow[] values()
for (ChangeHow c : ChangeHow.values()) System.out.println(c);
public static ChangeHow 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