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
Added.CONFLICTED
Conflicted.COPIED
Copied.CORRUPTED
Corrupted.DELETED
Deleted.EXTERNAL
External.IGNORED
Ignored.MERGED
Merged.MISSING
Missing.MODIFIED
Modified.MOVED
Moved.NOT_MODIFIED
Not modified.NOT_REVERTED
Not reverted.OBSTRUCTED
Obstructed.REPLACED
Replaced.RESOLVED
Resolved.RESTORED
Restored.REVERTED
Reverted.UNKNOWN
Unknown.UNVERSIONED
Unversioned.UPDATED
Updated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStatus()
Gets the status.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
Not modified.
-
CONFLICTED
public static final VcsStatus CONFLICTED
Conflicted.
-
UNVERSIONED
public static final VcsStatus UNVERSIONED
Unversioned.
-
OBSTRUCTED
public static final VcsStatus OBSTRUCTED
Obstructed.
-
NOT_REVERTED
public static final VcsStatus NOT_REVERTED
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()
Gets the status.- Returns:
- the status of FileObject
-
-