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 class
PMDParameters.PathToRelativizeRootValidator
Deprecated.static class
PMDParameters.PropertyConverter
Deprecated.static class
PMDParameters.RulePriorityValidator
Deprecated.static class
PMDParameters.StringToPathConverter
Deprecated.
-
Constructor Summary
Constructors Constructor Description PMDParameters()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAuxclasspath()
Deprecated.String
getEncoding()
Deprecated.String
getFileListPath()
Deprecated.String
getForceLanguage()
Deprecated.String
getFormat()
Deprecated.String
getIgnoreListPath()
Deprecated.List<String>
getInputPaths()
Deprecated.@Nullable String
getLanguage()
Deprecated.List<String>
getLanguageVersions()
Deprecated.RulePriority
getMinimumPriority()
Deprecated.Properties
getProperties()
Deprecated.String
getReportfile()
Deprecated.List<String>
getRulesetRefs()
Deprecated.String
getRulesets()
Deprecated.String
getSourceDir()
Deprecated.String
getSuppressmarker()
Deprecated.Integer
getThreads()
Deprecated.String
getUri()
Deprecated.boolean
isBenchmark()
Deprecated.boolean
isDebug()
Deprecated.boolean
isFailOnViolation()
Deprecated.boolean
isHelp()
Deprecated.boolean
isIgnoreIncrementalAnalysis()
Deprecated.boolean
isShowsuppressed()
Deprecated.boolean
isStress()
Deprecated.boolean
isVersion()
Deprecated.void
setUri(String uri)
Deprecated.PMDConfiguration
toConfiguration()
Deprecated.Converts these parameters into a configuration.@NonNull PMDConfiguration
toConfiguration(LanguageRegistry registry)
Deprecated.Converts these parameters into a configuration.
-
-
-
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
-
toConfiguration
public @NonNull PMDConfiguration toConfiguration(LanguageRegistry registry)
Deprecated.Converts these parameters into a configuration. The given language registry is used to resolve references to languages in the parameters.- Returns:
- A new PMDConfiguration corresponding to these parameters
- Throws:
IllegalArgumentException
- if the parameters are inconsistent or incomplete
-
isIgnoreIncrementalAnalysis
public boolean isIgnoreIncrementalAnalysis()
Deprecated.
-
isDebug
public boolean isDebug()
Deprecated.
-
isHelp
public boolean isHelp()
Deprecated.
-
isVersion
public boolean isVersion()
Deprecated.
-
getEncoding
public String getEncoding()
Deprecated.
-
getThreads
public Integer getThreads()
Deprecated.
-
isBenchmark
public boolean isBenchmark()
Deprecated.
-
isStress
public boolean isStress()
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.
-
getLanguage
public @Nullable String getLanguage()
Deprecated.
-
getForceLanguage
public String getForceLanguage()
Deprecated.
-
getAuxclasspath
public String getAuxclasspath()
Deprecated.
-
getRulesets
@Deprecated public String getRulesets()
Deprecated.
-
getSourceDir
@Deprecated 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.
-
-