Uses of Class
com.puppycrawl.tools.checkstyle.api.SeverityLevel
-
Packages that use SeverityLevel 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.javadoc Contains the Javadoc 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 SeverityLevel in com.puppycrawl.tools.checkstyle
Fields in com.puppycrawl.tools.checkstyle declared as SeverityLevel Modifier and Type Field Description private SeverityLevel
TreeWalker. javaParseExceptionSeverity
Specify severity Level to log Java parsing exceptions when they are skipped.private SeverityLevel
Checker. severity
The severity level of any violations found by submodules.Methods in com.puppycrawl.tools.checkstyle with parameters of type SeverityLevel Modifier and Type Method Description private static String
SarifLogger. renderSeverityLevel(SeverityLevel severityLevel)
Render the severity level into SARIF severity level.void
TreeWalker. setJavaParseExceptionSeverity(SeverityLevel javaParseExceptionSeverity)
Setter to specify the severity level to log Java parsing exceptions when they are skipped. -
Uses of SeverityLevel in com.puppycrawl.tools.checkstyle.api
Fields in com.puppycrawl.tools.checkstyle.api declared as SeverityLevel Modifier and Type Field Description private static SeverityLevel
Violation. DEFAULT_SEVERITY
The default severity level if one is not specified.private SeverityLevel
SeverityLevelCounter. level
The severity level to watch out for.private SeverityLevel
AbstractViolationReporter. severityLevel
The severity level of any violations found.private SeverityLevel
Violation. severityLevel
The severity level.Methods in com.puppycrawl.tools.checkstyle.api that return SeverityLevel Modifier and Type Method Description static SeverityLevel
SeverityLevel. getInstance(String securityLevelName)
SeverityLevel factory method.SeverityLevel
AbstractViolationReporter. getSeverityLevel()
Returns the severity level of the violations generated by this module.SeverityLevel
AuditEvent. getSeverityLevel()
Gets the audit event severity level.SeverityLevel
Violation. getSeverityLevel()
Gets the severity level.static SeverityLevel
SeverityLevel. valueOf(String name)
Returns the enum constant of this type with the specified name.static SeverityLevel[]
SeverityLevel. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in com.puppycrawl.tools.checkstyle.api with parameters of type SeverityLevel Constructor Description SeverityLevelCounter(SeverityLevel level)
Creates a new counter.Violation(int lineNo, int columnNo, int columnCharIndex, int tokenType, String bundle, String key, Object[] args, SeverityLevel severityLevel, String moduleId, Class<?> sourceClass, String customMessage)
Creates a newViolation
instance.Violation(int lineNo, int columnNo, int tokenType, String bundle, String key, Object[] args, SeverityLevel severityLevel, String moduleId, Class<?> sourceClass, String customMessage)
Creates a newViolation
instance.Violation(int lineNo, int columnNo, String bundle, String key, Object[] args, SeverityLevel severityLevel, String moduleId, Class<?> sourceClass, String customMessage)
Creates a newViolation
instance.Violation(int lineNo, String bundle, String key, Object[] args, SeverityLevel severityLevel, String moduleId, Class<?> sourceClass, String customMessage)
Creates a newViolation
instance. -
Uses of SeverityLevel in com.puppycrawl.tools.checkstyle.checks.javadoc
Fields in com.puppycrawl.tools.checkstyle.checks.javadoc declared as SeverityLevel Modifier and Type Field Description private SeverityLevel
WriteTagCheck. tagSeverity
Specify the severity level when tag is found and printed.Methods in com.puppycrawl.tools.checkstyle.checks.javadoc with parameters of type SeverityLevel Modifier and Type Method Description void
WriteTagCheck. setTagSeverity(SeverityLevel severity)
Setter to specify the severity level when tag is found and printed. -
Uses of SeverityLevel in com.puppycrawl.tools.checkstyle.filters
Fields in com.puppycrawl.tools.checkstyle.filters declared as SeverityLevel Modifier and Type Field Description private SeverityLevel
SeverityMatchFilter. severity
Specify the severity level of this filter.Methods in com.puppycrawl.tools.checkstyle.filters with parameters of type SeverityLevel Modifier and Type Method Description void
SeverityMatchFilter. setSeverity(SeverityLevel severity)
Setter to specify the severity level of this filter.
-