Package org.apache.rat.config
Enum SourceCodeManagementSystems
- All Implemented Interfaces:
Serializable
,Comparable<SourceCodeManagementSystems>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionIf an ignore file exists it's added asMaybenull
, check before withCallsgetExclusions()
on each SCM to generate a global list of exclusions to be used during RAT runs.boolean
static SourceCodeManagementSystems
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.
-
Enum Constant Details
-
SUBVERSION
-
GIT
-
BAZAAR
-
MERCURIAL
-
CVS
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
getExclusions
If an ignore file exists it's added as*⁄.scm⁄*
. Otherwise the technical directory of the SCM is added as**⁄.scmignore
to be used as exclusion during RAT runs.- Returns:
- list of excludes if the current SCM is used.
-
hasIgnoreFile
public boolean hasIgnoreFile() -
getPluginExclusions
CallsgetExclusions()
on each SCM to generate a global list of exclusions to be used during RAT runs.- Returns:
- the global list of exclusions usable for all known SCM.
-
getIgnoreFile
Maybenull
, check before with- Returns:
- the ignore file of the SCM.
- See Also:
hasIgnoreFile()
-