public static enum EntryVersion.CompareResult extends Enum<EntryVersion.CompareResult>
Enum Constant and Description |
---|
AFTER
Denotes a version that was created temporally after another version.
|
BEFORE
Denotes a version that was created temporally before another version.
|
CONFLICTING
Denotes a version that was created at the same time as another version, but is not equal.
|
EQUAL
Denotes that the two versions being compared are equal.
|
Modifier and Type | Method and Description |
---|---|
static EntryVersion.CompareResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntryVersion.CompareResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntryVersion.CompareResult BEFORE
public static final EntryVersion.CompareResult AFTER
public static final EntryVersion.CompareResult EQUAL
public static final EntryVersion.CompareResult CONFLICTING
public static EntryVersion.CompareResult[] values()
for (EntryVersion.CompareResult c : EntryVersion.CompareResult.values()) System.out.println(c);
public static EntryVersion.CompareResult 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 © 2017 JBoss, a division of Red Hat. All rights reserved.