|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Violation | |
|---|---|
| org.sonar.api.batch | |
| org.sonar.api.rules | |
| org.sonar.batch | |
| org.sonar.batch.indexer | |
| 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 | |
|---|---|
abstract void |
SonarIndex.addViolation(Violation violation)
|
void |
SensorContext.saveViolation(Violation violation)
Save a coding rule violation. |
DecoratorContext |
DecoratorContext.saveViolation(Violation violation)
Save a coding rule violation. |
| 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. |
| Uses of Violation in org.sonar.batch |
|---|
| Methods in org.sonar.batch that return types with arguments of type Violation | |
|---|---|
List<Violation> |
DefaultDecoratorContext.getViolations()
|
List<Violation> |
ViolationsDao.getViolations(Resource resource,
Integer snapshotId)
|
| Methods in org.sonar.batch with parameters of type Violation | |
|---|---|
boolean |
ViolationFilters.isIgnored(Violation violation)
Return true if the violation must be saved. |
void |
ViolationsDao.saveViolation(Snapshot snapshot,
Violation violation)
|
void |
DefaultSensorContext.saveViolation(Violation violation)
|
DefaultDecoratorContext |
DefaultDecoratorContext.saveViolation(Violation violation)
|
| Method parameters in org.sonar.batch with type arguments of type Violation | |
|---|---|
void |
DefaultSensorContext.saveViolations(Collection<Violation> violations)
|
| Uses of Violation in org.sonar.batch.indexer |
|---|
| Methods in org.sonar.batch.indexer with parameters of type Violation | |
|---|---|
void |
DefaultSonarIndex.addViolation(Violation violation)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||