Uses of Interface
com.puppycrawl.tools.checkstyle.api.AuditListener
-
Packages that use AuditListener 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. -
-
Uses of AuditListener in com.puppycrawl.tools.checkstyle
Classes in com.puppycrawl.tools.checkstyle that implement AuditListener Modifier and Type Class Description classDefaultLoggerSimple plain logger for text output.classMetadataGeneratorLoggerSimple logger for metadata generator util.classSarifLoggerSimple SARIF logger.classXMLLoggerSimple XML logger.classXpathFileGeneratorAuditListenerGenerates suppressions.xml file, based on violations occurred.Fields in com.puppycrawl.tools.checkstyle with type parameters of type AuditListener Modifier and Type Field Description private java.util.List<AuditListener>Checker. listenersVector of listeners.Methods in com.puppycrawl.tools.checkstyle that return AuditListener Modifier and Type Method Description private static AuditListenerMain. createListener(Main.OutputFormat format, java.nio.file.Path outputLocation)This method creates in AuditListener an open stream for validation data, it must be closed byRootModule(default implementation isChecker) by callingauditFinished(AuditEvent).AuditListenerMain.OutputFormat. createListener(java.io.OutputStream out, AutomaticBean.OutputStreamOptions options)Returns a new AuditListener for this OutputFormat.Methods in com.puppycrawl.tools.checkstyle with parameters of type AuditListener Modifier and Type Method Description 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 AuditListener Modifier and Type Method Description private AuditListenerCheckstyleAntTask.Formatter. createDefaultLogger(org.apache.tools.ant.Task task)Creates default logger.AuditListenerCheckstyleAntTask.Formatter. createListener(org.apache.tools.ant.Task task)Creates a listener for the formatter.private AuditListenerCheckstyleAntTask.Formatter. createXmlLogger(org.apache.tools.ant.Task task)Creates XML logger.private AuditListener[]CheckstyleAntTask. getListeners()Return the list of listeners set in this task. -
Uses of AuditListener in com.puppycrawl.tools.checkstyle.api
Classes in com.puppycrawl.tools.checkstyle.api that implement AuditListener Modifier and Type Class Description classSeverityLevelCounterAn audit listener that counts how manyAuditEventsof a given severity have been generated.Methods in com.puppycrawl.tools.checkstyle.api with parameters of type AuditListener Modifier and Type Method Description voidRootModule. addListener(AuditListener listener)Add the listener that will be used to receive events from the audit.
-