Class Pmd
java.lang.Object
edu.hm.hafner.analysis.parser.pmd.Pmd
Java Bean class for warnings of the PMD format.
- Author:
- Ullrich Hafner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new error.voidAdds a new file.Returns all errors.getFiles()Returns all files.
-
Constructor Details
-
Pmd
public Pmd()
-
-
Method Details
-
addFile
Adds a new file.- Parameters:
file- the file to add
-
addError
Adds a new error.- Parameters:
error- the error to add
-
getFiles
Returns all files. The returned collection is read-only.- Returns:
- all files
-
getErrors
Returns all errors. The returned collection is read-only.- Returns:
- all errors
-