public static enum FullRevision.PreviewComparison extends java.lang.Enum<FullRevision.PreviewComparison>
FullRevision.compareTo(FullRevision, 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 FullRevision.PreviewComparison |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FullRevision.PreviewComparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FullRevision.PreviewComparison COMPARE_NUMBER
public static final FullRevision.PreviewComparison COMPARE_TYPE
public static final FullRevision.PreviewComparison IGNORE
public static FullRevision.PreviewComparison[] values()
for (FullRevision.PreviewComparison c : FullRevision.PreviewComparison.values()) System.out.println(c);
public static FullRevision.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