|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ChangeHow>
org.oddjob.arooa.registry.ChangeHow
public enum ChangeHow
How changes to the ComponentPool
should be coordinated.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
static ChangeHow |
valueOf(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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ChangeHow FRESH
public static final ChangeHow AGAIN
public static final ChangeHow EITHER
public static final ChangeHow MAYBE
Method Detail |
---|
public static ChangeHow[] values()
for (ChangeHow c : ChangeHow.values()) System.out.println(c);
public static ChangeHow valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |