public enum SourceCodeManagementSystems extends Enum<SourceCodeManagementSystems>
Enum Constant and Description |
---|
BAZAAR |
CVS |
GIT |
MERCURIAL |
SUBVERSION |
Modifier and Type | Method and Description |
---|---|
List<String> |
getExclusions()
If an ignore file exists it's added as
*⁄.scm⁄*
.
|
String |
getIgnoreFile()
Maybe
null , check before with |
static List<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(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
public static SourceCodeManagementSystems[] values()
for (SourceCodeManagementSystems c : SourceCodeManagementSystems.values()) System.out.println(c);
public static SourceCodeManagementSystems 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 List<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 List<String> getPluginExclusions()
getExclusions()
on each SCM to generate a global list of
exclusions to be used during RAT runs.public String getIgnoreFile()
null
, check before withhasIgnoreFile()
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.