Enum VcsStatus
- java.lang.Object
-
- java.lang.Enum<VcsStatus>
-
- org.apache.commons.vfs2.operations.vcs.VcsStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDEDAdded.CONFLICTEDConflicted.COPIEDCopied.CORRUPTEDCorrupted.DELETEDDeleted.EXTERNALExternal.IGNOREDIgnored.MERGEDMerged.MISSINGMissing.MODIFIEDModified.MOVEDMoved.NOT_MODIFIEDNot modified.NOT_REVERTEDNot reverted.OBSTRUCTEDObstructed.REPLACEDReplaced.RESOLVEDResolved.RESTOREDRestored.REVERTEDReverted.UNKNOWNUnknown.UNVERSIONEDUnversioned.UPDATEDUpdated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetStatus()Gets the status.static VcsStatusvalueOf(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
-
-