Enum VcsStatus
- java.lang.Object
-
- java.lang.Enum<VcsStatus>
-
- org.apache.commons.vfs2.operations.vcs.VcsStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDED
CONFLICTED
COPIED
CORRUPTED
DELETED
EXTERNAL
IGNORED
MERGED
MISSING
MODIFIED
MOVED
NOT_MODIFIED
NOT_REVERTED
OBSTRUCTED
REPLACED
RESOLVED
RESTORED
REVERTED
UNKNOWN
UNVERSIONED
UPDATED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStatus()
static VcsStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VcsStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_MODIFIED
public static final VcsStatus NOT_MODIFIED
-
CONFLICTED
public static final VcsStatus CONFLICTED
-
UNVERSIONED
public static final VcsStatus UNVERSIONED
-
OBSTRUCTED
public static final VcsStatus OBSTRUCTED
-
NOT_REVERTED
public static final VcsStatus NOT_REVERTED
-
-
Method Detail
-
values
public static VcsStatus[] 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 (VcsStatus c : VcsStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VcsStatus 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
-
getStatus
public int getStatus()
- Returns:
- the status of FileObject
-
-