Enum ObserverBaseTest.ObserverExecutionType
- java.lang.Object
-
- java.lang.Enum<ObserverBaseTest.ObserverExecutionType>
-
- org.openbravo.client.application.test.event.ObserverBaseTest.ObserverExecutionType
-
- All Implemented Interfaces:
Serializable
,Comparable<ObserverBaseTest.ObserverExecutionType>
- Enclosing class:
- ObserverBaseTest
protected static enum ObserverBaseTest.ObserverExecutionType extends Enum<ObserverBaseTest.ObserverExecutionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNT_LINES
CREATE_NOTE
OFF
ON_NOOP
UPDATE_DESCRIPTION
UPDATE_PARENT
UPDATE_PARENT_RANDOM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObserverBaseTest.ObserverExecutionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ObserverBaseTest.ObserverExecutionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final ObserverBaseTest.ObserverExecutionType OFF
-
UPDATE_DESCRIPTION
public static final ObserverBaseTest.ObserverExecutionType UPDATE_DESCRIPTION
-
CREATE_NOTE
public static final ObserverBaseTest.ObserverExecutionType CREATE_NOTE
-
COUNT_LINES
public static final ObserverBaseTest.ObserverExecutionType COUNT_LINES
-
UPDATE_PARENT
public static final ObserverBaseTest.ObserverExecutionType UPDATE_PARENT
-
UPDATE_PARENT_RANDOM
public static final ObserverBaseTest.ObserverExecutionType UPDATE_PARENT_RANDOM
-
ON_NOOP
public static final ObserverBaseTest.ObserverExecutionType ON_NOOP
-
-
Method Detail
-
values
public static ObserverBaseTest.ObserverExecutionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ObserverBaseTest.ObserverExecutionType c : ObserverBaseTest.ObserverExecutionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObserverBaseTest.ObserverExecutionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-