java.lang.Object
edu.hm.hafner.analysis.parser.pmd.File
Java Bean class for a file of the PMD format.
- Autor:
- Ullrich Hafner
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddViolation(Violation violation) Adds a new violation to this file.getName()Returns the name of this file.Returns all violations of this file.voidSets the name of this file to the specified value.
-
Konstruktordetails
-
File
public File()
-
-
Methodendetails
-
addViolation
Adds a new violation to this file.- Parameter:
violation- the new violation
-
getViolations
Returns all violations of this file. The returned collection is read-only.- Gibt zurück:
- all violations in this file
-
getName
Returns the name of this file.- Gibt zurück:
- the name of this file
-
setName
Sets the name of this file to the specified value.- Parameter:
name- the value to set
-