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.DefaultProjectFileSystem.addSourceDir(File)
since 2.6, because should be immutable
|
org.sonar.batch.DefaultProjectFileSystem2.addSourceDir(File)
since 2.6, because should be immutable
|
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.resources.DefaultProjectFileSystem.addTestDir(File)
since 2.6, because should be immutable
|
org.sonar.batch.DefaultProjectFileSystem2.addTestDir(File)
since 2.6, because should be immutable
|
org.sonar.squid.Squid.aggregate()
|
org.sonar.api.resources.ResourceType.Builder.availableForFilters()
|
org.sonar.channel.CodeBuffer.close()
in 2.12, do not use anymore.
|
org.sonar.batch.Batch.create(ProjectReactor, Configuration, Object...)
in version 2.12
|
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.security.ExternalUsersProvider.doGetUserDetails(String)
|
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.gwt.ui.Icons.forPriority(String)
|
org.sonar.api.profiles.RulesProfile.getActiveRulesByPlugin(String)
|
org.sonar.api.resources.Project.getArtifactId()
since 2.5. See http://jira.codehaus.org/browse/SONAR-2011
|
org.sonar.wsclient.services.ReviewQuery.getAssigneeLoginsOrIds()
|
org.sonar.wsclient.services.ReviewQuery.getAuthorLoginsOrIds()
|
org.sonar.channel.CodeReaderConfiguration.getBufferCapacity()
in 2.12, do not use anymore.
|
org.sonar.api.rules.Rule.getCategoryId()
since 2.5 See http://jira.codehaus.org/browse/SONAR-2007
|
org.sonar.squid.api.CheckMessage.getChecker()
replaced by getCheck() since 2.12. Warning, to be called only if check is CodeCheck.
|
org.sonar.api.utils.AnnotationUtils.getClassAnnotation(Object, Class)
|
org.sonar.api.resources.Project.getConfiguration()
since 2.12. The component org.sonar.api.config.Settings must be used.
|
org.sonar.squid.api.SourceCode.getData(Metric)
since 2.1. It's replaced by getData(MetricDef). It's still defined for binary compatibility.
|
org.sonar.api.Plugin.getDescription()
since 2.2. The description must be set in the manifest.
|
org.sonar.squid.api.SourceCode.getDouble(Metric)
since 2.1. It's replaced by getDouble(MetricDef). It's still defined for binary compatibility.
|
org.sonar.api.resources.Project.getGroupId()
since 2.5. See http://jira.codehaus.org/browse/SONAR-2011
|
org.sonar.squid.api.SourceCode.getInt(Metric)
since 2.1. It's replaced by getInt(MetricDef). It's still defined for binary compatibility.
|
org.sonar.api.resources.ProjectFileSystem.getJavaSourceFiles()
|
org.sonar.api.resources.DefaultProjectFileSystem.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.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.resources.Project.getPackaging()
in 2.8. See http://jira.codehaus.org/browse/SONAR-2341
|
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.plugins.cobertura.api.CoberturaUtils.getReport(Project)
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
|
org.sonar.api.resources.Project.getReuseExistingRulesConfig()
since 2.5. See discussion from http://jira.codehaus.org/browse/SONAR-1873
|
org.sonar.wsclient.services.ReviewQuery.getReviewType()
since 2.9
|
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.jpa.dao.RulesDao.getRulesByPlugin(String)
|
org.sonar.api.resources.ProjectFileSystem.getSourceFiles(Language...)
|
org.sonar.api.resources.DefaultProjectFileSystem.getSourceFiles(Language...)
|
org.sonar.api.resources.ProjectFileSystem.getTestFiles(Language...)
|
org.sonar.api.resources.DefaultProjectFileSystem.getTestFiles(Language...)
|
org.sonar.wsclient.services.Review.getType()
since 2.9.
|
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.resources.DefaultProjectFileSystem.hasTestFiles(Language)
in 2.6
|
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.ResourceType.isAvailableForFilters()
|
org.sonar.api.resources.Resource.isExcluded()
since 2.6 should use SensorContext#isExcluded(resource). It will make inheritance of Resource easier.
|
org.sonar.wsclient.services.ResourceQuery.isExcludeRuleCategories()
since 2.5 not used anymore
|
org.sonar.wsclient.services.ResourceQuery.isExcludeRulePriorities()
|
org.sonar.api.utils.KeyValueFormat.parse(String, KeyValueFormat.Transformer)
since 2.7
|
org.sonar.channel.CodeReader.peekTo(EndMatcher)
|
org.sonar.channel.CodeReader.popTo(EndMatcher, Appendable)
|
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.rules.ActiveRuleParam.setActiveRule(ActiveRule)
visibility should be decreased to protected or package
|
org.sonar.api.rules.ActiveRule.setActiveRuleParams(List)
use setParameter()
|
org.sonar.wsclient.services.ReviewQuery.setAssigneeLoginsOrIds(String...)
|
org.sonar.wsclient.services.ReviewQuery.setAuthorLoginsOrIds(String...)
|
org.sonar.channel.CodeReaderConfiguration.setBufferCapacity(int)
in 2.12, do not use anymore.
|
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.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.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.wsclient.services.ReviewQuery.setReviewType(String)
since 2.9
|
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.wsclient.services.Review.setType(String)
since 2.9.
|