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
Fields in com.puppycrawl.tools.checkstyle with type parameters of type AuditEvent Modifier and Type Field Description private java.util.List<AuditEvent>XMLLogger.FileMessages. errorsThe file error events.Methods in com.puppycrawl.tools.checkstyle that return types with arguments of type AuditEvent Modifier and Type Method Description java.util.List<AuditEvent>XMLLogger.FileMessages. getErrors()Returns the file error events.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.voidMetadataGeneratorLogger. addError(AuditEvent event)voidSarifLogger. addError(AuditEvent event)voidXMLLogger. addError(AuditEvent event)voidXMLLogger.FileMessages. addError(AuditEvent event)Adds the given error event to the messages.voidXpathFileGeneratorAuditListener. addError(AuditEvent event)voidDefaultLogger. addException(AuditEvent event, java.lang.Throwable throwable)voidMetadataGeneratorLogger. addException(AuditEvent event, java.lang.Throwable throwable)voidSarifLogger. addException(AuditEvent event, java.lang.Throwable throwable)voidXMLLogger. addException(AuditEvent event, java.lang.Throwable throwable)voidXpathFileGeneratorAuditListener. addException(AuditEvent event, java.lang.Throwable throwable)voidDefaultLogger. auditFinished(AuditEvent event)voidMetadataGeneratorLogger. auditFinished(AuditEvent event)voidSarifLogger. auditFinished(AuditEvent event)voidXMLLogger. auditFinished(AuditEvent event)voidXpathFileGeneratorAuditListener. auditFinished(AuditEvent event)voidDefaultLogger. auditStarted(AuditEvent event)voidMetadataGeneratorLogger. auditStarted(AuditEvent event)voidSarifLogger. auditStarted(AuditEvent event)voidXMLLogger. auditStarted(AuditEvent event)voidXpathFileGeneratorAuditListener. auditStarted(AuditEvent event)private static intAuditEventDefaultFormatter. calculateBufferLength(AuditEvent event, int severityLevelNameLength)Returns the length of the buffer for StringBuilder.voidDefaultLogger. fileFinished(AuditEvent event)voidMetadataGeneratorLogger. fileFinished(AuditEvent event)voidSarifLogger. fileFinished(AuditEvent event)voidXMLLogger. fileFinished(AuditEvent event)voidXpathFileGeneratorAuditListener. fileFinished(AuditEvent event)voidDefaultLogger. fileStarted(AuditEvent event)voidMetadataGeneratorLogger. fileStarted(AuditEvent event)voidSarifLogger. fileStarted(AuditEvent event)voidXMLLogger. fileStarted(AuditEvent event)voidXpathFileGeneratorAuditListener. fileStarted(AuditEvent event)static java.lang.StringXpathFileGeneratorAstFilter. findCorrespondingXpathQuery(AuditEvent event)Returns xpath query corresponding to violation of theTreeWalkerAuditEventobject which points to the same AST element as specifiedAuditEventobject.java.lang.StringAuditEventDefaultFormatter. format(AuditEvent event)java.lang.StringAuditEventFormatter. format(AuditEvent event)Formats an event message.private static java.lang.StringAuditEventDefaultFormatter. getCheckShortName(AuditEvent event)Returns check name without 'Check' suffix.private voidXMLLogger. writeFileError(AuditEvent event)Outputs the given event to the writer. -
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)booleanSuppressFilterElement. accept(AuditEvent event)booleanSuppressionFilter. accept(AuditEvent event)booleanSuppressionSingleFilter. accept(AuditEvent event)booleanSuppressWarningsFilter. accept(AuditEvent event)booleanSuppressWithPlainTextCommentFilter. accept(AuditEvent event)private static SuppressWithPlainTextCommentFilter.SuppressionSuppressWithPlainTextCommentFilter. getNearestSuppression(java.util.List<SuppressWithPlainTextCommentFilter.Suppression> suppressions, AuditEvent event)Finds the nearestSuppressWithPlainTextCommentFilter.Suppressioninstance which can suppress the givenAuditEvent.private booleanSuppressWithPlainTextCommentFilter.Suppression. isCheckMatch(AuditEvent event)Checks whetherAuditEventsource name matches the check format.private booleanSuppressFilterElement. isFileNameAndModuleNameMatching(AuditEvent event)Is matching by file name, module id, and Check name.private booleanSuppressWithPlainTextCommentFilter.Suppression. isIdMatch(AuditEvent event)Checks whether theAuditEventmodule ID matches the ID format.private booleanSuppressWithPlainTextCommentFilter.Suppression. isInScopeOfSuppression(AuditEvent event)Checks whetherAuditEventis in the scope of the suppression.private booleanSuppressFilterElement. isLineAndColumnMatching(AuditEvent event)Whether line and column match.private booleanSuppressWithPlainTextCommentFilter.Suppression. isMatch(AuditEvent event)Checks whether the suppression matches the givenAuditEvent.private booleanSuppressWithPlainTextCommentFilter.Suppression. isMessageMatch(AuditEvent event)Checks whether theAuditEventmessage matches the message format.private booleanSuppressFilterElement. isMessageNameMatching(AuditEvent event)Is matching by message.
-