Package | Description |
---|---|
org.sonar.api | |
org.sonar.api.batch.sensor | |
org.sonar.api.batch.sensor.internal | |
org.sonar.api.internal | |
org.sonar.api.utils |
Modifier and Type | Field and Description |
---|---|
static Version |
SonarQubeVersion.V5_5
Deprecated.
in 6.0. Please define your own constants.
|
static Version |
SonarQubeVersion.V5_6
Deprecated.
in 6.0. Please define your own constants.
|
Modifier and Type | Method and Description |
---|---|
Version |
SonarQubeVersion.get() |
Version |
SonarRuntime.getApiVersion()
Version of API (sonar-plugin-api artifact) at runtime.
|
Version |
Plugin.Context.getSonarQubeVersion()
Shortcut on
getRuntime().getApiVersion() since version 6.0. |
Modifier and Type | Method and Description |
---|---|
boolean |
SonarQubeVersion.isGreaterThanOrEqual(Version than) |
Constructor and Description |
---|
SonarQubeVersion(Version version) |
Modifier and Type | Method and Description |
---|---|
Version |
SensorContext.getSonarQubeVersion()
Version of API at runtime, not at compilation time.
|
Modifier and Type | Method and Description |
---|---|
Version |
SensorContextTester.getSonarQubeVersion()
Default value is the version of this API at compilation time.
|
Modifier and Type | Method and Description |
---|---|
Version |
SonarRuntimeImpl.getApiVersion() |
static Version |
ApiVersion.load(System2 system) |
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.
|
Modifier and Type | Method and Description |
---|---|
static Version |
Version.create(int major,
int minor) |
static Version |
Version.create(int major,
int minor,
int patch) |
static Version |
Version.create(int major,
int minor,
int patch,
String qualifier)
Deprecated.
in 6.3 to avoid ambiguity with build number (see
buildNumber() |
static Version |
Version.parse(String text)
Convert a
String to a Version. |
Modifier and Type | Method and Description |
---|---|
int |
Version.compareTo(Version other) |
boolean |
Version.isGreaterThanOrEqual(Version than) |
Copyright © 2009–2017 SonarSource. All rights reserved.