Package cdc.enums
Enum DagEventType
- java.lang.Object
-
- java.lang.Enum<DagEventType>
-
- cdc.enums.DagEventType
-
- All Implemented Interfaces:
Serializable,Comparable<DagEventType>
public enum DagEventType extends Enum<DagEventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_CHANGEDAn item had its content changed.CREATEDAn item was created.GLOBALGlobal changes (creation, removal, ...) happened.LOCKEDThe underlying container was locked.REMOVEDAn item was removed.REPARENTEDAn item has its relationships changed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DagEventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DagEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final DagEventType CREATED
An item was created.
-
REMOVED
public static final DagEventType REMOVED
An item was removed.
-
CONTENT_CHANGED
public static final DagEventType CONTENT_CHANGED
An item had its content changed.
-
REPARENTED
public static final DagEventType REPARENTED
An item has its relationships changed.
-
GLOBAL
public static final DagEventType GLOBAL
Global changes (creation, removal, ...) happened.
-
LOCKED
public static final DagEventType LOCKED
The underlying container was locked.
-
-
Method Detail
-
values
public static DagEventType[] 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 (DagEventType c : DagEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DagEventType 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
-
-