Uses of Interface
com.puppycrawl.tools.checkstyle.api.AuditListener
Packages that use AuditListener
Package
Description
Contains the implementation of the Checkstyle framework.
Contains code related to Checkstyle Ant Task.
Contains the core API to be used to implement checks.
-
Uses of AuditListener in com.puppycrawl.tools.checkstyle
Classes in com.puppycrawl.tools.checkstyle that implement AuditListenerModifier and TypeClassDescriptionclassGenerates suppressions.xml file, based on violations occurred.classSimple plain logger for text output.classSimple logger for metadata generator util.classSimple SARIF logger.classSimple XML logger.classGenerates suppressions.xml file, based on violations occurred.Fields in com.puppycrawl.tools.checkstyle with type parameters of type AuditListenerModifier and TypeFieldDescriptionprivate final List<AuditListener>Checker.listenersVector of listeners.Methods in com.puppycrawl.tools.checkstyle that return AuditListenerModifier and TypeMethodDescriptionprivate static AuditListenerMain.createListener(Main.OutputFormat format, Path outputLocation) This method creates in AuditListener an open stream for validation data, it must be closed byRootModule(default implementation isChecker) by callingauditFinished(AuditEvent).Main.OutputFormat.createListener(OutputStream out, AbstractAutomaticBean.OutputStreamOptions options) Returns a new AuditListener for this OutputFormat.Methods in com.puppycrawl.tools.checkstyle with parameters of type AuditListenerModifier and TypeMethodDescriptionfinal voidChecker.addListener(AuditListener listener) voidChecker.removeListener(AuditListener listener) Removes a given listener. -
Uses of AuditListener in com.puppycrawl.tools.checkstyle.ant
Methods in com.puppycrawl.tools.checkstyle.ant that return AuditListenerModifier and TypeMethodDescriptionprivate AuditListenerCheckstyleAntTask.Formatter.createDefaultLogger(org.apache.tools.ant.Task task) Creates default logger.CheckstyleAntTask.Formatter.createListener(org.apache.tools.ant.Task task) Creates a listener for the formatter.private AuditListenerCheckstyleAntTask.Formatter.createSarifLogger(org.apache.tools.ant.Task task) Creates Sarif logger.private AuditListenerCheckstyleAntTask.Formatter.createXmlLogger(org.apache.tools.ant.Task task) Creates XML logger.private AuditListener[]CheckstyleAntTask.getListeners()Return the array of listeners set in this task. -
Uses of AuditListener in com.puppycrawl.tools.checkstyle.api
Classes in com.puppycrawl.tools.checkstyle.api that implement AuditListenerModifier and TypeClassDescriptionfinal classAn audit listener that counts how manyAuditEventsof a given severity have been generated.Methods in com.puppycrawl.tools.checkstyle.api with parameters of type AuditListenerModifier and TypeMethodDescriptionvoidRootModule.addListener(AuditListener listener) Add the listener that will be used to receive events from the audit.