public class PmdRequest extends Object implements Serializable
This class is intended to be serialized and read back.
Some properties might be optional and can be null
.
Constructor and Description |
---|
PmdRequest() |
public void setLanguageAndVersion(String language, String targetJdk)
language
- the languagetargetJdk
- the language version, optional, can be null
public void setJavaExecutable(String javaExecutable)
public void setMinimumPriority(int minimumPriority)
public void setAuxClasspath(String auxClasspath)
public void setSuppressMarker(String suppressMarker)
public void setAnalysisCacheLocation(String analysisCacheLocation)
public void setSourceEncoding(String sourceEncoding)
public void addFiles(Collection<File> files)
public void setBenchmarkOutputLocation(String benchmarkOutputLocation)
public void setTargetDirectory(String targetDirectory)
public void setOutputEncoding(String outputEncoding)
public void setFormat(String format)
public void setLogLevel(String logLevel)
public void setSkipPmdError(boolean skipPmdError)
public void setIncludeXmlInSite(boolean includeXmlInSite)
public void setReportOutputDirectory(String reportOutputDirectory)
public void setExcludeFromFailureFile(String excludeFromFailureFile)
public String getJavaExecutable()
public String getLanguage()
public String getLanguageVersion()
public int getMinimumPriority()
public String getAuxClasspath()
public String getSuppressMarker()
public String getAnalysisCacheLocation()
public String getSourceEncoding()
public String getBenchmarkOutputLocation()
public String getTargetDirectory()
public String getOutputEncoding()
public String getFormat()
public String getLogLevel()
public boolean isDebugEnabled()
public boolean isSkipPmdError()
public boolean isIncludeXmlInSite()
public String getReportOutputDirectory()
public String getExcludeFromFailureFile()
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.