public enum ChangeType extends java.lang.Enum<ChangeType>
Enum Constant and Description |
---|
ADD
Indicates that something has been added
|
MODIFY
Indicates that something has been modified
|
REMOVE
Indicates that something has been removed
|
Modifier and Type | Method and Description |
---|---|
static void |
forEach(java.util.function.Consumer<ChangeType> body) |
static ChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final ChangeType ADD
public static final ChangeType MODIFY
public static final ChangeType REMOVE
public static void forEach(java.util.function.Consumer<ChangeType> body)
public static ChangeType 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 nullpublic static ChangeType[] values()
for (ChangeType c : ChangeType.values()) System.out.println(c);