org.apache.commons.vfs2.operations.vcs
Enum VcsStatus
java.lang.Object
java.lang.Enum<VcsStatus>
org.apache.commons.vfs2.operations.vcs.VcsStatus
- All Implemented Interfaces:
- Serializable, Comparable<VcsStatus>
public enum VcsStatus
- extends Enum<VcsStatus>
- Since:
- 0.1
- Author:
- Commons VFS team
Method Summary |
int |
getStatus()
|
static VcsStatus |
valueOf(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. |
UNKNOWN
public static final VcsStatus UNKNOWN
NOT_MODIFIED
public static final VcsStatus NOT_MODIFIED
ADDED
public static final VcsStatus ADDED
CONFLICTED
public static final VcsStatus CONFLICTED
DELETED
public static final VcsStatus DELETED
MERGED
public static final VcsStatus MERGED
IGNORED
public static final VcsStatus IGNORED
MODIFIED
public static final VcsStatus MODIFIED
REPLACED
public static final VcsStatus REPLACED
UNVERSIONED
public static final VcsStatus UNVERSIONED
MISSING
public static final VcsStatus MISSING
OBSTRUCTED
public static final VcsStatus OBSTRUCTED
REVERTED
public static final VcsStatus REVERTED
RESOLVED
public static final VcsStatus RESOLVED
COPIED
public static final VcsStatus COPIED
MOVED
public static final VcsStatus MOVED
RESTORED
public static final VcsStatus RESTORED
UPDATED
public static final VcsStatus UPDATED
EXTERNAL
public static final VcsStatus EXTERNAL
CORRUPTED
public static final VcsStatus CORRUPTED
NOT_REVERTED
public static final VcsStatus NOT_REVERTED
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(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getStatus
public int getStatus()
- Returns:
- the status of FileObject
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.