A B C D E F G H I L M N O P R S T V 
All Classes All Packages

A

AbstractPmdReport - Class in org.apache.maven.plugins.pmd
Base class for the PMD reports.
AbstractPmdReport() - Constructor for class org.apache.maven.plugins.pmd.AbstractPmdReport
 
AbstractPmdViolationCheckMojo<D> - Class in org.apache.maven.plugins.pmd
Base class for mojos that check if there were any PMD violations.
AbstractPmdViolationCheckMojo(ExcludeFromFile<D>) - Constructor for class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
Initialize this abstact check mojo by giving the correct ExcludeFromFile helper.
addDuplication(Duplication) - Method in class org.apache.maven.plugins.pmd.model.CpdErrorDetail
Method addDuplication.
addError(ProcessingError) - Method in class org.apache.maven.plugins.pmd.model.PmdErrorDetail
Method addError.
addFile(CpdFile) - Method in class org.apache.maven.plugins.pmd.model.Duplication
Method addFile.
addFile(PmdFile) - Method in class org.apache.maven.plugins.pmd.model.PmdErrorDetail
Method addFile.
addFiles(Collection<File>) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
addFiles(Collection<File>) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
addViolation(Violation) - Method in class org.apache.maven.plugins.pmd.model.PmdFile
Method addViolation.
aggregate - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
Whether to build an aggregated report at the root, or build individual reports.
aggregate - Variable in class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
Whether to build an aggregated report at the root, or build individual reports.
asReport() - Method in class org.apache.maven.plugins.pmd.PmdCollectingRenderer
Create a new single report with all violations for further rendering into other formats than HTML.

B

beginDocument() - Method in class org.apache.maven.plugins.pmd.CpdReportGenerator
Method that generates the start of the CPD report.
beginDocument() - Method in class org.apache.maven.plugins.pmd.PmdReportGenerator
 

C

canGenerateReport() - Method in class org.apache.maven.plugins.pmd.AbstractPmdReport
canGenerateReport() - Method in class org.apache.maven.plugins.pmd.CpdReport
 
canGenerateReport() - Method in class org.apache.maven.plugins.pmd.PmdReport
 
constructXRefLocation(boolean) - Method in class org.apache.maven.plugins.pmd.AbstractPmdReport
 
contentTransformer - Variable in class org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
Field contentTransformer.
contentTransformer - Variable in class org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
Field contentTransformer.
countExclusions() - Method in class org.apache.maven.plugins.pmd.ExcludeDuplicationsFromFile
 
countExclusions() - Method in interface org.apache.maven.plugins.pmd.ExcludeFromFile
Determines how many exclusions are considered.
countExclusions() - Method in class org.apache.maven.plugins.pmd.ExcludeViolationsFromFile
 
CpdErrorDetail - Class in org.apache.maven.plugins.pmd.model
Class CpdErrorDetail.
CpdErrorDetail() - Constructor for class org.apache.maven.plugins.pmd.model.CpdErrorDetail
 
CpdExecutor - Class in org.apache.maven.plugins.pmd.exec
Executes CPD with the configuration provided via CpdRequest.
CpdExecutor(CpdRequest) - Constructor for class org.apache.maven.plugins.pmd.exec.CpdExecutor
 
CpdFile - Class in org.apache.maven.plugins.pmd.model
Class CpdFile.
CpdFile() - Constructor for class org.apache.maven.plugins.pmd.model.CpdFile
 
CpdReport - Class in org.apache.maven.plugins.pmd
Creates a report for PMD's CPD tool.
CpdReport() - Constructor for class org.apache.maven.plugins.pmd.CpdReport
 
CpdReportGenerator - Class in org.apache.maven.plugins.pmd
Class that generated the CPD report.
CpdReportGenerator(Sink, Map<File, PmdFileInfo>, ResourceBundle, boolean) - Constructor for class org.apache.maven.plugins.pmd.CpdReportGenerator
 
CpdRequest - Class in org.apache.maven.plugins.pmd.exec
Data object to store all configuration options needed to execute CPD as a separate process.
CpdRequest() - Constructor for class org.apache.maven.plugins.pmd.exec.CpdRequest
 
CpdResult - Class in org.apache.maven.plugins.pmd.exec
Provides access to the result of the CPD analysis.
CpdResult(File, String) - Constructor for class org.apache.maven.plugins.pmd.exec.CpdResult
 
