|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Violation | |
---|---|
org.sonar.api.batch | |
org.sonar.api.checks | |
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()
Deprecated. in 3.6, replaced by Issuable |
List<Violation> |
SonarIndex.getViolations(Resource resource)
Deprecated. in 3.6 |
abstract List<Violation> |
SonarIndex.getViolations(ViolationQuery violationQuery)
Deprecated. in 3.6 |
List<Violation> |
DecoratorContext.getViolations(ViolationQuery violationQuery)
Deprecated. in 3.6, replaced by Issuable |
Methods in org.sonar.api.batch with parameters of type Violation | |
---|---|
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 |
Method parameters in org.sonar.api.batch with type arguments of type Violation | |
---|---|
void |
SensorContext.saveViolations(Collection<Violation> violations)
Deprecated. in 3.6, replaced by Issuable |
Uses of Violation in org.sonar.api.checks |
---|
Methods in org.sonar.api.checks with parameters of type Violation | |
---|---|
boolean |
NoSonarFilter.isIgnored(Violation violation)
Deprecated. |
Uses of Violation in org.sonar.api.rules |
---|
Methods in org.sonar.api.rules that return Violation | |
---|---|
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. |
Methods in org.sonar.api.rules with parameters of type Violation | |
---|---|
boolean |
ViolationFilter.isIgnored(Violation violation)
Deprecated. Return true if the violation must be ignored, else it's saved into database. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |