Package | Description |
---|---|
org.sonar.api.batch | |
org.sonar.api.rules |
Modifier and Type | Method and Description |
---|---|
void |
SonarIndex.addViolation(Violation violation)
Deprecated.
in 3.6
|
abstract void |
SonarIndex.addViolation(Violation violation,
boolean force)
Deprecated.
in 3.6
|
void |
SensorContext.saveViolation(Violation violation)
Deprecated.
in 3.6, replaced by
Issuable |
DecoratorContext |
DecoratorContext.saveViolation(Violation violation)
Deprecated.
in 3.6, replaced by
Issuable |
void |
SensorContext.saveViolation(Violation violation,
boolean force)
Deprecated.
in 3.6, replaced by
Issuable |
DecoratorContext |
DecoratorContext.saveViolation(Violation violation,
boolean force)
Deprecated.
in 3.6, replaced by
Issuable |
Modifier and Type | Method and Description |
---|---|
void |
SensorContext.saveViolations(Collection<Violation> violations)
Deprecated.
in 3.6, replaced by
Issuable |
Modifier and Type | Method and Description |
---|---|
static Violation |
Violation.create(ActiveRule activeRule,
Resource resource)
Deprecated.
|
static Violation |
Violation.create(Rule rule,
Resource resource)
Deprecated.
|
Violation |
Violation.setChecksum(String s)
Deprecated.
For internal use only.
|
Violation |
Violation.setCost(Double d)
Deprecated.
The cost to fix a violation can't be precisely computed without this information.
|
Violation |
Violation.setCreatedAt(Date createdAt)
Deprecated.
For internal use only
|
Violation |
Violation.setLineId(Integer lineId)
Deprecated.
Sets the violation line.
|
Violation |
Violation.setManual(boolean b)
Deprecated.
For internal use only.
|
Violation |
Violation.setMessage(String message)
Deprecated.
Sets the violation message
|
Violation |
Violation.setNew(boolean b)
Deprecated.
For internal use only.
|
Violation |
Violation.setPermanentId(Integer i)
Deprecated.
For internal use only.
|
Violation |
Violation.setPersonId(Integer i)
Deprecated.
For internal use only.
|
Violation |
Violation.setPriority(RulePriority priority)
Deprecated.
since 2.5 use
setSeverity(RulePriority) instead. See http://jira.codehaus.org/browse/SONAR-1829 |
Violation |
Violation.setResource(Resource resource)
Deprecated.
Sets the resource the violation applies to
|
Violation |
Violation.setRule(Rule rule)
Deprecated.
Sets the rule violated
|
Violation |
Violation.setSeverity(RulePriority severity)
Deprecated.
For internal use only.
|
Violation |
Violation.setSwitchedOff(boolean b)
Deprecated.
Switches off the current violation.
|
Copyright © 2009–2015 SonarSource. All rights reserved.