public enum ScmStatus extends Enum<ScmStatus>
| Enum Constant and Description |
|---|
ADDED
File is added to the working tree and does not yet exist in the repository
|
CHECKED_IN
File from working tree is checked into the repository
|
CHECKED_OUT
File is checked out from the repository and into the working tree
|
CONFLICT
The file in the working tree has differences to the one in repository that
conflicts ie.
|
COPIED
The file has been copied in the working tree.
|
DELETED
File is removed from the working tree thus not revisioned anymore.
The file is still present in the repository. The file could be deleted from the filesystem depending on the provider. |
EDITED
The file is being edited
|
LOCKED
The file is locked.
|
MISSING
The file is missing in the working tree.
|
MODIFIED
The file has been modified in the working tree.
|
PATCHED
The file in the working tree has been updated with changes from the
repository.
|
RENAMED
The file has been renamed or moved in the working tree.
|
TAGGED
The file is part of a tag.
|
UNKNOWN
The file is in the working tree but is not versioned and not ignored
either.
|
UPDATED
The file is added, removed or updated from the repository, thus its
up-to-date with the version in the repository.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.scm.ScmFileStatus |
getStatus() |
static ScmStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScmStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScmStatus ADDED
public static final ScmStatus DELETED
public static final ScmStatus MODIFIED
public static final ScmStatus RENAMED
public static final ScmStatus COPIED
public static final ScmStatus MISSING
public static final ScmStatus CHECKED_IN
public static final ScmStatus CHECKED_OUT
public static final ScmStatus CONFLICT
public static final ScmStatus PATCHED
public static final ScmStatus UPDATED
public static final ScmStatus TAGGED
public static final ScmStatus LOCKED
public static final ScmStatus UNKNOWN
public static final ScmStatus EDITED
public static ScmStatus[] values()
for (ScmStatus c : ScmStatus.values()) System.out.println(c);
public static ScmStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic org.apache.maven.scm.ScmFileStatus getStatus()
Copyright © 2022 org.pitest. All rights reserved.