public abstract class AbstractAnalyzer extends Object
| Constructor and Description |
|---|
AbstractAnalyzer(org.sonar.api.component.ResourcePerspectives perspectives,
org.sonar.api.scan.filesystem.ModuleFileSystem fileSystem,
org.sonar.api.scan.filesystem.PathResolver pathResolver) |
| Modifier and Type | Method and Description |
|---|---|
void |
analyse(org.sonar.api.resources.Project project,
org.sonar.api.batch.SensorContext context) |
protected abstract String |
getExcludes(org.sonar.api.resources.Project project) |
protected abstract String |
getReportPath(org.sonar.api.resources.Project project) |
void |
readExecutionData(File jacocoExecutionData,
org.sonar.api.batch.SensorContext context,
org.jacoco.core.runtime.WildcardMatcher excludes) |
protected abstract void |
saveMeasures(org.sonar.api.batch.SensorContext context,
org.sonar.api.resources.JavaFile resource,
Collection<org.sonar.api.measures.Measure> measures) |
public AbstractAnalyzer(org.sonar.api.component.ResourcePerspectives perspectives,
org.sonar.api.scan.filesystem.ModuleFileSystem fileSystem,
org.sonar.api.scan.filesystem.PathResolver pathResolver)
public final void analyse(org.sonar.api.resources.Project project,
org.sonar.api.batch.SensorContext context)
public final void readExecutionData(File jacocoExecutionData, org.sonar.api.batch.SensorContext context, org.jacoco.core.runtime.WildcardMatcher excludes) throws IOException
IOExceptionprotected abstract void saveMeasures(org.sonar.api.batch.SensorContext context,
org.sonar.api.resources.JavaFile resource,
Collection<org.sonar.api.measures.Measure> measures)
protected abstract String getReportPath(org.sonar.api.resources.Project project)
protected abstract String getExcludes(org.sonar.api.resources.Project project)
Copyright © 2010-2013 SonarSource. All Rights Reserved.