CpdViolationCheckMojo - Class in org.apache.maven.plugins.pmd
Fail the build if there were any CPD violations in the source code.
CpdViolationCheckMojo() - Constructor for class org.apache.maven.plugins.pmd.CpdViolationCheckMojo
Default constructor.
CpdXpp3Reader - Class in org.apache.maven.plugins.pmd.model.io.xpp3
Class CpdXpp3Reader.
CpdXpp3Reader() - Constructor for class org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
 
CpdXpp3Reader(CpdXpp3Reader.ContentTransformer) - Constructor for class org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
 
CpdXpp3Reader.ContentTransformer - Interface in org.apache.maven.plugins.pmd.model.io.xpp3
 
createRenderer() - Method in class org.apache.maven.plugins.pmd.CpdReport
createRenderer() - Method in class org.apache.maven.plugins.pmd.PmdReport
createRenderer(String, String) - Static method in class org.apache.maven.plugins.pmd.exec.CpdExecutor
Create and return the correct renderer for the output type.
createRenderer(String, String) - Static method in class org.apache.maven.plugins.pmd.exec.PmdExecutor
Create and return the correct renderer for the output type.

D

defaultFileExtension() - Method in class org.apache.maven.plugins.pmd.PmdCollectingRenderer
 
determineCurrentRootLogLevel() - Method in class org.apache.maven.plugins.pmd.AbstractPmdReport
 
Duplication - Class in org.apache.maven.plugins.pmd.model
Class Duplication.
Duplication() - Constructor for class org.apache.maven.plugins.pmd.model.Duplication
 

E

EMPTY - Static variable in class org.apache.maven.plugins.pmd.exec.PmdResult
 
end() - Method in class org.apache.maven.plugins.pmd.PmdCollectingRenderer
 
endDocument() - Method in class org.apache.maven.plugins.pmd.PmdReportGenerator
 
ExcludeDuplicationsFromFile - Class 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() - Constructor for class org.apache.maven.plugins.pmd.ExcludeDuplicationsFromFile
 
excludeFromFailureFile - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
File that lists classes and rules to be excluded from failures.
ExcludeFromFile<D> - Interface in org.apache.maven.plugins.pmd
 
ExcludeViolationsFromFile - Class 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() - Constructor for class org.apache.maven.plugins.pmd.ExcludeViolationsFromFile
 
execute() - Method in class org.apache.maven.plugins.pmd.CpdViolationCheckMojo
execute() - Method in class org.apache.maven.plugins.pmd.HelpMojo
execute() - Method in class org.apache.maven.plugins.pmd.PmdViolationCheckMojo
execute(CpdRequest) - Static method in class org.apache.maven.plugins.pmd.exec.CpdExecutor
 
execute(PmdRequest) - Static method in class org.apache.maven.plugins.pmd.exec.PmdExecutor
 
executeCheck(String, String, String, int) - Method in class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
 
executeReport(Locale) - Method in class org.apache.maven.plugins.pmd.CpdReport
executeReport(Locale) - Method in class org.apache.maven.plugins.pmd.PmdReport

F

failOnViolation - Variable in class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
Whether to fail the build if the validation check fails.
failOnViolation - Variable in class org.apache.maven.plugins.pmd.CpdViolationCheckMojo
Whether to fail the build if the validation check fails.
filesToProcess - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
The files that are being analyzed.
format - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
Set the output format type, in addition to the HTML report.

G

generate(List<Duplication>) - Method in class org.apache.maven.plugins.pmd.CpdReportGenerator
Method that generates the contents of the CPD report
getAddDefaultEntities() - Method in class org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
Returns the state of the "add default entities" flag.
getAddDefaultEntities() - Method in class org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
Returns the state of the "add default entities" flag.
getAnalysisCacheLocation() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getAuxClasspath() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getBeginline() - Method in class org.apache.maven.plugins.pmd.model.Violation
Get the beginline field.
getBenchmarkOutputLocation() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getCodefragment() - Method in class org.apache.maven.plugins.pmd.model.Duplication
Get the codefragment field.
getDescription(Locale) - Method in class org.apache.maven.plugins.pmd.CpdReport
getDescription(Locale) - Method in class org.apache.maven.plugins.pmd.PmdReport
getDetail() - Method in class org.apache.maven.plugins.pmd.model.ProcessingError
Get the detail field.
getDuplications() - Method in class org.apache.maven.plugins.pmd.exec.CpdResult
 
