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) |
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.
|
Modifier and Type | Method and Description |
---|---|
Project |
ProjectConfigurator.create(ProjectDefinition definition) |
Project |
DefaultSensorContext.getProject() |
Project |
DefaultDecoratorContext.getProject() |
Project |
ProjectTree.getRootProject() |
Modifier and Type | Method and Description |
---|---|
List<Project> |
ProjectTree.getProjects() |
Modifier and Type | Method and Description |
---|---|
ProjectConfigurator |
ProjectConfigurator.configure(Project project) |
MavenPluginHandler |
MavenPluginExecutor.execute(Project project,
ProjectDefinition def,
MavenPluginHandler handler) |
MavenPluginHandler |
FakeMavenPluginExecutor.execute(Project project,
ProjectDefinition projectDefinition,
MavenPluginHandler handler) |
MavenPluginHandler |
AbstractMavenPluginExecutor.execute(Project project,
ProjectDefinition projectDefinition,
MavenPluginHandler handler) |
void |
MavenPluginExecutor.execute(Project project,
ProjectDefinition def,
String goal) |
void |
FakeMavenPluginExecutor.execute(Project project,
ProjectDefinition projectDef,
String goal) |
void |
AbstractMavenPluginExecutor.execute(Project project,
ProjectDefinition projectDefinition,
String goal) |
ProjectDefinition |
ProjectTree.getProjectDefinition(Project project) |
RulesProfile |
ProfileLoader.load(Project project)
Loads quality profile for specified project.
|
RulesProfile |
DefaultProfileLoader.load(Project project) |
RulesProfile |
ProfileProvider.provide(Project project,
ProfileLoader profileLoader) |
Collection<Decorator> |
DecoratorsSelector.select(Project project) |
boolean |
FormulaDecorator.shouldExecuteOnProject(Project project) |
Constructor and Description |
---|
DefaultProjectFileSystem2(Project project,
Languages languages,
ProjectDefinition def) |
DefaultProjectFileSystem2(Project project,
Languages languages,
ProjectDefinition def,
FileFilter[] fileFilters) |
DefaultProjectFileSystem2(Project project,
Languages languages,
ProjectDefinition def,
org.apache.maven.project.MavenProject pom)
For Maven.
|
DefaultProjectFileSystem2(Project project,
Languages languages,
ProjectDefinition def,
org.apache.maven.project.MavenProject pom,
FileFilter[] fileFilters)
For Maven.
|
DefaultSensorContext(SonarIndex index,
Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
ProjectFilter.isExcluded(Project project) |
Constructor and Description |
---|
ProjectExtensionInstaller(BatchPluginRepository pluginRepository,
EnvironmentInformation environment,
DryRun dryRun,
Project project,
ProjectSettings settings) |
ProjectModule(Project project,
boolean dryRun) |
Constructor and Description |
---|
TimeMachineConfiguration(DatabaseSession session,
Project project,
org.apache.commons.configuration.Configuration configuration,
PastSnapshotFinder pastSnapshotFinder) |
Constructor and Description |
---|
ProjectSettings(PropertyDefinitions definitions,
ProjectDefinition projectDefinition,
PropertiesDao propertiesDao,
Project project) |
Modifier and Type | Method and Description |
---|---|
Project |
DefaultIndex.getProject() |
Modifier and Type | Method and Description |
---|---|
void |
ReadOnlyPersistenceManager.deleteLink(Project project,
String key) |
void |
PersistenceManager.deleteLink(Project project,
String key) |
void |
LinkPersister.deleteLink(Project project,
String linkKey) |
void |
DefaultPersistenceManager.deleteLink(Project project,
String key) |
void |
ReadOnlyPersistenceManager.saveDependency(Project project,
Dependency dependency,
Dependency parentDependency) |
void |
PersistenceManager.saveDependency(Project project,
Dependency dependency,
Dependency parentDependency) |
void |
DependencyPersister.saveDependency(Project project,
Dependency dependency,
Dependency parentDependency) |
void |
DefaultPersistenceManager.saveDependency(Project project,
Dependency dependency,
Dependency parentDependency) |
void |
ReadOnlyPersistenceManager.saveLink(Project project,
ProjectLink link) |
void |
PersistenceManager.saveLink(Project project,
ProjectLink link) |
void |
LinkPersister.saveLink(Project project,
ProjectLink link) |
void |
DefaultPersistenceManager.saveLink(Project project,
ProjectLink link) |
Snapshot |
ResourcePersister.saveProject(Project project,
Project parent) |
void |
ReadOnlyPersistenceManager.saveProject(Project project,
Project parent) |
void |
PersistenceManager.saveProject(Project project,
Project parent) |
Snapshot |
DefaultResourcePersister.saveProject(Project project,
Project parent) |
void |
DefaultPersistenceManager.saveProject(Project project,
Project parent) |
Snapshot |
ResourcePersister.saveResource(Project project,
Resource resource)
Persist a resource in database.
|
Snapshot |
DefaultResourcePersister.saveResource(Project project,
Resource resource) |
Snapshot |
ResourcePersister.saveResource(Project project,
Resource resource,
Resource parent)
Persist a resource in database.
|
Snapshot |
ReadOnlyPersistenceManager.saveResource(Project project,
Resource resource,
Resource parent) |
Snapshot |
PersistenceManager.saveResource(Project project,
Resource resource,
Resource parent) |
Snapshot |
DefaultResourcePersister.saveResource(Project project,
Resource resource,
Resource parent) |
Snapshot |
DefaultPersistenceManager.saveResource(Project project,
Resource resource,
Resource parent) |
void |
DefaultIndex.setCurrentProject(Project project,
ResourceFilters resourceFilters,
ViolationFilters violationFilters,
RulesProfile profile) |
Modifier and Type | Method and Description |
---|---|
protected void |
MavenPluginsConfigurator.configureHandler(Project project,
MavenPluginHandler handler) |
void |
Phases.execute(Project project)
Executed on each module
|
void |
MavenPluginsConfigurator.execute(Project project) |
void |
MavenPhaseExecutor.execute(Project project) |
protected void |
MavenPluginsConfigurator.savePom(Project project) |
Constructor and Description |
---|
DecoratorsExecutor(BatchExtensionDictionnary extensionDictionnary,
Project project,
SonarIndex index,
EventBus eventBus) |
InitializersExecutor(BatchExtensionDictionnary selector,
Project project,
ProjectDefinition projectDef,
MavenPluginExecutor mavenExecutor) |
PostJobsExecutor(BatchExtensionDictionnary selector,
Project project,
ProjectDefinition projectDefinition,
MavenPluginExecutor mavenExecutor) |
SensorsExecutor(BatchExtensionDictionnary selector,
Project project,
ProjectDefinition projectDefinition,
MavenPluginExecutor mavenExecutor,
EventBus eventBus) |
Modifier and Type | Method and Description |
---|---|
static String |
JavaUtils.getSourceVersion(Project project) |
static String |
JavaUtils.getTargetVersion(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
CheckstyleSensor.analyse(Project project,
SensorContext context) |
boolean |
CheckstyleSensor.shouldExecuteOnProject(Project project) |
Constructor and Description |
---|
CheckstyleAuditListener(SensorContext context,
Project project,
RuleFinder ruleFinder) |
Modifier and Type | Method and Description |
---|---|
void |
CoberturaSensor.analyse(Project project,
SensorContext context) |
void |
CoberturaMavenPluginHandler.configure(Project project,
MavenPlugin coberturaPlugin) |
void |
CoberturaMavenInitializer.execute(Project project) |
MavenPluginHandler |
CoberturaMavenInitializer.getMavenPluginHandler(Project project) |
boolean |
CoberturaSensor.shouldExecuteOnProject(Project project) |
boolean |
CoberturaMavenInitializer.shouldExecuteOnProject(Project project) |
Modifier and Type | Method and Description |
---|---|
static File |
CoberturaUtils.getReport(Project project)
Deprecated.
in 2.8, because assumes that Sonar executed from Maven. Not used any more in sonar-cobertura-plugin.
See http://jira.codehaus.org/browse/SONAR-2321
|
Modifier and Type | Method and Description |
---|---|
void |
ProjectFileSystemLogger.execute(Project project) |
void |
MavenInitializer.execute(Project project) |
void |
IndexProjectPostJob.executeOn(Project project,
SensorContext context) |
Constructor and Description |
---|
ExcludedResourceFilter(Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
ApplyProjectRolesDecorator.shouldExecuteOnProject(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
ProfileEventsSensor.analyse(Project project,
SensorContext context) |
void |
ProjectLinksSensor.analyse(Project project,
SensorContext context) |
void |
ProfileSensor.analyse(Project project,
SensorContext context) |
void |
VersionEventsSensor.analyse(Project project,
SensorContext context) |
boolean |
ProfileEventsSensor.shouldExecuteOnProject(Project project) |
boolean |
ManualMeasureDecorator.shouldExecuteOnProject(Project project) |
boolean |
ManualViolationInjector.shouldExecuteOnProject(Project project) |
boolean |
ReviewsMeasuresDecorator.shouldExecuteOnProject(Project project) |
boolean |
ViolationsDecorator.shouldExecuteOnProject(Project project) |
boolean |
ProjectLinksSensor.shouldExecuteOnProject(Project project) |
boolean |
AbstractCoverageDecorator.shouldExecuteOnProject(Project project) |
boolean |
WeightedViolationsDecorator.shouldExecuteOnProject(Project project) |
boolean |
GenerateAlertEvents.shouldExecuteOnProject(Project project) |
boolean |
CommentDensityDecorator.shouldExecuteOnProject(Project project) |
boolean |
ViolationSeverityUpdater.shouldExecuteOnProject(Project project) |
boolean |
DirectoriesDecorator.shouldExecuteOnProject(Project project) |
boolean |
ViolationsDensityDecorator.shouldExecuteOnProject(Project project) |
boolean |
ProfileSensor.shouldExecuteOnProject(Project project) |
boolean |
CheckAlertThresholds.shouldExecuteOnProject(Project project) |
boolean |
FilesDecorator.shouldExecuteOnProject(Project project) |
boolean |
VersionEventsSensor.shouldExecuteOnProject(Project project) |
boolean |
ReviewWorkflowDecorator.shouldExecuteOnProject(Project project) |
boolean |
UnitTestDecorator.shouldExecuteOnProject(Project project) |
Modifier and Type | Method and Description |
---|---|
protected TimeMachineQuery |
TendencyDecorator.initQuery(Project project) |
protected void |
NewViolationsDecorator.notifyNewViolations(Project project,
DecoratorContext context) |
protected TimeMachineQuery |
TendencyDecorator.resetQuery(Project project,
Resource resource) |
void |
ViolationPersisterDecorator.save(Project project,
Violation violation,
RuleFailureModel referenceViolation) |
boolean |
ViolationPersisterDecorator.shouldExecuteOnProject(Project project) |
boolean |
TendencyDecorator.shouldExecuteOnProject(Project project) |
boolean |
NewCoverageAggregator.shouldExecuteOnProject(Project project) |
boolean |
ViolationTrackingDecorator.shouldExecuteOnProject(Project project) |
boolean |
VariationDecorator.shouldExecuteOnProject(Project project) |
boolean |
AbstractNewCoverageFileAnalyzer.shouldExecuteOnProject(Project project) |
boolean |
NewViolationsDecorator.shouldExecuteOnProject(Project project) |
boolean |
TimeMachineConfigurationPersister.shouldExecuteOnProject(Project project) |
Constructor and Description |
---|
ViolationTrackingDecorator(Project project,
ReferenceAnalysis referenceAnalysis,
SonarIndex index) |
Modifier and Type | Method and Description |
---|---|
void |
SonarBridgeEngine.analyse(Project project,
SensorContext context) |
void |
CpdSensor.analyse(Project project,
SensorContext context) |
void |
SonarEngine.analyse(Project project,
SensorContext context) |
boolean |
CpdSensor.shouldExecuteOnProject(Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
DuplicationDensityDecorator.shouldExecuteOnProject(Project project) |
boolean |
SumDuplicationsDecorator.shouldExecuteOnProject(Project project) |
Modifier and Type | Method and Description |
---|---|
SonarDuplicationsIndex |
IndexFactory.create(Project project) |
Constructor and Description |
---|
DbDuplicationsIndex(ResourcePersister resourcePersister,
Project currentProject,
DuplicationDao dao) |
Modifier and Type | Method and Description |
---|---|
void |
ProjectPurgePostJob.executeOn(Project project,
SensorContext context) |
Modifier and Type | Method and Description |
---|---|
Project |
PurgeContext.getProject()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
PeriodCleaner.purge(Project project,
int projectSnapshotId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultPeriodCleaner.purge(Project project,
int projectSnapshotId) |
Modifier and Type | Method and Description |
---|---|
void |
MavenDependenciesSensor.analyse(Project project,
SensorContext context) |
boolean |
ProjectDsmDecorator.shouldExecuteOnProject(Project project) |
boolean |
SuspectLcom4DensityDecorator.shouldExecuteOnProject(Project project) |
boolean |
MavenDependenciesSensor.shouldExecuteOnProject(Project project) |
boolean |
TangleIndexDecorator.shouldExecuteOnProject(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
FindbugsSensor.analyse(Project project,
SensorContext context) |
void |
FindbugsMavenInitializer.execute(Project project) |
protected File |
FindbugsSensor.getFindbugsReportFile(Project project) |
boolean |
FindbugsSensor.shouldExecuteOnProject(Project project) |
Constructor and Description |
---|
FindbugsConfiguration(Project project,
RulesProfile profile,
FindbugsProfileExporter exporter,
ProjectClasspath classpath) |
Modifier and Type | Method and Description |
---|---|
void |
JaCoCoItSensor.analyse(Project project,
SensorContext context) |
void |
AbstractAnalyzer.analyse(Project project,
SensorContext context) |
void |
JaCoCoSensor.analyse(Project project,
SensorContext context) |
void |
JaCoCoMavenPluginHandler.configure(Project project,
MavenPlugin plugin) |
void |
JacocoMavenInitializer.execute(Project project) |
void |
JacocoAntInitializer.execute(Project project) |
protected abstract String |
AbstractAnalyzer.getExcludes(Project project) |
MavenPluginHandler |
JacocoMavenInitializer.getMavenPluginHandler(Project project) |
protected abstract String |
AbstractAnalyzer.getReportPath(Project project) |
boolean |
JacocoMavenInitializer.shouldExecuteOnProject(Project project) |
boolean |
JacocoAntInitializer.shouldExecuteOnProject(Project project) |
boolean |
JaCoCoItSensor.shouldExecuteOnProject(Project project) |
boolean |
JaCoCoSensor.shouldExecuteOnProject(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
PmdSensor.analyse(Project project,
SensorContext context) |
boolean |
PmdSensor.shouldExecuteOnProject(Project project) |
Constructor and Description |
---|
PmdExecutor(Project project,
ProjectFileSystem projectFileSystem,
RulesProfile rulesProfile,
PmdProfileExporter pmdProfileExporter,
PmdConfiguration pmdConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
JavaSourceImporter.analyse(Project project,
SensorContext context)
The method that is going to be run when the sensor is called
|
void |
SquidSensor.analyse(Project project,
SensorContext context) |
protected Collection<File> |
SquidSensor.getBytecodeFiles(Project project)
Visibility has been relaxed to make the code testable.
|
void |
SquidExecutor.save(Project project,
SensorContext context,
NoSonarFilter noSonarFilter) |
boolean |
JavaSourceImporter.shouldExecuteOnProject(Project project) |
boolean |
SquidSensor.shouldExecuteOnProject(Project project) |
Modifier and Type | Method and Description |
---|---|
ResourceIndex |
ResourceIndex.loadSquidResources(Squid squid,
SensorContext context,
Project project) |
void |
DesignBridge.onProject(SourceProject squidProject,
Project sonarProject) |
void |
Bridge.onProject(SourceProject squidProject,
Project sonarProject) |
void |
PackagesBridge.onProject(SourceProject squidProject,
Project sonarProject) |
Modifier and Type | Method and Description |
---|---|
boolean |
ChidamberKemererDistributionBuilder.shouldExecuteOnProject(Project project) |
boolean |
FunctionsDecorator.shouldExecuteOnProject(Project project) |
boolean |
ClassesDecorator.shouldExecuteOnProject(Project project) |
boolean |
FunctionComplexityDistributionBuilder.shouldExecuteOnProject(Project project) |
boolean |
FileComplexityDistributionDecorator.shouldExecuteOnProject(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
SurefireSensor.analyse(Project project,
SensorContext context) |
protected void |
SurefireSensor.collect(Project project,
SensorContext context,
File reportsDir) |
boolean |
SurefireSensor.shouldExecuteOnProject(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSurefireParser.collect(Project project,
SensorContext context,
File reportsDir) |
static File |
SurefireUtils.getReportsDirectory(Project project) |
Copyright © 2009-2012 SonarSource. All Rights Reserved.