public static enum DiffNode.State extends Enum<DiffNode.State>
DiffNode
representing the difference between two objects.Enum Constant and Description |
---|
ADDED
The value has been added to the working object.
|
CHANGED
The value has been changed compared to the base object.
|
CIRCULAR
Special state to mark circular references
|
IGNORED
The value has not been looked at and has been ignored.
|
REMOVED
The value has been removed from the working object.
|
UNTOUCHED
The value is identical between working and base
|
Modifier and Type | Method and Description |
---|---|
static DiffNode.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiffNode.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiffNode.State ADDED
public static final DiffNode.State CHANGED
public static final DiffNode.State REMOVED
public static final DiffNode.State UNTOUCHED
public static final DiffNode.State CIRCULAR
public static final DiffNode.State IGNORED
public static DiffNode.State[] values()
for (DiffNode.State c : DiffNode.State.values()) System.out.println(c);
public static DiffNode.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2014. All rights reserved.