public enum DiffType extends Enum<DiffType>
| Enum Constant and Description |
|---|
ADDED |
CONTENT_ADDED |
CONTENT_DELETED |
CONTENT_MODIFIED |
CONTENT_UNCHANGED |
DELETED |
MODIFIED |
RENAMED |
UNCHANGED |
| Modifier and Type | Method and Description |
|---|---|
static DiffType |
instanceFor(ContentDiffType contentDiffType) |
static DiffType |
instanceFor(ZipIndexDiffEntryType zipIndexDiffEntryType) |
static DiffType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiffType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiffType UNCHANGED
public static final DiffType RENAMED
public static final DiffType ADDED
public static final DiffType DELETED
public static final DiffType MODIFIED
public static final DiffType CONTENT_UNCHANGED
public static final DiffType CONTENT_MODIFIED
public static final DiffType CONTENT_ADDED
public static final DiffType CONTENT_DELETED
public static DiffType[] values()
for (DiffType c : DiffType.values()) System.out.println(c);
public static DiffType 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 nullpublic static DiffType instanceFor(ContentDiffType contentDiffType)
public static DiffType instanceFor(ZipIndexDiffEntryType zipIndexDiffEntryType)
Copyright © 2020. All rights reserved.