Package | Description |
---|---|
com.puppycrawl.tools.checkstyle |
Contains the implementation of the Checkstyle framework.
|
com.puppycrawl.tools.checkstyle.ant |
Contains code related to Checkstyle Ant Task.
|
com.puppycrawl.tools.checkstyle.api |
Contains the core API to be used to implement checks.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultLogger
Simple plain logger for text output.
|
class |
XMLLogger
Simple XML logger.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<AuditListener> |
Checker.listeners
Vector of listeners.
|
Modifier and Type | Method and Description |
---|---|
private static AuditListener |
Main.createListener(java.lang.String format,
java.lang.String outputLocation)
Creates the audit listener.
|
Modifier and Type | Method and Description |
---|---|
void |
Checker.addListener(AuditListener listener) |
void |
Checker.removeListener(AuditListener listener)
Removes a given listener.
|
Modifier and Type | Method and Description |
---|---|
private AuditListener |
CheckstyleAntTask.Formatter.createDefaultLogger(org.apache.tools.ant.Task task)
Creates default logger.
|
AuditListener |
CheckstyleAntTask.Formatter.createListener(org.apache.tools.ant.Task task)
Creates a listener for the formatter.
|
private AuditListener |
CheckstyleAntTask.Formatter.createXmlLogger(org.apache.tools.ant.Task task)
Creates XML logger.
|
private AuditListener[] |
CheckstyleAntTask.getListeners()
Return the list of listeners set in this task.
|
Modifier and Type | Class and Description |
---|---|
class |
SeverityLevelCounter
An audit listener that counts how many
AuditEvents
of a given severity have been generated. |
Modifier and Type | Method and Description |
---|---|
void |
RootModule.addListener(AuditListener listener)
Add the listener that will be used to receive events from the audit.
|