ua.gradsoft.javachecker
Class Violations
java.lang.Object
ua.gradsoft.javachecker.Violations
public class Violations
- extends java.lang.Object
Set of violations, found in source
|
Constructor Summary |
Violations()
Creates a new instance of Violations |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Violations
public Violations()
- Creates a new instance of Violations
addType
public void addType(java.lang.String typeOfViolation,
java.lang.String category,
java.lang.String description,
boolean enabledByDefault)
readPreferences
public void readPreferences(JavaFacts facts)
getCategory
public java.lang.String getCategory(java.lang.String typeOfViolation)
discovered
public void discovered(java.lang.String typeOfViolation)
enabled
public boolean enabled(java.lang.String typeOfViolation)
setEnabled
public void setEnabled(java.lang.String typeOfViolation,
boolean value)
getCounterByName
public int getCounterByName(java.lang.String name)
report
public void report(java.io.PrintStream out,
ReportFormat format)