| Package | Description |
|---|---|
| edu.hm.hafner.analysis |
Provides base classes and utilities to parse files for warnings, issues, and so on.
|
| edu.hm.hafner.analysis.parser.dry | |
| edu.hm.hafner.analysis.parser.violations |
Parsers that use the violations lib (https://github.com/tomasbjerre/violations-lib).
|
| Modifier and Type | Field and Description |
|---|---|
static Severity |
Severity.ERROR
An error, e.g. a compile error.
|
static Severity |
Severity.WARNING_HIGH
A warning with priority high.
|
static Severity |
Severity.WARNING_LOW
A warning with priority low.
|
static Severity |
Severity.WARNING_NORMAL
A warning with priority normal.
|
| Modifier and Type | Method and Description |
|---|---|
Severity |
Issue.getSeverity()
Returns the severity of this issue.
|
static Severity |
Severity.valueOf(String name)
Creates a new
Severity with the specified name. |
static Severity |
Severity.valueOf(String severity,
Severity defaultValue)
Converts a String severity to one of the predefined severities.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<Severity> |
Severity.collectSeveritiesFrom(Severity minimumSeverity)
Gets the severities starting from the specified severity to
ERROR. |
static org.eclipse.collections.api.set.ImmutableSet<Severity> |
Severity.getPredefinedValues()
Returns the set of predefined
Severity instances. |
Set<Severity> |
Report.getSeverities()
Returns the severities of all issues.
|
| Modifier and Type | Method and Description |
|---|---|
static Predicate<Issue> |
Issue.bySeverity(Severity severity)
Returns a predicate that checks if the severity of an issue is equal to the specified severity.
|
static Collection<Severity> |
Severity.collectSeveritiesFrom(Severity minimumSeverity)
Gets the severities starting from the specified severity to
ERROR. |
int |
Report.getSizeOf(Severity severity)
Returns the number of issues with the specified
Severity. |
IssueBuilder |
IssueBuilder.setSeverity(Severity severity) |
static Severity |
Severity.valueOf(String severity,
Severity defaultValue)
Converts a String severity to one of the predefined severities.
|
| Constructor and Description |
|---|
Issue(String fileName,
int lineStart,
int lineEnd,
int columnStart,
int columnEnd,
LineRangeList lineRanges,
String category,
String type,
String packageName,
String moduleName,
Severity severity,
String message,
String description,
String origin,
String reference,
String fingerprint,
Serializable additionalProperties)
Creates a new instance of
Issue using the specified properties. |
Issue(String fileName,
int lineStart,
int lineEnd,
int columnStart,
int columnEnd,
LineRangeList lineRanges,
String category,
String type,
String packageName,
String moduleName,
Severity severity,
String message,
String description,
String origin,
String reference,
String fingerprint,
Serializable additionalProperties,
UUID id)
Creates a new instance of
Issue using the specified properties. |
| Modifier and Type | Method and Description |
|---|---|
protected Severity |
AbstractDryParser.getPriority(int lines)
Returns the priority of the warning.
|
| Modifier and Type | Method and Description |
|---|---|
protected Severity |
PitAdapter.convertSeverity(se.bjurr.violations.lib.model.SEVERITY severity,
se.bjurr.violations.lib.model.Violation violation) |
protected Severity |
AbstractViolationAdapter.convertSeverity(se.bjurr.violations.lib.model.SEVERITY severity,
se.bjurr.violations.lib.model.Violation violation)
Computes the
Severity from the specified SEVERITY. |
Copyright © 2018. All rights reserved.