public enum SourceCodeManagementSystems extends java.lang.Enum<SourceCodeManagementSystems>
| Enum Constant and Description |
|---|
BAZAAR |
CVS |
GIT |
MERCURIAL |
SUBVERSION |
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
directory
Technical directory of that SCM which contains SCM internals.
|
private java.lang.String |
ignoreFile
If there is a external way to configure files to be ignored: name of this
file,
null otherwise. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getExclusions()
If an ignore file exists it's added as
|
java.lang.String |
getIgnoreFile()
Maybe
null, check before with |
static java.util.List<java.lang.String> |
getPluginExclusions()
Calls
getExclusions() on each SCM to generate a global list of
exclusions to be used during RAT runs. |
boolean |
hasIgnoreFile() |
static SourceCodeManagementSystems |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceCodeManagementSystems[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceCodeManagementSystems SUBVERSION
public static final SourceCodeManagementSystems GIT
public static final SourceCodeManagementSystems BAZAAR
public static final SourceCodeManagementSystems MERCURIAL
public static final SourceCodeManagementSystems CVS
private java.lang.String directory
private java.lang.String ignoreFile
null otherwise.public static SourceCodeManagementSystems[] values()
for (SourceCodeManagementSystems c : SourceCodeManagementSystems.values()) System.out.println(c);
public static SourceCodeManagementSystems valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.util.List<java.lang.String> getExclusions()
*⁄.scm⁄*. Otherwise the technical directory of the SCM is added as
**⁄.scmignoreto be used as exclusion during RAT runs.
public boolean hasIgnoreFile()
public static java.util.List<java.lang.String> getPluginExclusions()
getExclusions() on each SCM to generate a global list of
exclusions to be used during RAT runs.public java.lang.String getIgnoreFile()
null, check before withhasIgnoreFile()