Package | Description |
---|---|
org.sonar.api.batch | |
org.sonar.api.violations |
Modifier and Type | Method and Description |
---|---|
abstract List<Violation> |
SonarIndex.getViolations(ViolationQuery violationQuery)
Deprecated.
in 3.6
|
List<Violation> |
DecoratorContext.getViolations(ViolationQuery violationQuery)
Returns the violations that match the
ViolationQuery parameters. |
Modifier and Type | Method and Description |
---|---|
static ViolationQuery |
ViolationQuery.create()
Deprecated.
Creates a new
ViolationQuery object. |
ViolationQuery |
ViolationQuery.forResource(Resource resource)
Deprecated.
Specifies the resource which violations are search from.
|
ViolationQuery |
ViolationQuery.setSwitchedOff(boolean b)
Deprecated.
Specifies if the query should return only switched-off violations.
|
ViolationQuery |
ViolationQuery.setSwitchMode(ViolationQuery.SwitchMode s)
Deprecated.
|
Copyright © 2009-2014 SonarSource. All Rights Reserved.