Uses of Class
com.puppycrawl.tools.checkstyle.api.AuditEvent
-
Packages that use AuditEvent Package Description com.puppycrawl.tools.checkstyle Contains the implementation of the Checkstyle framework.com.puppycrawl.tools.checkstyle.api Contains the core API to be used to implement checks.com.puppycrawl.tools.checkstyle.checks Contains the checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.filters Contains the filters that are bundled with the main distribution. -
-
Uses of AuditEvent in com.puppycrawl.tools.checkstyle
Methods in com.puppycrawl.tools.checkstyle with parameters of type AuditEvent Modifier and Type Method Description voidDefaultLogger. addError(AuditEvent event)Print an Emacs compliant line on the error stream.voidXMLLogger. addError(AuditEvent event)voidDefaultLogger. addException(AuditEvent event, java.lang.Throwable throwable)voidXMLLogger. addException(AuditEvent event, java.lang.Throwable throwable)voidDefaultLogger. auditFinished(AuditEvent event)voidXMLLogger. auditFinished(AuditEvent event)voidDefaultLogger. auditStarted(AuditEvent event)voidXMLLogger. auditStarted(AuditEvent event)private static intAuditEventDefaultFormatter. calculateBufferLength(AuditEvent event, int severityLevelNameLength)Returns the length of the buffer for StringBuilder.voidDefaultLogger. fileFinished(AuditEvent event)voidXMLLogger. fileFinished(AuditEvent event)voidDefaultLogger. fileStarted(AuditEvent event)voidXMLLogger. fileStarted(AuditEvent event)java.lang.StringAuditEventDefaultFormatter. format(AuditEvent event)java.lang.StringAuditEventFormatter. format(AuditEvent event)Formats an error message.private static java.lang.StringAuditEventDefaultFormatter. getCheckShortName(AuditEvent event)Returns check name without 'Check' suffix. -
Uses of AuditEvent in com.puppycrawl.tools.checkstyle.api
Methods in com.puppycrawl.tools.checkstyle.api with parameters of type AuditEvent Modifier and Type Method Description booleanFilter. accept(AuditEvent event)Determines whether or not a filtered AuditEvent is accepted.booleanFilterSet. accept(AuditEvent event)voidAuditListener. addError(AuditEvent event)Notify that an audit error was discovered on a specific file.voidSeverityLevelCounter. addError(AuditEvent event)voidAuditListener. addException(AuditEvent event, java.lang.Throwable throwable)Notify that an exception happened while performing audit.voidSeverityLevelCounter. addException(AuditEvent event, java.lang.Throwable throwable)voidAuditListener. auditFinished(AuditEvent event)Notify that the audit is finished.voidSeverityLevelCounter. auditFinished(AuditEvent event)voidAuditListener. auditStarted(AuditEvent event)Notify that the audit is about to start.voidSeverityLevelCounter. auditStarted(AuditEvent event)voidAuditListener. fileFinished(AuditEvent event)Notify that audit is finished on a specific file.voidSeverityLevelCounter. fileFinished(AuditEvent event)voidAuditListener. fileStarted(AuditEvent event)Notify that audit is about to start on a specific file.voidSeverityLevelCounter. fileStarted(AuditEvent event) -
Uses of AuditEvent in com.puppycrawl.tools.checkstyle.checks
Methods in com.puppycrawl.tools.checkstyle.checks with parameters of type AuditEvent Modifier and Type Method Description static booleanSuppressWarningsHolder. isSuppressed(AuditEvent event)Checks for a suppression of a check with the given source name and location in the last file processed. -
Uses of AuditEvent in com.puppycrawl.tools.checkstyle.filters
Methods in com.puppycrawl.tools.checkstyle.filters with parameters of type AuditEvent Modifier and Type Method Description booleanSeverityMatchFilter. accept(AuditEvent event)booleanSuppressElement. accept(AuditEvent event)booleanSuppressionCommentFilter. accept(AuditEvent event)booleanSuppressionFilter. accept(AuditEvent event)booleanSuppressWarningsFilter. accept(AuditEvent event)booleanSuppressWithNearbyCommentFilter. accept(AuditEvent event)private SuppressionCommentFilter.TagSuppressionCommentFilter. findNearestMatch(AuditEvent event)Finds the nearest comment text tag that matches an audit event.private booleanSuppressElement. isFileNameAndModuleNotMatching(AuditEvent event)Is matching by file name and Check name.private booleanSuppressElement. isLineAndColumnMatch(AuditEvent event)Whether line and column match.booleanSuppressionCommentFilter.Tag. isMatch(AuditEvent event)Determines whether the source of an audit event matches the text of this tag.booleanSuppressWithNearbyCommentFilter.Tag. isMatch(AuditEvent event)Determines whether the source of an audit event matches the text of this tag.private booleanSuppressWithNearbyCommentFilter. matchesTag(AuditEvent event)Whether current event matches any tag fromSuppressWithNearbyCommentFilter.tags.
-