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.
|
Modifier and Type | Field and Description |
---|---|
private SeverityLevel |
Checker.severityLevel
The severity level of any violations found by submodules.
|
Modifier and Type | Field and Description |
---|---|
private static SeverityLevel |
LocalizedMessage.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 |
LocalizedMessage.severityLevel
The severity level.
|
Modifier and Type | Method and Description |
---|---|
static SeverityLevel |
SeverityLevel.getInstance(java.lang.String securityLevelName)
SeverityLevel factory method.
|
SeverityLevel |
AuditEvent.getSeverityLevel()
Gets the audit event severity level.
|
SeverityLevel |
AbstractViolationReporter.getSeverityLevel()
Returns the severity level of the messages generated by this module.
|
SeverityLevel |
LocalizedMessage.getSeverityLevel()
Gets the severity level.
|
static SeverityLevel |
SeverityLevel.valueOf(java.lang.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.
|
Constructor and Description |
---|
LocalizedMessage(int lineNo,
int columnNo,
java.lang.String bundle,
java.lang.String key,
java.lang.Object[] args,
SeverityLevel severityLevel,
java.lang.String moduleId,
java.lang.Class<?> sourceClass,
java.lang.String customMessage)
Creates a new
LocalizedMessage instance. |
LocalizedMessage(int lineNo,
java.lang.String bundle,
java.lang.String key,
java.lang.Object[] args,
SeverityLevel severityLevel,
java.lang.String moduleId,
java.lang.Class<?> sourceClass,
java.lang.String customMessage)
Creates a new
LocalizedMessage instance. |
SeverityLevelCounter(SeverityLevel level)
Creates a new counter.
|
Modifier and Type | Field and Description |
---|---|
private SeverityLevel |
WriteTagCheck.tagSeverity
The severity level of found tag reports.
|
Modifier and Type | Method and Description |
---|---|
void |
WriteTagCheck.setTagSeverity(SeverityLevel severity)
Sets the tag severity level.
|
Modifier and Type | Field and Description |
---|---|
private SeverityLevel |
SeverityMatchFilter.severity
The severity level to accept.
|
Modifier and Type | Method and Description |
---|---|
void |
SeverityMatchFilter.setSeverity(SeverityLevel severity)
Sets the severity level.
|