public static enum VcsChangeInfo.Type extends java.lang.Enum<VcsChangeInfo.Type>
Enum Constant and Description |
---|
ADDED
File added
|
CHANGED
File name, properties or content changed
|
DIRECTORY_ADDED |
DIRECTORY_CHANGED |
DIRECTORY_COPIED
This type should be used when a directory was replaced or added with multiple subdirectories, and when these subdirectories are not reported separately in the change.
|
DIRECTORY_REMOVED |
NOT_CHANGED |
REMOVED
File removed
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns string representation of the change type.
|
boolean |
isAdded()
Returns true if the file type is 'added'.
|
boolean |
isDirectory() |
boolean |
isRemoved()
Returns true if the file type is 'removed'.
|
static VcsChangeInfo.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VcsChangeInfo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VcsChangeInfo.Type CHANGED
public static final VcsChangeInfo.Type ADDED
public static final VcsChangeInfo.Type REMOVED
public static final VcsChangeInfo.Type DIRECTORY_CHANGED
public static final VcsChangeInfo.Type DIRECTORY_ADDED
public static final VcsChangeInfo.Type DIRECTORY_REMOVED
public static final VcsChangeInfo.Type DIRECTORY_COPIED
public static final VcsChangeInfo.Type NOT_CHANGED
public static VcsChangeInfo.Type[] values()
for (VcsChangeInfo.Type c : VcsChangeInfo.Type.values()) System.out.println(c);
public static VcsChangeInfo.Type 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 nullpublic java.lang.String getDescription()
public boolean isDirectory()
public boolean isAdded()
public boolean isRemoved()