Package net.sourceforge.pmd.cli
Class PMDParameters
- java.lang.Object
-
- net.sourceforge.pmd.cli.PMDParameters
-
@Deprecated @InternalApi public class PMDParameters extends Object
Deprecated.Internal API. UsePMD.runPmd(String[])orPMD.main(String[])
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPMDParameters.PropertyConverterDeprecated.static classPMDParameters.RulePriorityConverterDeprecated.Will be removed in 7.0.0static classPMDParameters.RulePriorityValidatorDeprecated.
-
Constructor Summary
Constructors Constructor Description PMDParameters()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetAuxclasspath()Deprecated.StringgetEncoding()Deprecated.StringgetFileListPath()Deprecated.StringgetForceLanguage()Deprecated.StringgetFormat()Deprecated.StringgetIgnoreListPath()Deprecated.StringgetLanguage()Deprecated.RulePrioritygetMinimumPriority()Deprecated.PropertiesgetProperties()Deprecated.StringgetReportfile()Deprecated.StringgetRulesets()Deprecated.StringgetSourceDir()Deprecated.StringgetSuppressmarker()Deprecated.IntegergetThreads()Deprecated.StringgetUri()Deprecated.StringgetVersion()Deprecated.booleanisBenchmark()Deprecated.booleanisDebug()Deprecated.booleanisFailOnViolation()Deprecated.booleanisHelp()Deprecated.booleanisIgnoreIncrementalAnalysis()Deprecated.booleanisShortnames()Deprecated.booleanisShowsuppressed()Deprecated.booleanisStress()Deprecated.voidsetUri(String uri)Deprecated.PMDConfigurationtoConfiguration()Deprecated.Converts these parameters into a configuration.static PMDConfigurationtransformParametersIntoConfiguration(PMDParameters params)Deprecated.To be removed in 7.0.0.
-
-
-
Method Detail
-
toConfiguration
public PMDConfiguration toConfiguration()
Deprecated.Converts these parameters into a configuration.- Returns:
- A new PMDConfiguration corresponding to these parameters
- Throws:
IllegalArgumentException- if the parameters are inconsistent or incomplete
-
isIgnoreIncrementalAnalysis
public boolean isIgnoreIncrementalAnalysis()
Deprecated.
-
transformParametersIntoConfiguration
@Deprecated public static PMDConfiguration transformParametersIntoConfiguration(PMDParameters params)
Deprecated.To be removed in 7.0.0. Use the instance methodtoConfiguration().
-
isDebug
public boolean isDebug()
Deprecated.
-
isHelp
public boolean isHelp()
Deprecated.
-
getEncoding
public String getEncoding()
Deprecated.
-
getThreads
public Integer getThreads()
Deprecated.
-
isBenchmark
public boolean isBenchmark()
Deprecated.
-
isStress
public boolean isStress()
Deprecated.
-
isShortnames
public boolean isShortnames()
Deprecated.
-
isShowsuppressed
public boolean isShowsuppressed()
Deprecated.
-
getSuppressmarker
public String getSuppressmarker()
Deprecated.
-
getMinimumPriority
public RulePriority getMinimumPriority()
Deprecated.
-
getProperties
public Properties getProperties()
Deprecated.
-
getReportfile
public String getReportfile()
Deprecated.
-
getVersion
public String getVersion()
Deprecated.
-
getLanguage
public String getLanguage()
Deprecated.
-
getForceLanguage
public String getForceLanguage()
Deprecated.
-
getAuxclasspath
public String getAuxclasspath()
Deprecated.
-
getRulesets
public String getRulesets()
Deprecated.
-
getSourceDir
public String getSourceDir()
Deprecated.
-
getFileListPath
public String getFileListPath()
Deprecated.
-
getIgnoreListPath
public String getIgnoreListPath()
Deprecated.
-
getFormat
public String getFormat()
Deprecated.
-
isFailOnViolation
public boolean isFailOnViolation()
Deprecated.
-
getUri
public String getUri()
Deprecated.- Returns:
- the uri alternative to source directory.
-
setUri
public void setUri(String uri)
Deprecated.- Parameters:
uri- the uri specifying the source directory.
-
-