Class and Description |
---|
org.sonar.api.batch.AbstractCpdMapping
since 5.6 use
SensorContext.newCpdTokens() |
org.sonar.api.web.AbstractDashboardWidget
override org.sonar.api.web.AbstractRubyTemplate and implement org.sonar.api.web.RubyRailsWidget
|
org.sonar.api.batch.AbstractSourceImporter
since 4.2 Component indexing and source import are done by core and this extension is not used.
|
org.sonar.api.batch.AbstractSumChildrenDecorator
since 5.2 there's no more decorator on batch side
|
org.sonar.api.checks.AnnotationCheckFactory
since 4.2 use
Checks |
org.sonar.api.rules.AnnotationRuleParser
in 4.2. Replaced by
RulesDefinitionAnnotationLoader |
org.sonar.api.measures.AverageFormula
since 5.2. Aggregation of measures is provided by
MeasureComputer . Decorator
and Formula are no more supported. |
org.sonar.api.batch.BuildBreaker
since 5.6
|
org.sonar.api.checks.CheckFactory
since 4.2 use
CheckFactory |
org.sonar.api.web.CodeColorizerFormat
since 4.5.2 use
Highlightable |
org.sonar.api.measures.CountDistributionBuilder
since 5.6. Scanner side is not responsible to aggregate measures since 5.2.
|
org.sonar.api.measures.CoverageMeasuresBuilder
since 5.2 use
SensorContext.newCoverage() |
org.sonar.api.batch.DefaultFormulaContext
since 5.2. Aggregation of measures is provided by
MeasureComputer . Decorator
and Formula are no more supported. |
org.sonar.api.batch.DefaultFormulaData
since 5.2. Aggregation of measures is provided by
MeasureComputer . Decorator
and Formula are no more supported. |
org.sonar.api.design.Dependency
since 5.2 No more design features
|
org.sonar.api.resources.Directory
since 5.6 replaced by
InputDir . |
org.sonar.api.resources.File
since 5.6 replaced by
InputFile . |
org.sonar.api.scan.filesystem.FileQuery
in 4.2. Replaced by
FileSystem and
FilePredicate |
org.sonar.api.resources.InputFileUtils
since 5.0 as
InputFile is deprecated |
org.sonar.api.resources.Java
in 3.6
|
org.sonar.api.resources.JavaFile
since 4.2 use
File . See
http://docs.codehaus.org/display/SONAR/API+Changes for more details |
org.sonar.api.resources.JavaPackage
since 4.2 use
Directory instead |
org.sonar.api.resources.Library
since 5.2 No more design features
|
org.sonar.api.measures.MeanAggregationFormula
since 5.2. Aggregation of measures is provided by
MeasureComputer . Decorator
and Formula are no more supported. |
org.sonar.api.measures.Measure
since 5.6. To create a new measure on scanner side use
SensorContext.newMeasure() |
org.sonar.api.measures.MeasuresFilters
since 5.6. Sensor should only save measures and not read them.
|
org.sonar.api.measures.MeasureUtils
since 5.6.
Measure is deprecated. |
org.sonar.api.resources.Method
in 4.2. Only file system components are managed by SQ core (files/directories).
|
org.sonar.api.component.mock.MockSourceFile
since 5.6
|
org.sonar.api.resources.Project
since 5.6 replaced by
InputModule . |
org.sonar.api.resources.ProjectUtils
see method comments
|
org.sonar.api.measures.PropertiesBuilder
since 5.6. Use directly
KeyValueFormat . |
org.sonar.api.measures.RangeDistributionBuilder
since 5.2 use
instead |
org.sonar.api.resources.Resource
since 5.6 replaced by
InputComponent |
org.sonar.api.resources.ResourceUtils
since 5.6 as
Resource is deprecated |
org.sonar.api.measures.RuleMeasure
since 5.2. Ignored by design because of Compute Engine.
|
org.sonar.api.rules.RuleRepository
in 4.2. Replaced by org.sonar.api.server.rule.RulesDefinition
|
org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model.
See https://jira.sonarsource.com/browse/MMF-184
|
org.sonar.api.batch.SonarIndex
since 4.5.2 should not be used by plugins. Everything should be accessed using
SensorContext . |
org.sonar.api.SonarPlugin
replaced by
Plugin in version 5.6. |
org.sonar.api.batch.SquidUtils
since 4.2
|
org.sonar.api.utils.StaxParser
since 5.6 plugins should use their own dependencies
|
org.sonar.api.measures.SumChildDistributionFormula
since 5.2. Aggregation of measures is provided by
MeasureComputer . Decorator
and Formula are no more supported. |
org.sonar.api.measures.SumChildValuesFormula
since 5.2. Aggregation of measures is provided by
MeasureComputer . Decorator
and Formula are no more supported. |
org.sonar.api.utils.TempFileUtils
since 4.0 use
TempFolder |
org.sonar.api.utils.TimeProfiler
since 5.1. Replaced by
Profiler |
org.sonar.api.measures.WeightedMeanAggregationFormula
since 5.2. Aggregation of measures is provided by
MeasureComputer . Decorator
and Formula are no more supported. |
org.sonar.api.utils.WorkUnit
since 4.2. Use WorkDuration instead
|
org.sonar.api.rules.XMLRuleParser
in 4.2. Replaced by org.sonar.api.server.rule.RulesDefinition and org.sonar.api.server.rule.RulesDefinitionXmlLoader
|
org.sonar.api.utils.XpathParser
since 5.6 plugins should use their own dependencies
|
Enum and Description |
---|
org.sonar.api.scan.filesystem.FileType
in 4.2
|
org.sonar.api.measures.PersistenceMode
since 5.6. No more used since 5.2.
|
org.sonar.api.resources.Project.AnalysisType
since 4.4 Since 4.3 SQ will no more run tests. So basically it's always reuse report.
|
org.sonar.api.rules.RulePriority
since 4.2
|
org.sonar.api.web.Section
add annotation org.sonar.api.web.NavigationSection to View extensions
|
Exceptions and Description |
---|
org.sonar.api.test.exception.CoverageAlreadyExistsException
since 5.6 feature will be removed soon
|
org.sonar.api.resources.DuplicatedSourceException
since 5.6 should not be used in any API
|
org.sonar.api.test.exception.IllegalDurationException
since 5.6 feature will be removed soon
|
org.sonar.api.utils.SonarException
in 4.4. Use standard exceptions like
IllegalArgumentException
or IllegalStateException . Use MessageException
for raising errors to end-users without displaying stackstrace. |
org.sonar.api.test.exception.TestException
since 5.6 feature will be removed soon
|
org.sonar.api.utils.XmlParserException
since 5.6
|
Annotation Type and Description |
---|
org.sonar.api.web.RequiredMeasures
in 4.5. Not supported anymore in source viewer as Ruby on Rails is being dropped.
|
Enum Constant and Description |
---|
org.sonar.api.batch.sensor.highlighting.TypeOfText.CPP_DOC |
Copyright © 2009–2017 SonarSource. All rights reserved.