getDuplications() - Method in class org.apache.maven.plugins.pmd.model.CpdErrorDetail
Method getDuplications.
getEndline() - Method in class org.apache.maven.plugins.pmd.model.Violation
Get the endline field.
getErrorDetails(File) - Method in class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
Gets the attributes and text for the violation tag and puts them in a HashMap
getErrorDetails(File) - Method in class org.apache.maven.plugins.pmd.CpdViolationCheckMojo
Gets the attributes and text for the violation tag and puts them in a HashMap
getErrorDetails(File) - Method in class org.apache.maven.plugins.pmd.PmdViolationCheckMojo
 
getErrors() - Method in class org.apache.maven.plugins.pmd.exec.PmdResult
 
getErrors() - Method in class org.apache.maven.plugins.pmd.model.PmdErrorDetail
Method getErrors.
getErrors() - Method in class org.apache.maven.plugins.pmd.PmdCollectingRenderer
Gets all the processing errors.
getErrorsAsString(boolean) - Method in class org.apache.maven.plugins.pmd.PmdCollectingRenderer
Gets the errors as a single string.
getExcludeFromFailureFile() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
getExcludeFromFailureFile() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getExternalInfoUrl() - Method in class org.apache.maven.plugins.pmd.model.Violation
Get the externalInfoUrl field.
getFailureDetails() - Method in class org.apache.maven.plugins.pmd.ViolationDetails
 
getFilename() - Method in class org.apache.maven.plugins.pmd.model.ProcessingError
Get the filename field.
getFileName() - Method in class org.apache.maven.plugins.pmd.model.Violation
 
getFiles() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
getFiles() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getFiles() - Method in class org.apache.maven.plugins.pmd.model.Duplication
Method getFiles.
getFiles() - Method in class org.apache.maven.plugins.pmd.model.PmdErrorDetail
Method getFiles.
getFilesToProcess() - Method in class org.apache.maven.plugins.pmd.AbstractPmdReport
Convenience method to get the list of files where the PMD tool will be executed
getFormat() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
getFormat() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getJavaExecutable() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
getJavaExecutable() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getLanguage() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
getLanguage() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getLanguageProperties() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
getLanguageVersion() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getLine() - Method in class org.apache.maven.plugins.pmd.model.CpdFile
Get the line field.
getLines() - Method in class org.apache.maven.plugins.pmd.model.Duplication
Get the lines field.
getLocationTemp(String) - Method in class org.apache.maven.plugins.pmd.PmdReport
Convenience method to get the location of the specified file name.
getLogLevel() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
getLogLevel() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getMaxAllowedViolations() - Method in class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
 
getMinimumPriority() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getMinimumTokens() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
getModelEncoding() - Method in class org.apache.maven.plugins.pmd.model.CpdErrorDetail
Get the modelEncoding field.
getModelEncoding() - Method in class org.apache.maven.plugins.pmd.model.PmdErrorDetail
Get the modelEncoding field.
getMsg() - Method in class org.apache.maven.plugins.pmd.model.ProcessingError
Get the msg field.
getName() - Method in class org.apache.maven.plugins.pmd.model.PmdFile
Get the name field.
getName(Locale) - Method in class org.apache.maven.plugins.pmd.CpdReport
getName(Locale) - Method in class org.apache.maven.plugins.pmd.PmdReport
getOutputDirectory() - Method in class org.apache.maven.plugins.pmd.AbstractPmdReport
getOutputEncoding() - Method in class org.apache.maven.plugins.pmd.AbstractPmdReport
Gets the effective reporting output files encoding.
getOutputEncoding() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
getOutputEncoding() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getOutputName() - Method in class org.apache.maven.plugins.pmd.CpdReport
getOutputName() - Method in class org.apache.maven.plugins.pmd.PmdReport
getPath() - Method in class org.apache.maven.plugins.pmd.model.CpdFile
Get the path field.
getPriority() - Method in class org.apache.maven.plugins.pmd.model.Violation
Get the priority field.
getPriority(D) - Method in class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
 
