|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Violation | |
---|---|
org.sonar.api.batch | |
org.sonar.api.rules |
Uses of Violation in org.sonar.api.batch |
---|
Methods in org.sonar.api.batch that return types with arguments of type Violation | |
---|---|
List<Violation> |
DecoratorContext.getViolations()
Read-only rule failures. |
Methods in org.sonar.api.batch with parameters of type Violation | |
---|---|
void |
SensorContext.saveViolation(Violation violation)
Saves a violation on a resource of the context |
Method parameters in org.sonar.api.batch with type arguments of type Violation | |
---|---|
void |
SensorContext.saveViolations(Collection<Violation> violations)
Saves a list of violations |
Uses of Violation in org.sonar.api.rules |
---|
Methods in org.sonar.api.rules that return Violation | |
---|---|
Violation |
Violation.setLineId(Integer lineId)
Sets the violation line |
Violation |
Violation.setMessage(String message)
Sets the violation message |
Violation |
Violation.setPriority(RulePriority priority)
Sets the violation priority |
Violation |
Violation.setResource(Resource resource)
Sets the resource the violation applies to |
Violation |
Violation.setRule(Rule rule)
Sets the rule violated |
Methods in org.sonar.api.rules with parameters of type Violation | |
---|---|
boolean |
ViolationFilter.isIgnored(Violation violation)
Return true if the violation must be ignored, else it's saved into database. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |