Klasse PmdRequest
java.lang.Object
org.apache.maven.plugins.pmd.exec.PmdRequest
- Alle implementierten Schnittstellen:
Serializable
Data object to store all configuration options needed to execute PMD
as a separate process.
This class is intended to be serialized and read back.
Some properties might be optional and can be null
.
- Siehe auch:
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addFiles
(Collection<File> files) getFiles()
int
boolean
boolean
boolean
void
setAnalysisCacheLocation
(String analysisCacheLocation) void
setAuxClasspath
(String auxClasspath) void
setBenchmarkOutputLocation
(String benchmarkOutputLocation) void
setExcludeFromFailureFile
(String excludeFromFailureFile) void
void
setIncludeXmlInSite
(boolean includeXmlInSite) void
setJavaExecutable
(String javaExecutable) void
setLanguageAndVersion
(String language, String targetJdk) Configure language and language version.void
setLogLevel
(String logLevel) void
setMinimumPriority
(int minimumPriority) void
setOutputEncoding
(String outputEncoding) void
setReportOutputDirectory
(String reportOutputDirectory) void
setRulesets
(List<String> rulesets) void
setSkipPmdError
(boolean skipPmdError) void
setSourceEncoding
(String sourceEncoding) void
setSuppressMarker
(String suppressMarker) void
setTargetDirectory
(String targetDirectory)
-
Konstruktordetails
-
PmdRequest
public PmdRequest()
-
-
Methodendetails
-
setLanguageAndVersion
Configure language and language version.- Parameter:
language
- the languagetargetJdk
- the language version, optional, can benull
-
setJavaExecutable
-
setMinimumPriority
public void setMinimumPriority(int minimumPriority) -
setAuxClasspath
-
setSuppressMarker
-
setAnalysisCacheLocation
-
setRulesets
-
setSourceEncoding
-
addFiles
-
setBenchmarkOutputLocation
-
setTargetDirectory
-
setOutputEncoding
-
setFormat
-
setLogLevel
-
setSkipPmdError
public void setSkipPmdError(boolean skipPmdError) -
setIncludeXmlInSite
public void setIncludeXmlInSite(boolean includeXmlInSite) -
setReportOutputDirectory
-
setExcludeFromFailureFile
-
getJavaExecutable
-
getLanguage
-
getLanguageVersion
-
getMinimumPriority
public int getMinimumPriority() -
getAuxClasspath
-
getSuppressMarker
-
getAnalysisCacheLocation
-
getRulesets
-
getSourceEncoding
-
getFiles
-
getBenchmarkOutputLocation
-
getTargetDirectory
-
getOutputEncoding
-
getFormat
-
getLogLevel
-
isDebugEnabled
public boolean isDebugEnabled() -
isSkipPmdError
public boolean isSkipPmdError() -
isIncludeXmlInSite
public boolean isIncludeXmlInSite() -
getReportOutputDirectory
-
getExcludeFromFailureFile
-