getPriority(Duplication) - Method in class org.apache.maven.plugins.pmd.CpdViolationCheckMojo
 
getPriority(Violation) - Method in class org.apache.maven.plugins.pmd.PmdViolationCheckMojo
 
getProcessingErrors() - Method in class org.apache.maven.plugins.pmd.PmdReportGenerator
 
getProject() - Method in class org.apache.maven.plugins.pmd.AbstractPmdReport
getProject() - Method in class org.apache.maven.plugins.pmd.PmdFileInfo
 
getReportOutputDirectory() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
getReportOutputDirectory() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getRule() - Method in class org.apache.maven.plugins.pmd.model.Violation
Get the rule field.
getRulesets() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getSiteRenderer() - Method in class org.apache.maven.plugins.pmd.AbstractPmdReport
getSourceDirectory() - Method in class org.apache.maven.plugins.pmd.PmdFileInfo
 
getSourceEncoding() - Method in class org.apache.maven.plugins.pmd.AbstractPmdReport
 
getSourceEncoding() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
getSourceEncoding() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getSourceEncoding() - Method in class org.apache.maven.plugins.pmd.PmdReport
 
getSuppressMarker() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getTargetDirectory() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
getTargetDirectory() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
getText() - Method in class org.apache.maven.plugins.pmd.model.Violation
Get the text field.
getTokens() - Method in class org.apache.maven.plugins.pmd.model.Duplication
Get the tokens field.
getToolchain() - Method in class org.apache.maven.plugins.pmd.AbstractPmdReport
 
getViolationClass() - Method in class org.apache.maven.plugins.pmd.model.Violation
Get the violationClass field.
getViolationPackage() - Method in class org.apache.maven.plugins.pmd.model.Violation
Get the violationPackage field.
getViolations() - Method in class org.apache.maven.plugins.pmd.exec.PmdResult
 
getViolations() - Method in class org.apache.maven.plugins.pmd.model.PmdFile
Method getViolations.
getViolations() - Method in class org.apache.maven.plugins.pmd.PmdCollectingRenderer
Gets the list of all found violations.
getViolations() - Method in class org.apache.maven.plugins.pmd.PmdReportGenerator
 
getWarningDetails() - Method in class org.apache.maven.plugins.pmd.ViolationDetails
 
getXrefLocation() - Method in class org.apache.maven.plugins.pmd.PmdFileInfo
 

H

hasDuplications() - Method in class org.apache.maven.plugins.pmd.exec.CpdResult
 
hasErrors() - Method in class org.apache.maven.plugins.pmd.PmdCollectingRenderer
Checks whether any processing errors have been found.
hasViolations() - Method in class org.apache.maven.plugins.pmd.exec.PmdResult
 
hasViolations() - Method in class org.apache.maven.plugins.pmd.PmdCollectingRenderer
Checks whether any violations have been found.
HelpMojo - Class in org.apache.maven.plugins.pmd
Display help information on maven-pmd-plugin.
Call mvn pmd:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
HelpMojo() - Constructor for class org.apache.maven.plugins.pmd.HelpMojo
 

I

includeTests - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
Run PMD on the tests.
includeXmlInSite - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
Whether to include the xml files generated by PMD/CPD in the site.
isColorizedLog() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
isColorizedLog() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
isDebugEnabled() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
isExcludedFromFailure(D) - Method in interface org.apache.maven.plugins.pmd.ExcludeFromFile
Checks whether the given violation is excluded.
isExcludedFromFailure(Match) - Method in class org.apache.maven.plugins.pmd.ExcludeDuplicationsFromFile
Checks whether the given Match is excluded.
isExcludedFromFailure(RuleViolation) - Method in class org.apache.maven.plugins.pmd.ExcludeViolationsFromFile
Checks whether the given RuleViolation is excluded.
isExcludedFromFailure(Duplication) - Method in class org.apache.maven.plugins.pmd.ExcludeDuplicationsFromFile
 
isExcludedFromFailure(Violation) - Method in class org.apache.maven.plugins.pmd.ExcludeViolationsFromFile
 
isFailOnViolation() - Method in class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
 
isFailOnViolation() - Method in class org.apache.maven.plugins.pmd.CpdViolationCheckMojo
 
