public static enum Revision.PreviewComparison extends java.lang.Enum<Revision.PreviewComparison>
Revision.compareTo(Revision,
PreviewComparison)| Enum Constant and Description |
|---|
COMPARE_NUMBER
Both revisions must have exactly the same preview number.
|
COMPARE_TYPE
Both revisions must have the same preview type (both must be previews or both must not be
previews, but the actual number is irrelevant.) This is the most typical choice used to
find updates of the same type.
|
IGNORE
The preview field is ignored and not used in the comparison.
|
| Modifier and Type | Method and Description |
|---|---|
static Revision.PreviewComparison |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Revision.PreviewComparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Revision.PreviewComparison COMPARE_NUMBER
public static final Revision.PreviewComparison COMPARE_TYPE
public static final Revision.PreviewComparison IGNORE
public static Revision.PreviewComparison[] values()
for (Revision.PreviewComparison c : Revision.PreviewComparison.values()) System.out.println(c);
public static Revision.PreviewComparison 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 null