Class TreeExportConfiguration
- java.lang.Object
-
- net.sourceforge.pmd.AbstractConfiguration
-
- net.sourceforge.pmd.util.treeexport.TreeExportConfiguration
-
public class TreeExportConfiguration extends AbstractConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description protected PathreportFile
-
Constructor Summary
Constructors Constructor Description TreeExportConfiguration()TreeExportConfiguration(LanguageRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PathgetFile()StringgetFormat()LanguagegetLanguage()PropertiesgetLanguageProperties()MessageReportergetMessageReporter()PropertiesgetProperties()StringgetReportFile()Deprecated.PathgetReportFilePath()Get the file to which the report should render.booleanisReadStdin()voidsetFile(Path file)voidsetFormat(String format)voidsetLanguage(Language language)voidsetLanguageProperties(Properties properties)voidsetMessageReporter(MessageReporter messageReporter)voidsetProperties(Properties properties)voidsetReadStdin(boolean readStdin)voidsetReportFile(String reportFile)Deprecated.voidsetReportFile(Path reportFile)Set the file to which the report should render.-
Methods inherited from class net.sourceforge.pmd.AbstractConfiguration
addInputPath, addRelativizeRoot, addRelativizeRoots, collectFilesRecursively, collectFilesRecursively, getExcludes, getForceLanguageVersion, getIgnoreFile, getInputFile, getInputPathList, getLanguageProperties, getLanguageRegistry, getLanguageVersionDiscoverer, getLanguageVersionOfFile, getRelativizeRoots, getReporter, getSourceEncoding, getUri, isForceLanguageVersion, setDefaultLanguageVersion, setDefaultLanguageVersions, setExcludes, setForceLanguageVersion, setIgnoreFilePath, setIgnoreFilePath, setInputFilePath, setInputFilePath, setInputPathList, setInputPaths, setInputUri, setInputUri, setOnlyRecognizeLanguage, setReporter, setSourceEncoding
-
-
-
-
Field Detail
-
reportFile
protected Path reportFile
-
-
Constructor Detail
-
TreeExportConfiguration
public TreeExportConfiguration(LanguageRegistry registry)
-
TreeExportConfiguration
public TreeExportConfiguration()
-
-
Method Detail
-
getFormat
public String getFormat()
-
getLanguage
public Language getLanguage()
-
getProperties
public Properties getProperties()
-
getFile
public Path getFile()
-
getLanguageProperties
public Properties getLanguageProperties()
-
isReadStdin
public boolean isReadStdin()
-
setFormat
public void setFormat(String format)
-
setLanguage
public void setLanguage(Language language)
-
setProperties
public void setProperties(Properties properties)
-
setLanguageProperties
public void setLanguageProperties(Properties properties)
-
setFile
public void setFile(Path file)
-
setReadStdin
public void setReadStdin(boolean readStdin)
-
getMessageReporter
public MessageReporter getMessageReporter()
-
setMessageReporter
public void setMessageReporter(MessageReporter messageReporter)
-
getReportFile
@Deprecated public String getReportFile()
Deprecated.Get the file to which the report should render.- Returns:
- The file to which to render.
-
getReportFilePath
public Path getReportFilePath()
Get the file to which the report should render.- Returns:
- The file to which to render.
-
setReportFile
@Deprecated public void setReportFile(String reportFile)
Deprecated.Set the file to which the report should render.- Parameters:
reportFile- the file to set
-
setReportFile
public void setReportFile(Path reportFile)
Set the file to which the report should render.- Parameters:
reportFile- the file to set
-
-