isIncludeXmlInSite() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
isIncludeXmlInSite() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
isShowPmdLog() - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
isShowPmdLog() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
isSkipPmdError() - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
isXml() - Method in class org.apache.maven.plugins.pmd.AbstractPmdReport
 

L

loadExcludeFromFailuresData(String) - Method in class org.apache.maven.plugins.pmd.ExcludeDuplicationsFromFile
 
loadExcludeFromFailuresData(String) - Method in interface org.apache.maven.plugins.pmd.ExcludeFromFile
Loads the exclude definitions from the given file.
loadExcludeFromFailuresData(String) - Method in class org.apache.maven.plugins.pmd.ExcludeViolationsFromFile
 

M

main(String[]) - Static method in class org.apache.maven.plugins.pmd.exec.CpdExecutor
Execute CPD analysis from CLI.
main(String[]) - Static method in class org.apache.maven.plugins.pmd.exec.PmdExecutor
Execute PMD analysis from CLI.

N

newViolationDetailsInstance() - Method in class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
 
newViolationDetailsInstance() - Method in class org.apache.maven.plugins.pmd.CpdViolationCheckMojo
 
newViolationDetailsInstance() - Method in class org.apache.maven.plugins.pmd.PmdViolationCheckMojo
 

O

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
 
outputDirectory - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
The output directory for the final HTML report.

P

PmdCollectingRenderer - Class in org.apache.maven.plugins.pmd
A PMD renderer, that collects all violations and processing errors from a pmd execution.
PmdCollectingRenderer() - Constructor for class org.apache.maven.plugins.pmd.PmdCollectingRenderer
Collects all reports from all threads.
PmdErrorDetail - Class in org.apache.maven.plugins.pmd.model
Class PmdErrorDetail.
PmdErrorDetail() - Constructor for class org.apache.maven.plugins.pmd.model.PmdErrorDetail
 
PmdExecutor - Class in org.apache.maven.plugins.pmd.exec
Executes PMD with the configuration provided via PmdRequest.
PmdExecutor(PmdRequest) - Constructor for class org.apache.maven.plugins.pmd.exec.PmdExecutor
 
PmdFile - Class in org.apache.maven.plugins.pmd.model
Class PmdFile.
PmdFile() - Constructor for class org.apache.maven.plugins.pmd.model.PmdFile
 
PmdFileInfo - Class in org.apache.maven.plugins.pmd
 
PmdFileInfo(MavenProject, File, String) - Constructor for class org.apache.maven.plugins.pmd.PmdFileInfo
 
PmdReport - Class in org.apache.maven.plugins.pmd
Creates a PMD report.
PmdReport() - Constructor for class org.apache.maven.plugins.pmd.PmdReport
 
PmdReportGenerator - Class in org.apache.maven.plugins.pmd
Render the PMD violations into Doxia events.
PmdReportGenerator(Log, Sink, ResourceBundle, boolean) - Constructor for class org.apache.maven.plugins.pmd.PmdReportGenerator
 
PmdRequest - Class in org.apache.maven.plugins.pmd.exec
Data object to store all configuration options needed to execute PMD as a separate process.
PmdRequest() - Constructor for class org.apache.maven.plugins.pmd.exec.PmdRequest
 
PmdResult - Class in org.apache.maven.plugins.pmd.exec
Provides access to the result of the pmd analysis.
PmdResult(File, String) - Constructor for class org.apache.maven.plugins.pmd.exec.PmdResult
 
PmdViolationCheckMojo - Class in org.apache.maven.plugins.pmd
Fail the build if there were any PMD violations in the source code.
PmdViolationCheckMojo() - Constructor for class org.apache.maven.plugins.pmd.PmdViolationCheckMojo
Default constructor.
PmdXpp3Reader - Class in org.apache.maven.plugins.pmd.model.io.xpp3
Class PmdXpp3Reader.
PmdXpp3Reader() - Constructor for class org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
 
PmdXpp3Reader(PmdXpp3Reader.ContentTransformer) - Constructor for class org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
 
PmdXpp3Reader.ContentTransformer - Interface in org.apache.maven.plugins.pmd.model.io.xpp3
 
