Deprecated API


Contents
Deprecated Classes
org.sonar.api.web.AbstractDashboardWidget
          override org.sonar.api.web.AbstractRubyTemplate and implement org.sonar.api.web.RubyRailsWidget 
org.sonar.api.web.gwt.client.AbstractPage
          since 2.0, use the lib sonar-gwt-api 
 

Deprecated Enums
org.sonar.api.web.Section
          add annotation org.sonar.api.web.NavigationSection to View extensions 
 

Deprecated Fields
org.sonar.api.batch.AbstractSourceImporter.DEFAULT_IMPORT_SOURCES
          replaced by CoreProperties.CORE_IMPORT_SOURCES_DEFAULT_VALUE since 1.11 
org.sonar.api.batch.AbstractSourceImporter.KEY_IMPORT_SOURCES
          replaced by CoreProperties.CORE_IMPORT_SOURCES_PROPERTY since 1.11 
org.sonar.api.resources.Project.PARAM_DATE
          since version 1.11. Constant moved to CoreProperties 
org.sonar.api.resources.Project.PARAM_DYNAMIC_ANALYSIS
          since version 1.11. Constant moved to CoreProperties 
org.sonar.api.resources.Project.PARAM_EXCLUSIONS
          since version 1.11. Constant moved to CoreProperties 
org.sonar.api.resources.Project.PARAM_LANGUAGE
          since version 1.11. Constant moved to CoreProperties 
org.sonar.api.resources.Project.PARAM_REUSE_RULES_CONFIG
          since version 1.11. Constant moved to CoreProperties 
org.sonar.api.resources.Project.PARAM_VERSION
          since version 1.11. Constant moved to CoreProperties 
org.sonar.api.resources.Resource.QUALIFIER_PROJECT_BRANCH
           
org.sonar.api.web.gwt.client.webservices.Resource.QUALIFIER_PROJECT_BRANCH
           
org.sonar.api.resources.Resource.QUALIFIER_PROJECT_TRUNK
           
org.sonar.api.web.gwt.client.webservices.Resource.QUALIFIER_PROJECT_TRUNK
           
org.sonar.api.resources.Resource.SCOPE_DIRECTORY
           
org.sonar.api.web.gwt.client.webservices.Resource.SCOPE_DIRECTORY
           
org.sonar.api.resources.Resource.SCOPE_FILE
           
org.sonar.api.web.gwt.client.webservices.Resource.SCOPE_FILE
           
org.sonar.api.resources.Resource.SCOPE_PROJECT
           
org.sonar.api.web.gwt.client.webservices.Resource.SCOPE_PROJECT
           
org.sonar.api.measures.CoreMetrics.UNCOVERED_COMPLEXITY_BY_TESTS
          replaced since 1.11 by UNCOVERED_LINES and UNCOVERED_CONDITIONS 
org.sonar.api.measures.CoreMetrics.UNCOVERED_COMPLEXITY_BY_TESTS_KEY
          replaced since 1.11 by UNCOVERED_LINES and UNCOVERED_CONDITIONS 
org.sonar.api.web.UserRole.VIEWER
          use the constant USER since 1.12. 
 

Deprecated Methods
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 
 

Deprecated Constructors
org.sonar.api.batch.AbstractViolationsStaxParser(SensorContext, RulesManager, RulesProfile)
          since 1.11. 
org.sonar.api.measures.Metric()
           
org.sonar.api.measures.Metric(String, String, String, Metric.ValueType, Integer, Boolean, String, boolean)
           
org.sonar.colorizer.MultilinesDocTokenizer(String, String, String)
          endToken is hardcoded to star-slash, whatever the startToken ! 
org.sonar.api.rules.Rule(String, String, RulesCategory, String, String)
           
org.sonar.api.rules.Rule(String, String, String, RulesCategory, String, String)
           
 



Copyright © 2009-2010 SonarSource SA. All Rights Reserved.