Package org.syncany.database
Enum FileVersionComparator.FileChange
- java.lang.Object
-
- java.lang.Enum<FileVersionComparator.FileChange>
-
- org.syncany.database.FileVersionComparator.FileChange
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FileVersionComparator.FileChange>
- Enclosing class:
- FileVersionComparator
public static enum FileVersionComparator.FileChange extends java.lang.Enum<FileVersionComparator.FileChange>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGED_ATTRIBUTES
CHANGED_CHECKSUM
CHANGED_LAST_MOD_DATE
CHANGED_LINK_TARGET
CHANGED_PATH
CHANGED_SIZE
DELETED
NEW
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileVersionComparator.FileChange
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FileVersionComparator.FileChange[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW
public static final FileVersionComparator.FileChange NEW
-
CHANGED_CHECKSUM
public static final FileVersionComparator.FileChange CHANGED_CHECKSUM
-
CHANGED_ATTRIBUTES
public static final FileVersionComparator.FileChange CHANGED_ATTRIBUTES
-
CHANGED_LAST_MOD_DATE
public static final FileVersionComparator.FileChange CHANGED_LAST_MOD_DATE
-
CHANGED_LINK_TARGET
public static final FileVersionComparator.FileChange CHANGED_LINK_TARGET
-
CHANGED_SIZE
public static final FileVersionComparator.FileChange CHANGED_SIZE
-
CHANGED_PATH
public static final FileVersionComparator.FileChange CHANGED_PATH
-
DELETED
public static final FileVersionComparator.FileChange DELETED
-
-
Method Detail
-
values
public static FileVersionComparator.FileChange[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FileVersionComparator.FileChange c : FileVersionComparator.FileChange.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileVersionComparator.FileChange valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-