printError(D, String) - Method in class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
Formats the failure details and prints them as an INFO message
printError(Duplication, String) - Method in class org.apache.maven.plugins.pmd.CpdViolationCheckMojo
Formats the failure details and prints them as an INFO message
printError(Violation, String) - Method in class org.apache.maven.plugins.pmd.PmdViolationCheckMojo
Formats the failure details and prints them as an INFO message
printErrors(List<D>, List<D>) - Method in class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
Prints the warnings and failures
ProcessingError - Class in org.apache.maven.plugins.pmd.model
Class ProcessingError.
ProcessingError() - Constructor for class org.apache.maven.plugins.pmd.model.ProcessingError
 
project - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
The project to analyse.
project - Variable in class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo
The project to analyze.

R

reactorProjects - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
The projects in the reactor for aggregation report.
read(InputStream) - Method in class org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
Method read.
read(InputStream) - Method in class org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
Method read.
read(InputStream, boolean) - Method in class org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
Method read.
read(InputStream, boolean) - Method in class org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
Method read.
read(Reader) - Method in class org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
 
read(Reader) - Method in class org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
 
read(Reader, boolean) - Method in class org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
 
read(Reader, boolean) - Method in class org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
 
removeDuplication(Duplication) - Method in class org.apache.maven.plugins.pmd.model.CpdErrorDetail
Method removeDuplication.
removeError(ProcessingError) - Method in class org.apache.maven.plugins.pmd.model.PmdErrorDetail
Method removeError.
removeFile(CpdFile) - Method in class org.apache.maven.plugins.pmd.model.Duplication
Method removeFile.
removeFile(PmdFile) - Method in class org.apache.maven.plugins.pmd.model.PmdErrorDetail
Method removeFile.
removeViolation(Violation) - Method in class org.apache.maven.plugins.pmd.model.PmdFile
Method removeViolation.
render() - Method in class org.apache.maven.plugins.pmd.PmdReportGenerator
 
renderFileReport(Report) - Method in class org.apache.maven.plugins.pmd.PmdCollectingRenderer
 

S

session - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
The current build session instance.
setAddDefaultEntities(boolean) - Method in class org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader
Sets the state of the "add default entities" flag.
setAddDefaultEntities(boolean) - Method in class org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader
Sets the state of the "add default entities" flag.
setAnalysisCacheLocation(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setAuxClasspath(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setBeginline(int) - Method in class org.apache.maven.plugins.pmd.model.Violation
Set the beginline field.
setBenchmarkOutputLocation(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setCodefragment(String) - Method in class org.apache.maven.plugins.pmd.model.Duplication
Set the codefragment field.
setColorizedLog(boolean) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setColorizedLog(boolean) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setDetail(String) - Method in class org.apache.maven.plugins.pmd.model.ProcessingError
Set the detail field.
setDuplications(List<Duplication>) - Method in class org.apache.maven.plugins.pmd.model.CpdErrorDetail
Set the duplications field.
setEndline(int) - Method in class org.apache.maven.plugins.pmd.model.Violation
Set the endline field.
setErrors(List<ProcessingError>) - Method in class org.apache.maven.plugins.pmd.model.PmdErrorDetail
Set the errors field.
setExcludeFromFailureFile(String) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setExcludeFromFailureFile(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setExternalInfoUrl(String) - Method in class org.apache.maven.plugins.pmd.model.Violation
Set the externalInfoUrl field.
setFailureDetails(List<D>) - Method in class org.apache.maven.plugins.pmd.ViolationDetails
 
setFilename(String) - Method in class org.apache.maven.plugins.pmd.model.ProcessingError
Set the filename field.
setFileName(String) - Method in class org.apache.maven.plugins.pmd.model.Violation
 
setFiles(List<CpdFile>) - Method in class org.apache.maven.plugins.pmd.model.Duplication
Set the files field.
setFiles(List<PmdFile>) - Method in class org.apache.maven.plugins.pmd.model.PmdErrorDetail
Set the files field.
setFiles(Map<File, PmdFileInfo>) - Method in class org.apache.maven.plugins.pmd.PmdReportGenerator
 
setFormat(String) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setFormat(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setIncludeXmlInSite(boolean) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setIncludeXmlInSite(boolean) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setJavaExecutable(String) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setJavaExecutable(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setLanguage(String) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setLanguageAndVersion(String, String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
Configure language and language version.
setLanguageProperties(Properties) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setLine(int) - Method in class org.apache.maven.plugins.pmd.model.CpdFile
Set the line field.
setLines(int) - Method in class org.apache.maven.plugins.pmd.model.Duplication
Set the lines field.
setLogLevel(String) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setLogLevel(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setMinimumPriority(int) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setMinimumTokens(int) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setModelEncoding(String) - Method in class org.apache.maven.plugins.pmd.model.CpdErrorDetail
Set the modelEncoding field.
setModelEncoding(String) - Method in class org.apache.maven.plugins.pmd.model.PmdErrorDetail
Set the modelEncoding field.
setMsg(String) - Method in class org.apache.maven.plugins.pmd.model.ProcessingError
Set the msg field.
setName(String) - Method in class org.apache.maven.plugins.pmd.model.PmdFile
Set the name field.
setOutputEncoding(String) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setOutputEncoding(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setPath(String) - Method in class org.apache.maven.plugins.pmd.model.CpdFile
Set the path field.
setPriority(int) - Method in class org.apache.maven.plugins.pmd.model.Violation
Set the priority field.
setProcessingErrors(Collection<ProcessingError>) - Method in class org.apache.maven.plugins.pmd.PmdReportGenerator
 
setRenderRuleViolationPriority(boolean) - Method in class org.apache.maven.plugins.pmd.PmdReportGenerator
 
setRenderViolationsByPriority(boolean) - Method in class org.apache.maven.plugins.pmd.PmdReportGenerator
 
setReportOutputDirectory(String) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setReportOutputDirectory(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setRule(String) - Method in class org.apache.maven.plugins.pmd.model.Violation
Set the rule field.
setRulesets(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setRulesets(String[]) - Method in class org.apache.maven.plugins.pmd.PmdReport
Configures the PMD rulesets to be used directly.
setShowPmdLog(boolean) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setShowPmdLog(boolean) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setSkipPmdError(boolean) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setSourceEncoding(String) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setSourceEncoding(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setSuppressMarker(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setTargetDirectory(String) - Method in class org.apache.maven.plugins.pmd.exec.CpdRequest
 
setTargetDirectory(String) - Method in class org.apache.maven.plugins.pmd.exec.PmdRequest
 
setText(String) - Method in class org.apache.maven.plugins.pmd.model.Violation
Set the text field.
setTokens(int) - Method in class org.apache.maven.plugins.pmd.model.Duplication
Set the tokens field.
setViolationClass(String) - Method in class org.apache.maven.plugins.pmd.model.Violation
Set the violationClass field.
setViolationPackage(String) - Method in class org.apache.maven.plugins.pmd.model.Violation
Set the violationPackage field.
setViolations(Collection<Violation>) - Method in class org.apache.maven.plugins.pmd.PmdReportGenerator
 
setViolations(List<Violation>) - Method in class org.apache.maven.plugins.pmd.model.PmdFile
Set the violations field.
setWarningDetails(List<D>) - Method in class org.apache.maven.plugins.pmd.ViolationDetails
 
showPmdLog - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
Redirect PMD log into maven log out.
skipEmptyReport - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
Skip the PMD/CPD report generation if there are no violations or duplications found.
start() - Method in class org.apache.maven.plugins.pmd.PmdCollectingRenderer
 
startFileAnalysis(DataSource) - Method in class org.apache.maven.plugins.pmd.PmdCollectingRenderer
 

T

targetDirectory - Variable in class org.apache.maven.plugins.pmd.AbstractPmdReport
The output directory for the intermediate XML report.
transform(String, String) - Method in interface org.apache.maven.plugins.pmd.model.io.xpp3.CpdXpp3Reader.ContentTransformer
Interpolate the value read from the xpp3 document
transform(String, String) - Method in interface org.apache.maven.plugins.pmd.model.io.xpp3.PmdXpp3Reader.ContentTransformer
Interpolate the value read from the xpp3 document

V

Violation - Class in org.apache.maven.plugins.pmd.model
Class Violation.
Violation() - Constructor for class org.apache.maven.plugins.pmd.model.Violation
 
ViolationDetails<D> - Class in org.apache.maven.plugins.pmd
Collector of warnings and failures.
ViolationDetails() - Constructor for class org.apache.maven.plugins.pmd.ViolationDetails
 
A B C D E F G H I L M N O P R S T V 
All Classes All Packages