Package org.syncany.database
Enum FileVersion.FileStatus
- java.lang.Object
-
- java.lang.Enum<FileVersion.FileStatus>
-
- org.syncany.database.FileVersion.FileStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FileVersion.FileStatus>
- Enclosing class:
- FileVersion
public static enum FileVersion.FileStatus extends java.lang.Enum<FileVersion.FileStatus>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equalsName(java.lang.String otherName)
java.lang.String
toString()
static FileVersion.FileStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FileVersion.FileStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW
public static final FileVersion.FileStatus NEW
-
CHANGED
public static final FileVersion.FileStatus CHANGED
-
RENAMED
public static final FileVersion.FileStatus RENAMED
-
DELETED
public static final FileVersion.FileStatus DELETED
-
-
Method Detail
-
values
public static FileVersion.FileStatus[] 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 (FileVersion.FileStatus c : FileVersion.FileStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileVersion.FileStatus 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
-
equalsName
public boolean equalsName(java.lang.String otherName)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<FileVersion.FileStatus>
-
-