| Package | Description |
|---|---|
| org.sonar.api | |
| org.sonar.api.batch.sensor | |
| org.sonar.api.batch.sensor.internal | |
| org.sonar.api.internal |
| Modifier and Type | Method and Description |
|---|---|
SonarRuntime |
Plugin.Context.getRuntime()
Runtime environment.
|
| Constructor and Description |
|---|
Context(SonarRuntime sonarRuntime) |
| Modifier and Type | Method and Description |
|---|---|
SonarRuntime |
SensorContext.runtime()
Runtime information, mainly:
to be able to have different behaviours between SonarQube and SonarLint
to enable new features depending on version of API available at runtime
|
| Modifier and Type | Method and Description |
|---|---|
SonarRuntime |
SensorContextTester.runtime() |
| Modifier and Type | Method and Description |
|---|---|
SensorContextTester |
SensorContextTester.setRuntime(SonarRuntime runtime) |
| Modifier and Type | Class and Description |
|---|---|
class |
SonarRuntimeImpl |
| Modifier and Type | Method and Description |
|---|---|
static SonarRuntime |
SonarRuntimeImpl.forSonarLint(Version version)
Create an instance for SonarLint runtime environment.
|
static SonarRuntime |
SonarRuntimeImpl.forSonarQube(Version version,
SonarQubeSide side)
Create an instance for SonarQube runtime environment.
|
Copyright © 2009–2017 SonarSource. All rights reserved.