Class PmdFile
java.lang.Object
org.apache.maven.plugins.pmd.model.PmdFile
- All Implemented Interfaces:
Serializable
Class PmdFile.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addViolation
(Violation violation) Method addViolation.getName()
Get the name field.Method getViolations.void
removeViolation
(Violation violation) Method removeViolation.void
Set the name field.void
setViolations
(List<Violation> violations) Set the violations field.
-
Constructor Details
-
PmdFile
public PmdFile()
-
-
Method Details
-
addViolation
Method addViolation.- Parameters:
violation
-
-
getName
Get the name field.- Returns:
- String
-
getViolations
Method getViolations.- Returns:
- List
-
removeViolation
Method removeViolation.- Parameters:
violation
-
-
setName
Set the name field.- Parameters:
name
-
-
setViolations
Set the violations field.- Parameters:
violations
-
-