Package | Description |
---|---|
org.sonar.api.batch | |
org.sonar.api.batch.events | |
org.sonar.api.resources |
Modifier and Type | Method and Description |
---|---|
abstract Project |
SonarIndex.getProject()
Deprecated.
|
Project |
DecoratorContext.getProject()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Sensor.analyse(Project module,
SensorContext context)
Deprecated.
The method that is going to be run when the sensor is called
|
void |
AbstractSourceImporter.analyse(Project project,
SensorContext context)
Deprecated.
|
void |
Initializer.execute(Project project)
Deprecated.
since 5.6 override
Initializer.execute() instead |
void |
PostJob.executeOn(Project project,
SensorContext context)
Deprecated.
|
protected boolean |
AbstractSourceImporter.isEnabled(Project project)
Deprecated.
|
boolean |
AbstractSumChildrenDecorator.shouldExecuteOnProject(Project project)
Deprecated.
|
boolean |
AbstractSourceImporter.shouldExecuteOnProject(Project project)
Deprecated.
|
boolean |
Initializer.shouldExecuteOnProject(Project project)
Deprecated.
since 5.6 should no more be implemented by plugins
|
boolean |
CheckProject.shouldExecuteOnProject(Project project)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Project |
ProjectAnalysisHandler.ProjectAnalysisEvent.getProject() |
Modifier and Type | Method and Description |
---|---|
static Project |
Project.createFromMavenIds(String groupId,
String artifactId)
Deprecated.
|
static Project |
Project.createFromMavenIds(String groupId,
String artifactId,
String branch)
Deprecated.
|
Project |
Project.getParent()
Deprecated.
|
Project |
Project.getRoot()
Deprecated.
|
Project |
Project.setAnalysisDate(Date analysisDate)
Deprecated.
For internal use only.
|
Project |
Project.setAnalysisType(Project.AnalysisType at)
Deprecated.
since 4.4 Since 4.3 SQ will no more run tests. So basically it's always reuse report.
|
Project |
Project.setAnalysisVersion(String analysisVersion)
Deprecated.
For internal use only.
|
Project |
Project.setBranch(String branch)
Deprecated.
For internal use only.
|
Project |
Project.setDescription(String description)
Deprecated.
For internal use only.
|
Project |
Project.setLanguage(Language language)
Deprecated.
Internal use
|
Project |
Project.setLatestAnalysis(boolean b)
Deprecated.
in 3.6. It's not possible to analyze a project before the latest known quality snapshot.
See http://jira.sonarsource.com/browse/SONAR-4334
|
Project |
Project.setName(String name)
Deprecated.
For internal use only.
|
Project |
Project.setParent(Project parent)
Deprecated.
For internal use only.
|
Project |
Project.setSettings(Settings settings)
Deprecated.
Internal use
|
Modifier and Type | Method and Description |
---|---|
List<Project> |
Project.getModules()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static File |
File.fromIOFile(File file,
Project module)
Deprecated.
|
static Directory |
Directory.fromIOFile(File dir,
Project module)
Deprecated.
since 5.1 use
FileSystem.inputDir(java.io.File) |
static JavaFile |
JavaFile.fromIOFile(File file,
Project module,
boolean unitTest)
Deprecated.
|
Project |
Project.setParent(Project parent)
Deprecated.
For internal use only.
|
Copyright © 2009–2017 SonarSource. All rights reserved.