public enum ChangeType extends Enum<ChangeType>
| Enum Constant and Description |
|---|
ADDED
Path is being created/introduced by this patch.
|
COPIED
Path was copied from source.
|
DELETED
Path existed, but is being removed by this patch.
|
MODIFIED
Path already exists, and has updated content.
|
RENAMED
Path existed but was moved.
|
REWRITE
Sufficient amount of content changed to claim the file was rewritten.
|
| Modifier and Type | Method and Description |
|---|---|
static ChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeType ADDED
public static final ChangeType MODIFIED
public static final ChangeType DELETED
public static final ChangeType RENAMED
public static final ChangeType COPIED
public static final ChangeType REWRITE
public static ChangeType[] values()
for (ChangeType c : ChangeType.values()) System.out.println(c);
public static ChangeType 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 © 2018. All rights reserved.