java.lang.Object
edu.hm.hafner.analysis.parser.checkstyle.File
Java Bean class for a file of the Checkstyle format.
- Author:
- Ullrich Hafner
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
File
public File()
-
-
Method Details
-
addError
Adds a new violation to this file.- Parameters:
violation- the new violation
-
getErrors
Returns all violations of this file. The returned collection is read-only.- Returns:
- all violations in this file
-
getName
Returns the name of this file.- Returns:
- the name of this file
-
setName
Sets the name of this file to the specified value.- Parameters:
name- the value to set
-