org.sonar.api.batch.SonarIndex.addResource(Resource)
since 2.6. Use methods index()
|
org.sonar.api.resources.ProjectFileSystem.addSourceDir(File)
since 2.6 - ProjectFileSystem should be immutable
See http://jira.codehaus.org/browse/SONAR-2126
|
org.sonar.api.resources.ProjectFileSystem.addTestDir(File)
since 2.6 - ProjectFileSystem should be immutable
See http://jira.codehaus.org/browse/SONAR-2126
|
org.sonar.api.notifications.NotificationDispatcher.Context.addUser(String)
|
org.sonar.api.batch.SonarIndex.addViolation(Violation)
in 3.6
|
org.sonar.api.batch.SonarIndex.addViolation(Violation, boolean)
in 3.6
|
org.sonar.api.issue.IssueHandler.Context.assign(String)
since 3.7.1
|
org.sonar.api.resources.ResourceType.Builder.availableForFilters()
|
org.sonar.api.scan.filesystem.ModuleFileSystem.binaryDirs()
since 4.2 sonar.binaries will be converted to java specific property
|
org.sonar.api.batch.bootstrap.ProjectBuilder.build(ProjectReactor)
|
org.sonar.api.batch.SquidUtils.convertJavaFileKeyFromSquidFormat(String)
since 4.2 JavaFile is deprecated
|
org.sonar.api.batch.SquidUtils.convertJavaPackageKeyFromSquidFormat(String)
since 4.2 JavaPackage is deprecated
|
org.sonar.api.batch.bootstrap.ProjectDefinition.create(Properties)
|
org.sonar.api.measures.RuleMeasure.createForCategory(Metric, Integer, Double)
since 2.5. See SONAR-2007.
|
org.sonar.api.batch.CpdMapping.createResource(File, List)
since 4.2 not used anymore
|
org.sonar.api.security.ExternalUsersProvider.doGetUserDetails(String)
|
org.sonar.api.technicaldebt.batch.Requirement.factor()
since 4.2
|
org.sonar.api.technicaldebt.batch.internal.DefaultRequirement.factor()
since 4.2
|
org.sonar.api.technicaldebt.server.Characteristic.factor()
since 4.2
|
org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic.factor()
since 4.2
|
org.sonar.api.utils.KeyValueFormat.format(Bag)
use Multiset from google collections instead of commons-collections bags
|
org.sonar.api.utils.KeyValueFormat.format(Bag, int)
use Multiset from google collections instead of commons-collections bags
|
org.sonar.api.resources.JavaFile.fromAbsolutePath(String, List, boolean)
|
org.sonar.api.resources.File.fromIOFile(File, List)
|
org.sonar.api.resources.JavaFile.fromIOFile(File, List, boolean)
|
org.sonar.api.resources.JavaFile.fromRelativePath(String, boolean)
|
org.sonar.api.profiles.RulesProfile.getActiveRulesByPlugin(String)
|
org.sonar.api.profiles.Alert.getAlertLabel(Metric.Level)
since 3.4 because it does not manage alerts with variation
|
org.sonar.api.resources.Project.getArtifactId()
since 2.5. See http://jira.codehaus.org/browse/SONAR-2011
|
org.sonar.api.rules.Rule.getCategoryId()
since 2.5. See http://jira.codehaus.org/browse/SONAR-2007
|
org.sonar.api.utils.AnnotationUtils.getClassAnnotation(Object, Class)
|
org.sonar.api.batch.DefaultFormulaContext.getConfiguration()
|
org.sonar.api.measures.FormulaContext.getConfiguration()
|
org.sonar.api.resources.Project.getConfiguration()
since 2.12. The component org.sonar.api.config.Settings must be used.
|
org.sonar.api.Plugin.getDescription()
since 2.2. The description must be set in the manifest.
|
org.sonar.api.i18n.RuleI18n.getDescription(String, String, Locale)
since 4.1. Rules are not localized anymore. See http://jira.codehaus.org/browse/SONAR-4885
|
org.sonar.api.profiles.RulesProfile.getEnabled()
since 3.3. Always return true.
|
org.sonar.api.resources.Project.getExclusionPatterns()
|
org.sonar.api.platform.ServerFileSystem.getExtensions(String, String...)
since 4.1
|
org.sonar.api.batch.fs.internal.DefaultInputFile.getFile()
|
org.sonar.api.batch.fs.internal.DefaultInputFile.getFileBaseDir()
|
org.sonar.api.resources.Project.getFileSystem()
|
org.sonar.api.resources.Project.getGroupId()
since 2.5. See http://jira.codehaus.org/browse/SONAR-2011
|
org.sonar.api.resources.ProjectFileSystem.getJavaSourceFiles()
|
org.sonar.api.resources.ProjectUtils.getJavaSourceVersion(Project)
since 2.6 use JavaUtils.getSourceVersion() instead.
|
org.sonar.api.resources.ProjectUtils.getJavaVersion(Project)
since 2.6 use JavaUtils.getTargetVersion() instead.
|
org.sonar.api.Plugin.getKey()
since 2.2. The key must be set in the manifest.
|
org.sonar.api.resources.Project.getLanguage()
|
org.sonar.api.resources.Project.getLanguageKey()
|
org.sonar.api.security.SecurityRealm.getLoginPasswordAuthenticator()
replaced by doGetAuthenticator in version 3.1
|
org.sonar.api.Plugin.getName()
since 2.2. The name must be set in the manifest.
|
org.sonar.api.i18n.RuleI18n.getName(Rule, Locale)
since 4.1. Rules are not localized anymore. See http://jira.codehaus.org/browse/SONAR-4885
|
org.sonar.api.i18n.RuleI18n.getName(String, String, Locale)
since 4.1. Rules are not localized anymore. See http://jira.codehaus.org/browse/SONAR-4885
|
org.sonar.api.resources.Project.getPackaging()
in 2.8. See http://jira.codehaus.org/browse/SONAR-2341
|
org.sonar.api.i18n.RuleI18n.getParamDescription(String, String, String, Locale)
since 4.1. Rules are not localized anymore. See http://jira.codehaus.org/browse/SONAR-4885
|
org.sonar.api.rules.Rule.getPluginName()
|
org.sonar.api.rules.ActiveRule.getPluginName()
|
org.sonar.api.resources.Project.getPom()
since 2.5. See http://jira.codehaus.org/browse/SONAR-2011 ,
MavenProject can be retrieved as an IoC dependency
|
org.sonar.wsclient.services.ViolationQuery.getPriorities()
|
org.sonar.api.rules.Violation.getPriority()
|
org.sonar.api.rules.Rule.getPriority()
|
org.sonar.api.rules.ActiveRule.getPriority()
|
org.sonar.wsclient.services.Violation.getPriority()
|
org.sonar.api.config.PropertyDefinitions.getPropertiesByCategory()
|
org.sonar.api.config.PropertyDefinitions.getPropertiesByCategory(String)
|
org.sonar.api.resources.Project.getProperty(String)
|
org.sonar.api.profiles.RulesProfile.getProvided()
since 3.3 not replaced
|
org.sonar.api.batch.fs.internal.DefaultInputFile.getRelativePath()
|
org.sonar.api.resources.Project.getReuseExistingRulesConfig()
since 2.5. See discussion from http://jira.codehaus.org/browse/SONAR-1873
|
org.sonar.wsclient.services.ResourceQuery.getRuleCategories()
since 2.5 See http://jira.codehaus.org/browse/SONAR-2007
|
org.sonar.api.measures.RuleMeasure.getRuleCategory()
since 2.5. See SONAR-2007.
|
org.sonar.wsclient.services.Measure.getRuleCategory()
since 2.5 See http://jira.codehaus.org/browse/SONAR-2007
|
org.sonar.wsclient.services.ResourceQuery.getRulePriorities()
|
org.sonar.api.measures.RuleMeasure.getRulePriority()
|
org.sonar.wsclient.services.Measure.getRulePriority()
|
org.sonar.api.resources.ProjectFileSystem.getSourceFiles(Language...)
|
org.sonar.api.resources.Project.getTestExclusionPatterns()
|
org.sonar.api.resources.ProjectFileSystem.getTestFiles(Language...)
|
org.sonar.api.batch.SonarIndex.getViolations(Resource)
in 3.6
|
org.sonar.api.batch.SonarIndex.getViolations(ViolationQuery)
in 3.6
|
org.sonar.api.resources.ProjectFileSystem.hasJavaSourceFiles()
since 2.6 - API should be language agnostic
|
org.sonar.api.resources.ProjectFileSystem.hasTestFiles(Language)
since 2.6 - use language key instead of Language object
|
org.sonar.api.batch.SensorContext.index(Resource)
since 4.2 Resource indexing is done by the platform for all physical resources.
|
org.sonar.api.batch.SensorContext.index(Resource, Resource)
since 4.2 Resource indexing is done by the platform for all physical resources.
|
org.sonar.api.security.LoginPasswordAuthenticator.init()
in 2.14, but was left for backward compatibility - when this authenticator is not a part of SecurityRealm , otherwise has no effect and not invoked
|
org.sonar.api.resources.ResourceUtils.isClass(Resource)
since 4.2 CLA qualifier is deprecated
|
org.sonar.api.resources.Qualifiers.isClass(Resource)
since 4.2 CLA qualifier is deprecated
|
org.sonar.api.profiles.RulesProfile.isEnabled()
since 3.3. Always return true.
|
org.sonar.api.resources.Resource.isExcluded()
since 2.6.
|
org.sonar.api.batch.SensorContext.isExcluded(Resource)
since 4.2 Excluded resources are not indexed.
|
org.sonar.wsclient.services.ResourceQuery.isExcludeRuleCategories()
since 2.5 not used anymore
|
org.sonar.wsclient.services.ResourceQuery.isExcludeRulePriorities()
|
org.sonar.api.batch.SensorContext.isIndexed(Resource, boolean)
since 4.2 Excluded resources are not indexed.
|
org.sonar.api.resources.Project.isLatestAnalysis()
in 3.6. The analysis is now always the latest one (past analysis must be done in a chronological order). See http://jira.codehaus.org/browse/SONAR-4334
|
org.sonar.api.resources.ResourceUtils.isPackage(Resource)
|
org.sonar.api.resources.Qualifiers.isPackage(Resource)
|
org.sonar.api.technicaldebt.batch.Requirement.offset()
since 4.2
|
org.sonar.api.technicaldebt.batch.internal.DefaultRequirement.offset()
since 4.2
|
org.sonar.api.technicaldebt.server.Characteristic.offset()
since 4.2
|
org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic.offset()
since 4.2
|
org.sonar.api.utils.KeyValueFormat.parse(String, KeyValueFormat.Transformer)
since 2.7
|
org.sonar.api.measures.MeasuresFilters.ruleCategories(Metric)
since 2.5. See http://jira.codehaus.org/browse/SONAR-2007
|
org.sonar.api.measures.MeasuresFilters.ruleCategory(Metric, Integer)
since 2.5. See http://jira.codehaus.org/browse/SONAR-2007
|
org.sonar.api.batch.SensorContext.saveResource(Resource)
use the methods index()
|
org.sonar.api.batch.SensorContext.saveSource(Resource, String)
since 4.2 Source import is done by the platform
|
org.sonar.api.rules.ActiveRuleParam.setActiveRule(ActiveRule)
visibility should be decreased to protected or package
|
org.sonar.api.rules.ActiveRule.setActiveRuleParams(List)
use setParameter()
|
org.sonar.api.profiles.RulesProfile.setEnabled(Boolean)
since 3.3.
|
org.sonar.api.rules.Rule.setEnabled(Boolean)
|
org.sonar.api.resources.Resource.setExcluded(boolean)
since 2.6 should use SensorContext#isExcluded(resource). It will make inheritance of Resource easier.
|
org.sonar.wsclient.services.ResourceQuery.setExcludeRuleCategories(boolean)
since 2.5 not used anymore
|
org.sonar.wsclient.services.ResourceQuery.setExcludeRulePriorities(boolean)
|
org.sonar.api.resources.Project.setExclusionPatterns(String[])
|
org.sonar.api.technicaldebt.batch.internal.DefaultRequirement.setFactor(WorkUnit)
since 4.2
|
org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic.setFactor(WorkUnit)
since 4.2
|
org.sonar.api.resources.Project.setFileSystem(ProjectFileSystem)
since 2.6. See http://jira.codehaus.org/browse/SONAR-2126
|
org.sonar.api.rules.Rule.setId(Integer)
since 2.3. visibility should be decreased to protected or package
|
org.sonar.api.rules.ActiveRule.setId(Integer)
visibility should be decreased to protected or package
|
org.sonar.api.resources.Project.setLatestAnalysis(boolean)
in 3.6. It's not possible to analyze a project before the latest known quality snapshot.
See http://jira.codehaus.org/browse/SONAR-4334
|
org.sonar.api.technicaldebt.batch.internal.DefaultRequirement.setOffset(WorkUnit)
since 4.2
|
org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic.setOffset(WorkUnit)
since 4.2
|
org.sonar.api.resources.Project.setPackaging(String)
in 2.8. See http://jira.codehaus.org/browse/SONAR-2341
|
org.sonar.api.rules.Rule.setPluginName(String)
|
org.sonar.wsclient.services.ViolationQuery.setPriorities(String...)
|
org.sonar.api.rules.Violation.setPriority(RulePriority)
|
org.sonar.api.rules.Rule.setPriority(RulePriority)
|
org.sonar.api.rules.ActiveRule.setPriority(RulePriority)
|
org.sonar.wsclient.services.Violation.setPriority(String)
|
org.sonar.api.profiles.RulesProfile.setProvided(Boolean)
since 3.3 not replaced
|
org.sonar.api.rules.ActiveRule.setRule(Rule)
visibility should be reduced to protected or package
|
org.sonar.wsclient.services.ResourceQuery.setRuleCategories(String...)
since 2.5 See http://jira.codehaus.org/browse/SONAR-2007
|
org.sonar.api.measures.RuleMeasure.setRuleCategory(Integer)
since 2.5. See SONAR-2007.
|
org.sonar.wsclient.services.Measure.setRuleCategory(String)
since 2.5 See http://jira.codehaus.org/browse/SONAR-2007
|
org.sonar.api.rules.ActiveRuleParam.setRuleParam(RuleParam)
visibility should be decreased to protected or package
|
org.sonar.wsclient.services.ResourceQuery.setRulePriorities(String...)
|
org.sonar.api.measures.RuleMeasure.setRulePriority(RulePriority)
|
org.sonar.wsclient.services.Measure.setRulePriority(String)
|
org.sonar.api.rules.ActiveRule.setRulesProfile(RulesProfile)
visibility should be reduced to protected or package
|
org.sonar.api.batch.SonarIndex.setSource(Resource, String)
since 4.2 should not be used by plugins
|
org.sonar.api.scan.filesystem.ModuleFileSystem.sourceDirs()
|
org.sonar.api.scan.filesystem.ModuleFileSystem.testDirs()
|
org.sonar.api.resources.ProjectUtils.toIoFiles(Collection)
in 4.2. Replaced by org.sonar.api.resources.InputFileUtils#toFiles()
|
org.sonar.api.utils.ZipUtils.unzipToTempDir(File)
|
org.sonar.api.rules.RulePriority.valueOfString(String)
in 3.6
|