Index
Alle Klassen und Schnittstellen|Alle Packages|Serialisierte Form
A
- AbstractPmdReport - Klasse in org.apache.maven.plugins.pmd
-
Base class for the PMD reports.
- AbstractPmdReport() - Konstruktor für Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
- AbstractPmdViolationCheckMojo<D> - Klasse in org.apache.maven.plugins.pmd
-
Base class for mojos that check if there were any PMD violations.
- AbstractPmdViolationCheckMojo(ExcludeFromFile<D>) - Konstruktor für Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
-
Initialize this abstact check mojo by giving the correct ExcludeFromFile helper.
- addDuplication(Duplication) - Methode in Klasse org.apache.maven.plugins.pmd.model.CpdErrorDetail
-
Method addDuplication.
- addError(ProcessingError) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Method addError.
- addFile(CpdFile) - Methode in Klasse org.apache.maven.plugins.pmd.model.Duplication
-
Method addFile.
- addFile(PmdFile) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Method addFile.
- addFiles(Collection<File>) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- addFiles(Collection<File>) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- addSuppressedViolation(SuppressedViolation) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Method addSuppressedViolation.
- addViolation(Violation) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdFile
-
Method addViolation.
- aggregate - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
-
Veraltet.
- aggregate - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
-
Veraltet.since 3.15.0 Use the goal
pmd:aggregate-check
orpmd:aggregate-cpd-check
instead. - AggregatorCpdReport - Klasse in org.apache.maven.plugins.pmd
-
Creates a report for PMD's Copy/Paste Detector (CPD) tool in an aggregator project.
- AggregatorCpdReport() - Konstruktor für Klasse org.apache.maven.plugins.pmd.AggregatorCpdReport
- AggregatorCpdViolationCheckMojo - Klasse in org.apache.maven.plugins.pmd
-
Fail the build in an aggregator project if there were any CPD violations in the source code.
- AggregatorCpdViolationCheckMojo() - Konstruktor für Klasse org.apache.maven.plugins.pmd.AggregatorCpdViolationCheckMojo
- AggregatorPmdNoForkReport - Klasse in org.apache.maven.plugins.pmd
-
Creates a PMD site report in an aggregator project without forking the
test-compile
phase again. - AggregatorPmdNoForkReport() - Konstruktor für Klasse org.apache.maven.plugins.pmd.AggregatorPmdNoForkReport
- AggregatorPmdReport - Klasse in org.apache.maven.plugins.pmd
-
Creates a PMD site report in an aggregator project based on the rulesets and configuration set in the plugin.
- AggregatorPmdReport() - Konstruktor für Klasse org.apache.maven.plugins.pmd.AggregatorPmdReport
- AggregatorPmdViolationCheckMojo - Klasse in org.apache.maven.plugins.pmd
-
Fails the build in an aggregator project if there were any PMD violations in the source code.
- AggregatorPmdViolationCheckMojo() - Konstruktor für Klasse org.apache.maven.plugins.pmd.AggregatorPmdViolationCheckMojo
B
- buildClasspath() - Statische Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdExecutor
- buildClasspath() - Statische Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdExecutor
C
- canGenerateReport() - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
- canGenerateReport() - Methode in Klasse org.apache.maven.plugins.pmd.CpdReport
- canGenerateReport() - Methode in Klasse org.apache.maven.plugins.pmd.PmdReport
- constructXRefLocation(boolean) - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
- contentTransformer - Variable in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
-
Field contentTransformer.
- contentTransformer - Variable in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
-
Field contentTransformer.
- countExclusions() - Methode in Klasse org.apache.maven.plugins.pmd.ExcludeDuplicationsFromFile
- countExclusions() - Methode in Schnittstelle org.apache.maven.plugins.pmd.ExcludeFromFile
-
Determines how many exclusions are considered.
- countExclusions() - Methode in Klasse org.apache.maven.plugins.pmd.ExcludeViolationsFromFile
- CpdErrorDetail - Klasse in org.apache.maven.plugins.pmd.model
-
Class CpdErrorDetail.
- CpdErrorDetail() - Konstruktor für Klasse org.apache.maven.plugins.pmd.model.CpdErrorDetail
- CpdExecutor - Klasse in org.apache.maven.plugins.pmd.exec
-
Executes CPD with the configuration provided via
CpdRequest
. - CpdExecutor(CpdRequest) - Konstruktor für Klasse org.apache.maven.plugins.pmd.exec.CpdExecutor
- CpdFile - Klasse in org.apache.maven.plugins.pmd.model
-
Class CpdFile.
- CpdFile() - Konstruktor für Klasse org.apache.maven.plugins.pmd.model.CpdFile
- CpdReport - Klasse in org.apache.maven.plugins.pmd
-
Creates a report for PMD's Copy/Paste Detector (CPD) tool.
- CpdReport() - Konstruktor für Klasse org.apache.maven.plugins.pmd.CpdReport
- CpdReportRenderer - Klasse in org.apache.maven.plugins.pmd
-
Class that generated the CPD report.
- CpdReportRenderer(Sink, I18N, Locale, Map<File, PmdFileInfo>, Collection<Duplication>, boolean) - Konstruktor für Klasse org.apache.maven.plugins.pmd.CpdReportRenderer
- CpdRequest - Klasse in org.apache.maven.plugins.pmd.exec
-
Data object to store all configuration options needed to execute CPD as a separate process.
- CpdRequest() - Konstruktor für Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- CpdResult - Klasse in org.apache.maven.plugins.pmd.exec
-
Provides access to the result of the CPD analysis.
- CpdResult(File, String) - Konstruktor für Klasse org.apache.maven.plugins.pmd.exec.CpdResult
- CpdViolationCheckMojo - Klasse in org.apache.maven.plugins.pmd
-
Fails the build if there were any CPD violations in the source code.
- CpdViolationCheckMojo() - Konstruktor für Klasse org.apache.maven.plugins.pmd.CpdViolationCheckMojo
-
Default constructor.
- CpdXpp3Reader - Klasse in org.apache.maven.plugins.pmd.model.io.xpp3
-
Class CpdXpp3Reader.
- CpdXpp3Reader() - Konstruktor für Klasse org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
- CpdXpp3Reader(CpdXpp3Reader.ContentTransformer) - Konstruktor für Klasse org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
- CpdXpp3Reader.ContentTransformer - Schnittstelle in org.apache.maven.plugins.pmd.model.io.xpp3
- createRenderer() - Methode in Klasse org.apache.maven.plugins.pmd.PmdReport
-
Veraltet.Use
PmdExecutor.createRenderer(String, String)
instead. - createRenderer(String, String) - Statische Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdExecutor
-
Create and return the correct renderer for the output type.
- createRenderer(String, String) - Statische Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdExecutor
-
Create and return the correct renderer for the output type.
D
- determineCurrentRootLogLevel() - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
- Duplication - Klasse in org.apache.maven.plugins.pmd.model
-
Class Duplication.
- Duplication() - Konstruktor für Klasse org.apache.maven.plugins.pmd.model.Duplication
E
- EMPTY - Statische Variable in Klasse org.apache.maven.plugins.pmd.exec.PmdResult
- ExcludeDuplicationsFromFile - Klasse in org.apache.maven.plugins.pmd
-
This class contains utility methods to load property files which define which files should be excluded from the CPD duplication results.
- ExcludeDuplicationsFromFile() - Konstruktor für Klasse org.apache.maven.plugins.pmd.ExcludeDuplicationsFromFile
- excludeFromFailureFile - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
-
File that lists classes and rules to be excluded from failures.
- ExcludeFromFile<D> - Schnittstelle in org.apache.maven.plugins.pmd
- ExcludeViolationsFromFile - Klasse in org.apache.maven.plugins.pmd
-
This class contains utility for loading property files, which define which PMD violations from which classes should be ignored and not cause a failure.
- ExcludeViolationsFromFile() - Konstruktor für Klasse org.apache.maven.plugins.pmd.ExcludeViolationsFromFile
- execute() - Methode in Klasse org.apache.maven.plugins.maven_pmd_plugin.HelpMojo
- execute() - Methode in Klasse org.apache.maven.plugins.pmd.CpdViolationCheckMojo
- execute() - Methode in Klasse org.apache.maven.plugins.pmd.PmdViolationCheckMojo
- execute(CpdRequest) - Statische Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdExecutor
- execute(PmdRequest) - Statische Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdExecutor
- executeCheck(String, String, String, int) - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
- executeReport(Locale) - Methode in Klasse org.apache.maven.plugins.pmd.CpdReport
- executeReport(Locale) - Methode in Klasse org.apache.maven.plugins.pmd.PmdReport
F
- failOnViolation - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
-
Whether to fail the build if the validation check fails.
- failOnViolation - Variable in Klasse org.apache.maven.plugins.pmd.CpdViolationCheckMojo
-
Whether to fail the build if the validation check fails.
- filesToProcess - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
-
The files that are being analyzed.
- format - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
-
Set the output format type, in addition to the HTML report.
G
- getAddDefaultEntities() - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
-
Returns the state of the "add default entities" flag.
- getAddDefaultEntities() - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
-
Returns the state of the "add default entities" flag.
- getAggregatedProjects() - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
- getAnalysisCacheLocation() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getAuxClasspath() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getBeginline() - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Get the beginline field.
- getBenchmarkOutputLocation() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getCodefragment() - Methode in Klasse org.apache.maven.plugins.pmd.model.Duplication
-
Get the codefragment field.
- getDescription(Locale) - Methode in Klasse org.apache.maven.plugins.pmd.CpdReport
- getDescription(Locale) - Methode in Klasse org.apache.maven.plugins.pmd.PmdReport
- getDetail() - Methode in Klasse org.apache.maven.plugins.pmd.model.ProcessingError
-
Get the detail field.
- getDuplications() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdResult
- getDuplications() - Methode in Klasse org.apache.maven.plugins.pmd.model.CpdErrorDetail
-
Method getDuplications.
- getEndline() - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Get the endline field.
- getErrorDetails(File) - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
-
Gets the attributes and text for the violation tag and puts them in a HashMap
- getErrorDetails(File) - Methode in Klasse org.apache.maven.plugins.pmd.CpdViolationCheckMojo
-
Gets the attributes and text for the violation tag and puts them in a HashMap
- getErrorDetails(File) - Methode in Klasse org.apache.maven.plugins.pmd.PmdViolationCheckMojo
- getErrors() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdResult
- getErrors() - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Method getErrors.
- getExcludeFromFailureFile() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- getExcludeFromFailureFile() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getExternalInfoUrl() - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Get the externalInfoUrl field.
- getFailureDetails() - Methode in Klasse org.apache.maven.plugins.pmd.ViolationDetails
- getFilename() - Methode in Klasse org.apache.maven.plugins.pmd.model.ProcessingError
-
Get the filename field.
- getFilename() - Methode in Klasse org.apache.maven.plugins.pmd.model.SuppressedViolation
-
Get the filename field.
- getFileName() - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
- getFiles() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- getFiles() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getFiles() - Methode in Klasse org.apache.maven.plugins.pmd.model.Duplication
-
Method getFiles.
- getFiles() - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Method getFiles.
- getFilesToProcess() - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
-
Convenience method to get the list of files where the PMD tool will be executed
- getFormat() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- getFormat() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getI18nString(Locale, String) - Methode in Klasse org.apache.maven.plugins.pmd.CpdReport
- getI18nString(Locale, String) - Methode in Klasse org.apache.maven.plugins.pmd.PmdReport
- getJavaExecutable() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- getJavaExecutable() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getLanguage() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- getLanguage() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getLanguageProperties() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- getLanguageVersion() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getLine() - Methode in Klasse org.apache.maven.plugins.pmd.model.CpdFile
-
Get the line field.
- getLines() - Methode in Klasse org.apache.maven.plugins.pmd.model.Duplication
-
Get the lines field.
- getLocationTemp(String, int) - Methode in Klasse org.apache.maven.plugins.pmd.PmdReport
-
Convenience method to get the location of the specified file name.
- getLogLevel() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- getLogLevel() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getMaxAllowedViolations() - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
- getMinimumPriority() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getMinimumTokens() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- getModelEncoding() - Methode in Klasse org.apache.maven.plugins.pmd.model.CpdErrorDetail
-
Get the modelEncoding field.
- getModelEncoding() - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Get the modelEncoding field.
- getMsg() - Methode in Klasse org.apache.maven.plugins.pmd.model.ProcessingError
-
Get the msg field.
- getName() - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdFile
-
Get the name field.
- getName(Locale) - Methode in Klasse org.apache.maven.plugins.pmd.CpdReport
- getName(Locale) - Methode in Klasse org.apache.maven.plugins.pmd.PmdReport
- getOutputEncoding() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- getOutputEncoding() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getOutputName() - Methode in Klasse org.apache.maven.plugins.pmd.CpdReport
- getOutputName() - Methode in Klasse org.apache.maven.plugins.pmd.PmdReport
- getPath() - Methode in Klasse org.apache.maven.plugins.pmd.model.CpdFile
-
Get the path field.
- getPriority() - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Get the priority field.
- getPriority(D) - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
- getPriority(Duplication) - Methode in Klasse org.apache.maven.plugins.pmd.CpdViolationCheckMojo
- getPriority(Violation) - Methode in Klasse org.apache.maven.plugins.pmd.PmdViolationCheckMojo
- getProject() - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
- getProject() - Methode in Klasse org.apache.maven.plugins.pmd.PmdFileInfo
- getReportOutputDirectory() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- getReportOutputDirectory() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getRule() - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Get the rule field.
- getRuleMessage() - Methode in Klasse org.apache.maven.plugins.pmd.model.SuppressedViolation
-
Get the ruleMessage field.
- getRulesets() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getSourceDirectory() - Methode in Klasse org.apache.maven.plugins.pmd.PmdFileInfo
- getSourceEncoding() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- getSourceEncoding() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getSuppressedViolations() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdResult
- getSuppressedViolations() - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Method getSuppressedViolations.
- getSuppressionType() - Methode in Klasse org.apache.maven.plugins.pmd.model.SuppressedViolation
-
Get the suppressionType field.
- getSuppressMarker() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getTargetDirectory() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- getTargetDirectory() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- getText() - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Get the text field.
- getTitle() - Methode in Klasse org.apache.maven.plugins.pmd.CpdReportRenderer
- getTitle() - Methode in Klasse org.apache.maven.plugins.pmd.PmdReportRenderer
- getTokens() - Methode in Klasse org.apache.maven.plugins.pmd.model.Duplication
-
Get the tokens field.
- getToolchain() - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
- getUserMessage() - Methode in Klasse org.apache.maven.plugins.pmd.model.SuppressedViolation
-
Get the userMessage field.
- getViolationClass() - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Get the violationClass field.
- getViolationPackage() - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Get the violationPackage field.
- getViolations() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdResult
- getViolations() - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdFile
-
Method getViolations.
- getWarningDetails() - Methode in Klasse org.apache.maven.plugins.pmd.ViolationDetails
- getXrefLocation() - Methode in Klasse org.apache.maven.plugins.pmd.PmdFileInfo
H
- hasDuplications() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdResult
- hasViolations() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdResult
- HelpMojo - Klasse in org.apache.maven.plugins.maven_pmd_plugin
-
Display help information on maven-pmd-plugin.
Callmvn pmd:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details. - HelpMojo() - Konstruktor für Klasse org.apache.maven.plugins.maven_pmd_plugin.HelpMojo
I
- includeTests - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
-
Run PMD on the tests.
- includeXmlInSite - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
-
Whether to include the xml files generated by PMD/CPD in the site.
- isAggregator() - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
- isAggregator() - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
- isAggregator() - Methode in Klasse org.apache.maven.plugins.pmd.AggregatorCpdReport
- isAggregator() - Methode in Klasse org.apache.maven.plugins.pmd.AggregatorCpdViolationCheckMojo
- isAggregator() - Methode in Klasse org.apache.maven.plugins.pmd.AggregatorPmdReport
- isAggregator() - Methode in Klasse org.apache.maven.plugins.pmd.AggregatorPmdViolationCheckMojo
- isDebugEnabled() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- isExcludedFromFailure(D) - Methode in Schnittstelle org.apache.maven.plugins.pmd.ExcludeFromFile
-
Checks whether the given violation is excluded.
- isExcludedFromFailure(Match) - Methode in Klasse org.apache.maven.plugins.pmd.ExcludeDuplicationsFromFile
-
Checks whether the given
Match
is excluded. - isExcludedFromFailure(RuleViolation) - Methode in Klasse org.apache.maven.plugins.pmd.ExcludeViolationsFromFile
-
Checks whether the given
RuleViolation
is excluded. - isExcludedFromFailure(Duplication) - Methode in Klasse org.apache.maven.plugins.pmd.ExcludeDuplicationsFromFile
- isExcludedFromFailure(Violation) - Methode in Klasse org.apache.maven.plugins.pmd.ExcludeViolationsFromFile
- isFailOnViolation() - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
- isFailOnViolation() - Methode in Klasse org.apache.maven.plugins.pmd.CpdViolationCheckMojo
- isIgnoreAnnotations() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- isIgnoreIdentifiers() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- isIgnoreLiterals() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- isIncludeXmlInSite() - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- isIncludeXmlInSite() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- isSkipPmdError() - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- isXml() - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
L
- loadExcludeFromFailuresData(String) - Methode in Klasse org.apache.maven.plugins.pmd.ExcludeDuplicationsFromFile
- loadExcludeFromFailuresData(String) - Methode in Schnittstelle org.apache.maven.plugins.pmd.ExcludeFromFile
-
Loads the exclude definitions from the given file.
- loadExcludeFromFailuresData(String) - Methode in Klasse org.apache.maven.plugins.pmd.ExcludeViolationsFromFile
M
- main(String[]) - Statische Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdExecutor
-
Execute CPD analysis from CLI.
- main(String[]) - Statische Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdExecutor
-
Execute PMD analysis from CLI.
N
- newViolationDetailsInstance() - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
- newViolationDetailsInstance() - Methode in Klasse org.apache.maven.plugins.pmd.CpdViolationCheckMojo
- newViolationDetailsInstance() - Methode in Klasse org.apache.maven.plugins.pmd.PmdViolationCheckMojo
O
- org.apache.maven.plugins.maven_pmd_plugin - Package org.apache.maven.plugins.maven_pmd_plugin
- org.apache.maven.plugins.pmd - Package org.apache.maven.plugins.pmd
- org.apache.maven.plugins.pmd.exec - Package org.apache.maven.plugins.pmd.exec
- org.apache.maven.plugins.pmd.model - Package org.apache.maven.plugins.pmd.model
- org.apache.maven.plugins.pmd.model.io.xpp3 - Package org.apache.maven.plugins.pmd.model.io.xpp3
P
- PmdErrorDetail - Klasse in org.apache.maven.plugins.pmd.model
-
Class PmdErrorDetail.
- PmdErrorDetail() - Konstruktor für Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
- PmdExecutor - Klasse in org.apache.maven.plugins.pmd.exec
-
Executes PMD with the configuration provided via
PmdRequest
. - PmdExecutor(PmdRequest) - Konstruktor für Klasse org.apache.maven.plugins.pmd.exec.PmdExecutor
- PmdFile - Klasse in org.apache.maven.plugins.pmd.model
-
Class PmdFile.
- PmdFile() - Konstruktor für Klasse org.apache.maven.plugins.pmd.model.PmdFile
- PmdFileInfo - Klasse in org.apache.maven.plugins.pmd
- PmdFileInfo(MavenProject, File, String) - Konstruktor für Klasse org.apache.maven.plugins.pmd.PmdFileInfo
- PmdReport - Klasse in org.apache.maven.plugins.pmd
-
Creates a PMD site report based on the rulesets and configuration set in the plugin.
- PmdReport() - Konstruktor für Klasse org.apache.maven.plugins.pmd.PmdReport
- PmdReportRenderer - Klasse in org.apache.maven.plugins.pmd
-
Render the PMD violations into Doxia events.
- PmdReportRenderer(Log, Sink, I18N, Locale, Map<File, PmdFileInfo>, Collection<Violation>, boolean, boolean, boolean) - Konstruktor für Klasse org.apache.maven.plugins.pmd.PmdReportRenderer
- PmdRequest - Klasse in org.apache.maven.plugins.pmd.exec
-
Data object to store all configuration options needed to execute PMD as a separate process.
- PmdRequest() - Konstruktor für Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- PmdResult - Klasse in org.apache.maven.plugins.pmd.exec
-
Provides access to the result of the pmd analysis.
- PmdResult(File, String) - Konstruktor für Klasse org.apache.maven.plugins.pmd.exec.PmdResult
- PmdViolationCheckMojo - Klasse in org.apache.maven.plugins.pmd
-
Fails the build if there were any PMD violations in the source code.
- PmdViolationCheckMojo() - Konstruktor für Klasse org.apache.maven.plugins.pmd.PmdViolationCheckMojo
-
Default constructor.
- PmdXpp3Reader - Klasse in org.apache.maven.plugins.pmd.model.io.xpp3
-
Class PmdXpp3Reader.
- PmdXpp3Reader() - Konstruktor für Klasse org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
- PmdXpp3Reader(PmdXpp3Reader.ContentTransformer) - Konstruktor für Klasse org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
- PmdXpp3Reader.ContentTransformer - Schnittstelle in org.apache.maven.plugins.pmd.model.io.xpp3
- printError(D, String) - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
-
Formats the failure details and prints them as an INFO message
- printError(Duplication, String) - Methode in Klasse org.apache.maven.plugins.pmd.CpdViolationCheckMojo
-
Formats the failure details and prints them as an INFO message
- printError(Violation, String) - Methode in Klasse org.apache.maven.plugins.pmd.PmdViolationCheckMojo
-
Formats the failure details and prints them as an INFO message
- printErrors(List<D>, List<D>) - Methode in Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
-
Prints the warnings and failures
- ProcessingError - Klasse in org.apache.maven.plugins.pmd.model
-
Class ProcessingError.
- ProcessingError() - Konstruktor für Klasse org.apache.maven.plugins.pmd.model.ProcessingError
- project - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
-
The project to analyze.
R
- reactorProjects - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
-
The projects in the reactor for aggregation report.
- read(InputStream) - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
-
Method read.
- read(InputStream) - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
-
Method read.
- read(InputStream, boolean) - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
-
Method read.
- read(InputStream, boolean) - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
-
Method read.
- read(Reader) - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
- read(Reader) - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
- read(Reader, boolean) - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
- read(Reader, boolean) - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
- read(XmlPullParser, boolean) - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
-
Method read.
- read(XmlPullParser, boolean) - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
-
Method read.
- removeDuplication(Duplication) - Methode in Klasse org.apache.maven.plugins.pmd.model.CpdErrorDetail
-
Method removeDuplication.
- removeError(ProcessingError) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Method removeError.
- removeFile(CpdFile) - Methode in Klasse org.apache.maven.plugins.pmd.model.Duplication
-
Method removeFile.
- removeFile(PmdFile) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Method removeFile.
- removeSuppressedViolation(SuppressedViolation) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Method removeSuppressedViolation.
- removeViolation(Violation) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdFile
-
Method removeViolation.
- renderBody() - Methode in Klasse org.apache.maven.plugins.pmd.CpdReportRenderer
- renderBody() - Methode in Klasse org.apache.maven.plugins.pmd.PmdReportRenderer
S
- session - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
-
The current build session instance.
- setAddDefaultEntities(boolean) - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
-
Sets the state of the "add default entities" flag.
- setAddDefaultEntities(boolean) - Methode in Klasse org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
-
Sets the state of the "add default entities" flag.
- setAnalysisCacheLocation(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setAuxClasspath(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setBeginline(int) - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Set the beginline field.
- setBenchmarkOutputLocation(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setCodefragment(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.Duplication
-
Set the codefragment field.
- setDetail(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.ProcessingError
-
Set the detail field.
- setDuplications(List<Duplication>) - Methode in Klasse org.apache.maven.plugins.pmd.model.CpdErrorDetail
-
Set the duplications field.
- setEndline(int) - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Set the endline field.
- setErrors(List<ProcessingError>) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Set the errors field.
- setExcludeFromFailureFile(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setExcludeFromFailureFile(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setExternalInfoUrl(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Set the externalInfoUrl field.
- setFailureDetails(List<D>) - Methode in Klasse org.apache.maven.plugins.pmd.ViolationDetails
- setFilename(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.ProcessingError
-
Set the filename field.
- setFilename(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.SuppressedViolation
-
Set the filename field.
- setFileName(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
- setFiles(List<CpdFile>) - Methode in Klasse org.apache.maven.plugins.pmd.model.Duplication
-
Set the files field.
- setFiles(List<PmdFile>) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Set the files field.
- setFormat(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setFormat(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setIgnoreAnnotations(boolean) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setIgnoreIdentifiers(boolean) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setIgnoreLiterals(boolean) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setIncludeXmlInSite(boolean) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setIncludeXmlInSite(boolean) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setJavaExecutable(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setJavaExecutable(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setLanguage(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setLanguageAndVersion(String, String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
-
Configure language and language version.
- setLanguageProperties(Properties) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setLine(int) - Methode in Klasse org.apache.maven.plugins.pmd.model.CpdFile
-
Set the line field.
- setLines(int) - Methode in Klasse org.apache.maven.plugins.pmd.model.Duplication
-
Set the lines field.
- setLogLevel(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setLogLevel(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setMinimumPriority(int) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setMinimumTokens(int) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setModelEncoding(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.CpdErrorDetail
-
Set the modelEncoding field.
- setModelEncoding(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Set the modelEncoding field.
- setMsg(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.ProcessingError
-
Set the msg field.
- setName(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdFile
-
Set the name field.
- setOutputEncoding(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setOutputEncoding(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setPath(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.CpdFile
-
Set the path field.
- setPriority(int) - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Set the priority field.
- setProcessingErrors(Collection<ProcessingError>) - Methode in Klasse org.apache.maven.plugins.pmd.PmdReportRenderer
- setReportOutputDirectory(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setReportOutputDirectory(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setRule(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Set the rule field.
- setRuleMessage(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.SuppressedViolation
-
Set the ruleMessage field.
- setRulesets(String[]) - Methode in Klasse org.apache.maven.plugins.pmd.PmdReport
-
Configures the PMD rulesets to be used directly.
- setRulesets(List<String>) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setSkipPmdError(boolean) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setSourceEncoding(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setSourceEncoding(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setSuppressedViolations(Collection<SuppressedViolation>) - Methode in Klasse org.apache.maven.plugins.pmd.PmdReportRenderer
- setSuppressedViolations(List<SuppressedViolation>) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdErrorDetail
-
Set the suppressedViolations field.
- setSuppressionType(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.SuppressedViolation
-
Set the suppressionType field.
- setSuppressMarker(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setTargetDirectory(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdRequest
- setTargetDirectory(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdRequest
- setText(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Set the text field.
- setTokens(int) - Methode in Klasse org.apache.maven.plugins.pmd.model.Duplication
-
Set the tokens field.
- setupLogLevel(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.CpdExecutor
- setupLogLevel(String) - Methode in Klasse org.apache.maven.plugins.pmd.exec.PmdExecutor
- setUserMessage(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.SuppressedViolation
-
Set the userMessage field.
- setViolationClass(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Set the violationClass field.
- setViolationPackage(String) - Methode in Klasse org.apache.maven.plugins.pmd.model.Violation
-
Set the violationPackage field.
- setViolations(List<Violation>) - Methode in Klasse org.apache.maven.plugins.pmd.model.PmdFile
-
Set the violations field.
- setWarningDetails(List<D>) - Methode in Klasse org.apache.maven.plugins.pmd.ViolationDetails
- showPmdLog - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
-
Veraltet.With 3.22.0 and the upgrade to PMD 7, this parameter has no effect anymore. The PMD log is now always redirected into the maven log and this can't be disabled by this parameter anymore. In order to disable the logging, see Maven Logging. You'd need to start maven with
MAVEN_OPTS=-Dorg.slf4j.simpleLogger.log.net.sourceforge.pmd=off mvn <goals>
. - skipEmptyReport - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
-
Skip the PMD/CPD report generation if there are no violations or duplications found.
- SuppressedViolation - Klasse in org.apache.maven.plugins.pmd.model
-
Class SuppressedViolation.
- SuppressedViolation() - Konstruktor für Klasse org.apache.maven.plugins.pmd.model.SuppressedViolation
T
- targetDirectory - Variable in Klasse org.apache.maven.plugins.pmd.AbstractPmdReport
-
The output directory for the intermediate XML report.
- transform(String, String) - Methode in Schnittstelle org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader.ContentTransformer
-
Interpolate the value read from the xpp3 document
- transform(String, String) - Methode in Schnittstelle org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader.ContentTransformer
-
Interpolate the value read from the xpp3 document
V
- Violation - Klasse in org.apache.maven.plugins.pmd.model
-
Class Violation.
- Violation() - Konstruktor für Klasse org.apache.maven.plugins.pmd.model.Violation
- ViolationDetails<D> - Klasse in org.apache.maven.plugins.pmd
-
Collector of warnings and failures.
- ViolationDetails() - Konstruktor für Klasse org.apache.maven.plugins.pmd.ViolationDetails
Alle Klassen und Schnittstellen|Alle Packages|Serialisierte Form
pmd:aggregate-pmd
andpmd:aggregate-cpd
instead.