Package | Description |
---|---|
org.sonar.api.batch | |
org.sonar.api.batch.events | |
org.sonar.api.batch.maven | |
org.sonar.api.resources |
Modifier and Type | Method and Description |
---|---|
abstract Project |
SonarIndex.getProject() |
Project |
DecoratorContext.getProject() |
Modifier and Type | Method and Description |
---|---|
void |
Sensor.analyse(Project project,
SensorContext context)
The method that is going to be run when the sensor is called
|
void |
AbstractSourceImporter.analyse(Project project,
SensorContext context)
The method that is going to be run when the sensor is called
|
abstract void |
Initializer.execute(Project project) |
void |
PostJob.executeOn(Project project,
SensorContext context) |
protected boolean |
AbstractSourceImporter.isEnabled(Project project) |
<T> Collection<T> |
BatchExtensionDictionnary.select(Class<T> type,
Project project,
boolean sort) |
Collection<MavenPluginHandler> |
BatchExtensionDictionnary.selectMavenPluginHandlers(Project project) |
boolean |
Initializer.shouldExecuteOnProject(Project project) |
boolean |
CheckProject.shouldExecuteOnProject(Project project) |
boolean |
AbstractSumChildrenDecorator.shouldExecuteOnProject(Project project) |
boolean |
AbstractSourceImporter.shouldExecuteOnProject(Project project)
Generally this method should not be overridden in subclasses, but if it is, then it should be executed anyway (see SONAR-3419).
|
boolean |
AbstractFunctionComplexityDistributionDecorator.shouldExecuteOnProject(Project project)
Deprecated.
|
boolean |
AbstractFunctionComplexityDecorator.shouldExecuteOnProject(Project project)
Deprecated.
|
boolean |
AbstractFilesDecorator.shouldExecuteOnProject(Project project)
Deprecated.
|
boolean |
AbstractFileComplexityDecorator.shouldExecuteOnProject(Project project)
Deprecated.
|
boolean |
AbstractDivisionDecorator.shouldExecuteOnProject(Project project) |
boolean |
AbstractDirectoriesDecorator.shouldExecuteOnProject(Project project)
Deprecated.
|
boolean |
AbstractCoverageExtension.shouldExecuteOnProject(Project project)
Deprecated.
Whether to implement the extension on the project
|
Modifier and Type | Method and Description |
---|---|
Project |
ProjectAnalysisHandler.ProjectAnalysisEvent.getProject() |
Modifier and Type | Method and Description |
---|---|
static MavenPlugin |
MavenSurefireUtils.configure(Project project)
Configures the project POM with base required surefire settings
|
void |
MavenPluginHandler.configure(Project project,
MavenPlugin plugin)
Configures the pom being executed, add or remove plugin properties.
|
MavenPluginHandler |
DependsUponMavenPlugin.getMavenPluginHandler(Project project) |
Modifier and Type | Method and Description |
---|---|
static Project |
Project.createFromMavenIds(String groupId,
String artifactId) |
Project |
Project.getParent() |
Project |
Project.getRoot() |
Project |
Project.setAnalysisDate(Date analysisDate)
For internal use only.
|
Project |
Project.setAnalysisType(Project.AnalysisType at) |
Project |
Project.setAnalysisVersion(String analysisVersion)
For internal use only.
|
Project |
Project.setBranch(String branch)
For internal use only.
|
Project |
Project.setConfiguration(org.apache.commons.configuration.Configuration configuration)
For internal use only.
|
Project |
Project.setDescription(String description)
For internal use only.
|
Project |
Project.setExclusionPatterns(String[] s)
Set exclusion patterns.
|
Project |
Project.setFileSystem(ProjectFileSystem fs)
Deprecated.
since 2.6. See http://jira.codehaus.org/browse/SONAR-2126
|
Project |
Project.setLanguage(Language language) |
Project |
Project.setLanguageKey(String languageKey)
For internal use only.
|
Project |
Project.setLatestAnalysis(boolean b)
For internal use only.
|
Project |
Project.setName(String name)
For internal use only.
|
Project |
Project.setPackaging(String packaging)
Deprecated.
in 2.8. See http://jira.codehaus.org/browse/SONAR-2341
|
Project |
Project.setParent(Project parent)
For internal use only.
|
Project |
Project.setPom(org.apache.maven.project.MavenProject pom)
For internal use only.
|
Modifier and Type | Method and Description |
---|---|
List<Project> |
Project.getModules() |
Modifier and Type | Method and Description |
---|---|
static File |
File.fromIOFile(File file,
Project project)
Creates a File from its name and a project
|
static String |
ProjectUtils.getJavaSourceVersion(Project project)
Deprecated.
since 2.6 use JavaUtils.getSourceVersion() instead.
|
static String |
ProjectUtils.getJavaVersion(Project project)
Deprecated.
since 2.6 use JavaUtils.getTargetVersion() instead.
|
Project |
Project.setParent(Project parent)
For internal use only.
|
Constructor and Description |
---|
DefaultProjectFileSystem(Project project,
Languages languages)
Deprecated.
|
DefaultProjectFileSystem(Project project,
Languages languages,
FileFilter... fileFilters)
Deprecated.
|
Copyright © 2009-2012 SonarSource. All Rights Reserved.