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 Path
reportFile
-
Constructor Summary
Constructors Constructor Description TreeExportConfiguration()
TreeExportConfiguration(LanguageRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Path
getFile()
String
getFormat()
Language
getLanguage()
Properties
getLanguageProperties()
MessageReporter
getMessageReporter()
Properties
getProperties()
String
getReportFile()
Deprecated.Path
getReportFilePath()
Get the file to which the report should render.boolean
isReadStdin()
void
setFile(Path file)
void
setFormat(String format)
void
setLanguage(Language language)
void
setLanguageProperties(Properties properties)
void
setMessageReporter(MessageReporter messageReporter)
void
setProperties(Properties properties)
void
setReadStdin(boolean readStdin)
void
setReportFile(String reportFile)
Deprecated.void
setReportFile(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
-
-