A B C D E F G H I J K L M N O P Q R S T U V W X Z

A

AbstractChart - Class in org.sonar.api.charts
An extension point to generate JFreeChart charts
AbstractChart() - Constructor for class org.sonar.api.charts.AbstractChart
 
AbstractCoverageExtension - Class in org.sonar.api.batch
This class implements the management of the code coverage engine if there are several.
AbstractCoverageExtension(Plugins) - Constructor for class org.sonar.api.batch.AbstractCoverageExtension
Deprecated. since 2.3. Use the default constructor
AbstractCoverageExtension() - Constructor for class org.sonar.api.batch.AbstractCoverageExtension
 
AbstractCpdMapping - Class in org.sonar.api.batch
A pre-implementation of the CpdMapping extension point
AbstractCpdMapping() - Constructor for class org.sonar.api.batch.AbstractCpdMapping
 
AbstractDashboardWidget - Class in org.sonar.api.web
Deprecated. override org.sonar.api.web.AbstractRubyTemplate and implement org.sonar.api.web.RubyRailsWidget
AbstractDashboardWidget() - Constructor for class org.sonar.api.web.AbstractDashboardWidget
Deprecated.  
AbstractDirectoriesDecorator - Class in org.sonar.api.batch
Deprecated. since 2.2, the number of directories is automatically calculated by sonar core (see metric formula)
AbstractDirectoriesDecorator(Language) - Constructor for class org.sonar.api.batch.AbstractDirectoriesDecorator
Deprecated.  
AbstractDivisionDecorator - Class in org.sonar.api.batch
A pre-implementation to decorate metrics that are the result of a division
AbstractDivisionDecorator() - Constructor for class org.sonar.api.batch.AbstractDivisionDecorator
 
AbstractFileComplexityDecorator - Class in org.sonar.api.batch
Deprecated. a formula has been implemented on the metric, so no need to have decorator anymore
AbstractFileComplexityDecorator(Language) - Constructor for class org.sonar.api.batch.AbstractFileComplexityDecorator
Deprecated.  
AbstractFilesDecorator - Class in org.sonar.api.batch
Deprecated. since 2.2, the number of files is automatically calculated by sonar core (see metric formula)
AbstractFilesDecorator(Language) - Constructor for class org.sonar.api.batch.AbstractFilesDecorator
Deprecated.  
AbstractFunctionComplexityDecorator - Class in org.sonar.api.batch
Deprecated. a formula has been implemented on the metric, so no need to have decorator anymore
AbstractFunctionComplexityDecorator(Language) - Constructor for class org.sonar.api.batch.AbstractFunctionComplexityDecorator
Deprecated.  
AbstractFunctionComplexityDistributionDecorator - Class in org.sonar.api.batch
Deprecated. a formula has been implemented on the metric, so no need to have decorator anymore
AbstractFunctionComplexityDistributionDecorator(Language) - Constructor for class org.sonar.api.batch.AbstractFunctionComplexityDistributionDecorator
Deprecated.  
AbstractLanguage - Class in org.sonar.api.resources
Inherit this class to define a new language like PLSQL, PHP or C#
AbstractLanguage(String) - Constructor for class org.sonar.api.resources.AbstractLanguage
Better to use AbstractLanguage(key, name).
AbstractLanguage(String, String) - Constructor for class org.sonar.api.resources.AbstractLanguage
Should be the constructor used to build an AbstractLanguage.
ABSTRACTNESS - Static variable in class org.sonar.api.measures.CoreMetrics
 
ABSTRACTNESS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
AbstractPage - Class in org.sonar.api.web.gwt.client
Deprecated. since 2.0, use the lib sonar-gwt-api
AbstractPage() - Constructor for class org.sonar.api.web.gwt.client.AbstractPage
Deprecated.  
AbstractResourceQuery<R extends ResponsePOJO> - Class in org.sonar.api.web.gwt.client.webservices
 
AbstractResourceQuery(String) - Constructor for class org.sonar.api.web.gwt.client.webservices.AbstractResourceQuery
 
AbstractRubyTemplate - Class in org.sonar.api.web
It's useful in development environment to see browser rendering in real time while editing the template.
AbstractRubyTemplate() - Constructor for class org.sonar.api.web.AbstractRubyTemplate
 
AbstractSourceImporter - Class in org.sonar.api.batch
A pre-implementation for a sensor that imports sources
AbstractSourceImporter(Language) - Constructor for class org.sonar.api.batch.AbstractSourceImporter
 
AbstractSumChildrenDecorator - Class in org.sonar.api.batch
Sum measures of child resources.
AbstractSumChildrenDecorator() - Constructor for class org.sonar.api.batch.AbstractSumChildrenDecorator
 
AbstractViewer - Class in org.sonar.api.web.gwt.client
 
AbstractViewer() - Constructor for class org.sonar.api.web.gwt.client.AbstractViewer
 
AbstractViewer.StandAloneResourceHandler - Class in org.sonar.api.web.gwt.client
 
AbstractViewer.StandAloneResourceHandler() - Constructor for class org.sonar.api.web.gwt.client.AbstractViewer.StandAloneResourceHandler
 
accept(ZipEntry) - Method in interface org.sonar.api.utils.ZipUtils.ZipEntryFilter
 
ACCESSORS - Static variable in class org.sonar.api.measures.CoreMetrics
 
ACCESSORS - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
ACCESSORS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
activateRule(Rule, RulePriority) - Method in class org.sonar.api.profiles.RulesProfile
 
ActiveRule - Class in org.sonar.api.rules
A class to map an ActiveRule to the hibernate model
ActiveRule() - Constructor for class org.sonar.api.rules.ActiveRule
Deprecated. visibility should be reduced to protected or package
ActiveRule(RulesProfile, Rule, RulePriority) - Constructor for class org.sonar.api.rules.ActiveRule
Deprecated. visibility should be reduced to protected or package
ActiveRuleParam - Class in org.sonar.api.rules
 
ActiveRuleParam() - Constructor for class org.sonar.api.rules.ActiveRuleParam
Deprecated. visibility should be decreased to protected or package
ActiveRuleParam(ActiveRule, RuleParam, String) - Constructor for class org.sonar.api.rules.ActiveRuleParam
Deprecated. visibility should be decreased to protected or package
add(Object, int) - Method in class org.sonar.api.measures.CountDistributionBuilder
Increments an entry
add(Object) - Method in class org.sonar.api.measures.CountDistributionBuilder
Increments an entry by one
add(Measure) - Method in class org.sonar.api.measures.CountDistributionBuilder
Adds an existing Distribution to the current one.
add(KEY, VALUE) - Method in class org.sonar.api.measures.PropertiesBuilder
 
add(Number) - Method in class org.sonar.api.measures.RangeDistributionBuilder
Increments an entry by 1
add(Number, int) - Method in class org.sonar.api.measures.RangeDistributionBuilder
Increments an entry
add(Measure) - Method in class org.sonar.api.measures.RangeDistributionBuilder
Adds an existing Distribution to the current one.
add(Language) - Method in class org.sonar.api.resources.Languages
Adds a language to the current object
add(Object, Object...) - Method in class org.sonar.api.utils.dag.DirectAcyclicGraph
 
add(Query<R>, QueryCallBack<R>) - Method in class org.sonar.api.web.gwt.client.webservices.SequentialQueries
 
add(Violation) - Method in class org.sonar.api.web.gwt.client.webservices.Violations
 
add(WSMetrics.Metric) - Static method in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
addAll(Map<KEY, VALUE>) - Method in class org.sonar.api.measures.PropertiesBuilder
 
addCharacteristic(Characteristic) - Method in class org.sonar.api.qualitymodel.Model
 
addChild(Characteristic) - Method in class org.sonar.api.qualitymodel.Characteristic
 
addChildren(Characteristic...) - Method in class org.sonar.api.qualitymodel.Characteristic
 
addDependency(Node) - Method in class org.sonar.api.utils.dag.Node
 
addErrorText(String) - Method in class org.sonar.api.utils.ValidationMessages
 
addFileFilter(FileFilter) - Method in class org.sonar.api.resources.DefaultProjectFileSystem
 
addFileFilters(List<FileFilter>) - Method in class org.sonar.api.resources.DefaultProjectFileSystem
 
addInfoText(String) - Method in class org.sonar.api.utils.ValidationMessages
 
addParameter(String, String) - Method in class org.sonar.api.batch.maven.MavenPlugin
Adds a parameter to the maven plugin
addProperty(CharacteristicProperty) - Method in class org.sonar.api.qualitymodel.Characteristic
 
addResource(Resource) - Method in class org.sonar.api.batch.SonarIndex
 
addResource(Resource, Set<Integer>) - Method in class org.sonar.api.checks.NoSonarFilter
 
addSourceDir(File) - Method in class org.sonar.api.resources.DefaultProjectFileSystem
Adds a source directory
addSourceDir(File) - Method in interface org.sonar.api.resources.ProjectFileSystem
 
addTestDir(File) - Method in class org.sonar.api.resources.DefaultProjectFileSystem
Adds a test directory
addTestDir(File) - Method in interface org.sonar.api.resources.ProjectFileSystem
 
addViolation(Violation) - Method in class org.sonar.api.batch.SonarIndex
 
addWarningText(String) - Method in class org.sonar.api.utils.ValidationMessages
 
addZero(Object) - Method in class org.sonar.api.measures.CountDistributionBuilder
Adds an entry without a zero count if it does not exist
ADMIN - Static variable in annotation type org.sonar.api.web.UserRole
 
AFFERENT_COUPLINGS - Static variable in class org.sonar.api.measures.CoreMetrics
 
AFFERENT_COUPLINGS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
Alert - Class in org.sonar.api.profiles
Class to map alerts with hibernate model
Alert() - Constructor for class org.sonar.api.profiles.Alert
Default constructor
Alert(RulesProfile, Metric, String, String, String) - Constructor for class org.sonar.api.profiles.Alert
Creates an alert
ALERT_STATUS - Static variable in class org.sonar.api.measures.CoreMetrics
 
ALERT_STATUS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
alertStatus - Variable in class org.sonar.api.measures.Measure
 
alertText - Variable in class org.sonar.api.measures.Measure
 
all() - Static method in class org.sonar.api.measures.MeasuresFilters
 
ALL - Static variable in class org.sonar.api.rules.Iso9126RulesCategories
 
allContainsMeasure(WSMetrics.Metric) - Method in class org.sonar.api.web.gwt.client.webservices.Resources
 
analyse(Project, SensorContext) - Method in class org.sonar.api.batch.AbstractSourceImporter
The method that is going to be run when the sensor is called
analyse(ProjectFileSystem, SensorContext) - Method in class org.sonar.api.batch.AbstractSourceImporter
 
analyse(Project, SensorContext) - Method in interface org.sonar.api.batch.Sensor
The method that is going to be run when the sensor is called
AnnotationCheckFactory - Class in org.sonar.api.checks
 
AnnotationProfileParser - Class in org.sonar.api.profiles
 
AnnotationProfileParser(RuleFinder) - Constructor for class org.sonar.api.profiles.AnnotationProfileParser
 
AnnotationRuleParser - Class in org.sonar.api.rules
 
AnnotationRuleParser() - Constructor for class org.sonar.api.rules.AnnotationRuleParser
 
AnnotationUtils - Class in org.sonar.api.utils
A utility class for annotations
ANYONE_GROUP_ID - Static variable in class org.sonar.api.security.GroupRole
 
ARTIFACT_ID - Static variable in class org.sonar.api.batch.maven.MavenSurefireUtils
 
AsyncMeasureSnapshot - Class in org.sonar.api.database.model
Class to map an aysync measure with hibernate model
AsyncMeasureSnapshot(Long, Integer, Date, Date, Integer, Integer) - Constructor for class org.sonar.api.database.model.AsyncMeasureSnapshot
This is the constructor to use
AsyncMeasureSnapshot() - Constructor for class org.sonar.api.database.model.AsyncMeasureSnapshot
Default constructor
authenticate(String, String) - Method in interface org.sonar.api.security.LoginPasswordAuthenticator
 
AverageComplexityFormula - Class in org.sonar.api.measures
 
AverageComplexityFormula(Metric) - Constructor for class org.sonar.api.measures.AverageComplexityFormula
 

B

BaseIdentifiable - Class in org.sonar.api.database
 
BaseIdentifiable() - Constructor for class org.sonar.api.database.BaseIdentifiable
 
BaseQueryCallback<P extends ResponsePOJO> - Class in org.sonar.api.web.gwt.client.webservices
 
BaseQueryCallback() - Constructor for class org.sonar.api.web.gwt.client.webservices.BaseQueryCallback
 
BaseQueryCallback(LoadingLabel) - Constructor for class org.sonar.api.web.gwt.client.webservices.BaseQueryCallback
 
BATCH_SIZE - Static variable in class org.sonar.api.database.DatabaseSession
 
BatchComponent - Interface in org.sonar.api
Dependency Injection : all the classes implementing this interface are available in the batch IoC container.
BatchExtension - Interface in org.sonar.api
Batch extension point.
BatchExtensionDictionnary - Class in org.sonar.api.batch
 
BatchExtensionDictionnary(IocContainer) - Constructor for class org.sonar.api.batch.BatchExtensionDictionnary
 
BatchExtensionDictionnary(MutablePicoContainer) - Constructor for class org.sonar.api.batch.BatchExtensionDictionnary
 
BLOCKER_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
BLOCKER_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
BRANCH_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
BRANCH_COVERAGE - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
BRANCH_COVERAGE_HITS_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
 
BRANCH_COVERAGE_HITS_DATA - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
BRANCH_COVERAGE_HITS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
build(Measure) - Static method in class org.sonar.api.database.model.MeasureModel
Builds a MeasureModel from a Measure
build(Measure, MeasureModel) - Static method in class org.sonar.api.database.model.MeasureModel
Merges a Measure into a MeasureModel
build(Resource) - Static method in class org.sonar.api.database.model.ResourceModel
Maps a resource to a resource model and returns the resource
build() - Method in class org.sonar.api.measures.CountDistributionBuilder
Shortcut for build(true)
build(boolean) - Method in class org.sonar.api.measures.CountDistributionBuilder
Used to build a measure from the current object
build() - Method in interface org.sonar.api.measures.MeasureBuilder
 
build() - Method in class org.sonar.api.measures.PropertiesBuilder
 
build() - Method in class org.sonar.api.measures.RangeDistributionBuilder
Shortcut for build(true)
build(boolean) - Method in class org.sonar.api.measures.RangeDistributionBuilder
Used to build a measure from the current object
build(String) - Static method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
build() - Static method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
BuildBreaker - Class in org.sonar.api.batch
 
BuildBreaker() - Constructor for class org.sonar.api.batch.BuildBreaker
 
buildData() - Method in class org.sonar.api.measures.PropertiesBuilder
 
buildGlobalRole(Integer, String) - Static method in class org.sonar.api.security.GroupRole
 
buildPicoContainer() - Static method in class org.sonar.api.utils.IocContainer
 
buildResourceRole(Integer, String, Integer) - Static method in class org.sonar.api.security.GroupRole
 

C

calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.AverageComplexityFormula
 
calculate(FormulaData, FormulaContext) - Method in interface org.sonar.api.measures.Formula
 
calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.MeanAggregationFormula
 
calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.SumChildDistributionFormula
 
calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.SumChildValuesFormula
 
calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.WeightedMeanAggregationFormula
 
CATEGORY_ALERT - Static variable in class org.sonar.api.batch.Event
 
CATEGORY_VERSION - Static variable in class org.sonar.api.batch.Event
 
characteristic - Variable in class org.sonar.api.measures.Measure
 
characteristic(Metric, Characteristic) - Static method in class org.sonar.api.measures.MeasuresFilters
 
Characteristic - Class in org.sonar.api.qualitymodel
 
CharacteristicProperty - Class in org.sonar.api.qualitymodel
 
Chart - Interface in org.sonar.api.charts
An Extension to create charts
ChartParameters - Class in org.sonar.api.charts
The class to hold parameters to configure a chart
ChartParameters(Map<String, String>) - Constructor for class org.sonar.api.charts.ChartParameters
Creates a ChartParameter based on a list of parameters
ChartParameters(String) - Constructor for class org.sonar.api.charts.ChartParameters
Creates a Chartparameter based on a query string with a format key1=value1&key2=value2...
CheckFactory<CHECK> - Class in org.sonar.api.checks
 
CheckFactory(RulesProfile, String) - Constructor for class org.sonar.api.checks.CheckFactory
 
CheckProject - Interface in org.sonar.api.batch
 
CHECKSTYLE_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
 
checkUp() - Method in class org.sonar.api.utils.ServerHttpClient
Deprecated. Throws a runtime ServerConnectionException if it fails to connect Sonar server
CLASS_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
CLASS_COMPLEXITY - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
CLASS_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
 
CLASS_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
CLASS_COMPLEXITY_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
CLASS_COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
CLASSES - Static variable in class org.sonar.api.measures.CoreMetrics
 
CLASSES - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
CLASSES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
clear() - Method in class org.sonar.api.measures.CountDistributionBuilder
Resets all entries to zero
clear() - Method in class org.sonar.api.measures.PropertiesBuilder
 
clear() - Method in class org.sonar.api.measures.RangeDistributionBuilder
Resets all entries to zero
clone() - Method in class org.sonar.api.database.model.MeasureModel
 
clone() - Method in class org.sonar.api.database.model.ResourceModel
 
clone() - Method in class org.sonar.api.profiles.Alert
 
clone() - Method in class org.sonar.api.profiles.RulesProfile
 
clone() - Method in class org.sonar.api.rules.ActiveRule
 
clone() - Method in class org.sonar.api.rules.ActiveRuleParam
 
COBERTURA_MAXMEM_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
COBERTURA_MAXMEM_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
COBERTURA_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
 
COBERTURA_REPORT_PATH_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
CodeColorizerFormat - Class in org.sonar.api.web
Extend the library sonar-colorizer to support new languages.
CodeColorizerFormat(String) - Constructor for class org.sonar.api.web.CodeColorizerFormat
 
CODEVIEWER - Static variable in annotation type org.sonar.api.web.UserRole
 
COLORS - Static variable in class org.sonar.api.charts.AbstractChart
 
COMMENT_BLANK_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMMENT_BLANK_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMMENT_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMMENT_LINES - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
COMMENT_LINES_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMMENT_LINES_DENSITY - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
COMMENT_LINES_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMMENT_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMMENTED_OUT_CODE_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMMENTED_OUT_CODE_LINES - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
COMMENTED_OUT_CODE_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
commit() - Method in class org.sonar.api.database.DatabaseSession
 
compareTo(Characteristic) - Method in class org.sonar.api.qualitymodel.Characteristic
 
compareTo(Model) - Method in class org.sonar.api.qualitymodel.Model
 
compareTo(Node) - Method in class org.sonar.api.utils.dag.Node
 
COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMPLEXITY - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
compute(Measure, Measure, boolean) - Method in class org.sonar.api.batch.AbstractDivisionDecorator
 
CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
 
CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
CONF_PERMALINK_BASE - Static variable in class org.sonar.api.web.gwt.client.ResourceDictionary
 
CONF_RESOURCE_KEY - Static variable in class org.sonar.api.web.gwt.client.ResourceDictionary
 
CONF_V_METRIC_KEY - Static variable in class org.sonar.api.web.gwt.client.ResourceDictionary
 
CONF_V_PLUGIN_KEY - Static variable in class org.sonar.api.web.gwt.client.ResourceDictionary
 
CONF_V_RESOURCE_KEY - Static variable in class org.sonar.api.web.gwt.client.ResourceDictionary
 
CONFIGURATION - Static variable in annotation type org.sonar.api.web.NavigationSection
 
configure(Project, MavenPlugin) - Method in interface org.sonar.api.batch.maven.MavenPluginHandler
Configures the pom being executed, add or remove plugin properties.
configure(Project) - Static method in class org.sonar.api.batch.maven.MavenSurefireUtils
Configures the project POM with base required surefire settings
configureColors(Values2D, CategoryPlot, String[]) - Method in class org.sonar.api.charts.AbstractChart
Helper to set color of series.
contains(Object) - Method in class org.sonar.api.database.DatabaseSession
 
convertJavaFileKeyFromSquidFormat(String) - Static method in class org.sonar.api.batch.SquidUtils
 
convertJavaPackageKeyFromSquidFormat(String) - Static method in class org.sonar.api.batch.SquidUtils
 
convertToSquidKeyFormat(JavaFile) - Static method in class org.sonar.api.batch.SquidUtils
 
copyFieldsFrom(ProjectLink) - Method in class org.sonar.api.resources.ProjectLink
 
CORE_ALLOW_USERS_TO_SIGNUP_DEAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
CORE_ALLOW_USERS_TO_SIGNUP_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
CORE_AUTHENTICATOR_CLASS - Static variable in interface org.sonar.api.CoreProperties
 
CORE_AUTHENTICATOR_CREATE_USERS - Static variable in interface org.sonar.api.CoreProperties
 
CORE_AUTHENTICATOR_IGNORE_STARTUP_FAILURE - Static variable in interface org.sonar.api.CoreProperties
 
CORE_COVERAGE_PLUGIN_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
CORE_DEFAULT_GROUP - Static variable in interface org.sonar.api.CoreProperties
 
CORE_DEFAULT_GROUP_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
CORE_FORCE_AUTHENTICATION_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
CORE_FORCE_AUTHENTICATION_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
CORE_IMPORT_SOURCES_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
CORE_IMPORT_SOURCES_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
CORE_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
 
CORE_RULE_WEIGHTS_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
CORE_RULE_WEIGHTS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
CORE_SKIPPED_MODULES_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
CORE_TENDENCY_DEPTH_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
CORE_TENDENCY_DEPTH_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
CoreMetrics - Class in org.sonar.api.measures
 
CoreProperties - Interface in org.sonar.api
CoreProperties is used to group various properties of Sonar as well as default values of configuration in a single place
CountDistributionBuilder - Class in org.sonar.api.measures
Utility to build a distribution based on discrete values
CountDistributionBuilder(Metric) - Constructor for class org.sonar.api.measures.CountDistributionBuilder
Creates an empty CountDistributionBuilder for a specified metric
countForLine(Integer) - Method in class org.sonar.api.web.gwt.client.webservices.Violations
 
COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
COVERAGE - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
COVERAGE_LINE_HITS_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
 
COVERAGE_LINE_HITS_DATA - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
COVERAGE_LINE_HITS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
CPD_IGNORE_IDENTIFIERS_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
CPD_IGNORE_IDENTIFIERS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
CPD_IGNORE_LITERALS_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
CPD_IGNORE_LITERALS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
CPD_MINIMUM_TOKENS_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
CPD_MINIMUM_TOKENS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
CPD_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
 
CPD_SKIP_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
CpdMapping - Interface in org.sonar.api.batch
 
create(RulesProfile, String, Collection<Class>) - Static method in class org.sonar.api.checks.AnnotationCheckFactory
 
create(String, String) - Static method in class org.sonar.api.profiles.RulesProfile
 
create() - Static method in class org.sonar.api.profiles.RulesProfile
 
create() - Static method in class org.sonar.api.qualitymodel.Characteristic
 
create(String) - Static method in class org.sonar.api.qualitymodel.CharacteristicProperty
 
create() - Static method in class org.sonar.api.qualitymodel.Model
 
create() - Static method in class org.sonar.api.rules.Rule
 
create(String, String, String) - Static method in class org.sonar.api.rules.Rule
Create with all required fields
create() - Static method in class org.sonar.api.rules.RuleQuery
 
create(ActiveRule, Resource) - Static method in class org.sonar.api.rules.Violation
 
create(Rule, Resource) - Static method in class org.sonar.api.rules.Violation
 
create() - Static method in class org.sonar.api.utils.ValidationMessages
 
create(String) - Static method in class org.sonar.api.utils.WildcardPattern
 
create(String[]) - Static method in class org.sonar.api.utils.WildcardPattern
 
create(String, String) - Static method in class org.sonar.api.utils.WildcardPattern
 
create(String) - Static method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
createByKey(String, String) - Static method in class org.sonar.api.qualitymodel.Characteristic
 
createByName(String) - Static method in class org.sonar.api.qualitymodel.Characteristic
 
createByName(String) - Static method in class org.sonar.api.qualitymodel.Model
 
createByRule(Rule) - Static method in class org.sonar.api.qualitymodel.Characteristic
 
createCharacteristicByKey(String, String) - Method in class org.sonar.api.qualitymodel.Model
 
createCharacteristicByName(String) - Method in class org.sonar.api.qualitymodel.Model
 
createCharacteristicByRule(Rule) - Method in class org.sonar.api.qualitymodel.Model
 
createCheck(ActiveRule) - Method in class org.sonar.api.checks.AnnotationCheckFactory
 
createClassLoader() - Method in class org.sonar.api.batch.ProjectClasspath
 
createElements() - Method in class org.sonar.api.batch.ProjectClasspath
 
createEvent(String, String, String, Date) - Method in interface org.sonar.api.batch.DecoratorContext
Creates an event for a given date
createEvent(Resource, String, String, String, Date) - Method in interface org.sonar.api.batch.SensorContext
Creates an event for a given date
createEvent(Resource, String, String, String, Date) - Method in class org.sonar.api.batch.SonarIndex
 
createForCategory(Metric, Integer, Double) - Static method in class org.sonar.api.measures.RuleMeasure
 
createForPriority(Metric, RulePriority, Double) - Static method in class org.sonar.api.measures.RuleMeasure
 
createForRule(Metric, Rule, Double) - Static method in class org.sonar.api.measures.RuleMeasure
 
createFromMavenIds(String, String) - Static method in class org.sonar.api.resources.Project
 
createModel() - Method in class org.sonar.api.qualitymodel.ModelDefinition
 
createParameter() - Method in class org.sonar.api.rules.Rule
 
createParameter(String) - Method in class org.sonar.api.rules.Rule
 
createProfile(ValidationMessages) - Method in class org.sonar.api.profiles.ProfileDefinition
 
createQuery(String) - Method in class org.sonar.api.database.DatabaseSession
 
createResource(File, List<File>) - Method in class org.sonar.api.batch.AbstractCpdMapping
createResource(File, List<File>, boolean) - Method in class org.sonar.api.batch.AbstractSourceImporter
 
createResource(File, List<File>) - Method in interface org.sonar.api.batch.CpdMapping
 
createRules() - Method in class org.sonar.api.rules.RuleRepository
 
createTempDirectory() - Static method in class org.sonar.api.utils.TempFileUtils
 
CRITICAL_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
CRITICAL_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
CyclicDependenciesException - Exception in org.sonar.api.utils.dag
 
CyclicDependenciesException() - Constructor for exception org.sonar.api.utils.dag.CyclicDependenciesException
 
CyclicDependenciesException(String) - Constructor for exception org.sonar.api.utils.dag.CyclicDependenciesException
 
CyclicDependenciesException(String, Throwable) - Constructor for exception org.sonar.api.utils.dag.CyclicDependenciesException
 
CyclicDependenciesException(Throwable) - Constructor for exception org.sonar.api.utils.dag.CyclicDependenciesException
 

D

data - Variable in class org.sonar.api.measures.Measure
 
DatabaseProperties - Interface in org.sonar.api.database
 
DatabaseSession - Class in org.sonar.api.database
This component should not accessible from plugin API
DatabaseSession() - Constructor for class org.sonar.api.database.DatabaseSession
 
date - Variable in class org.sonar.api.measures.Measure
 
decorate(Resource, DecoratorContext) - Method in class org.sonar.api.batch.AbstractDirectoriesDecorator
Deprecated. 
decorate(Resource, DecoratorContext) - Method in class org.sonar.api.batch.AbstractDivisionDecorator
decorate(Resource, DecoratorContext) - Method in class org.sonar.api.batch.AbstractFileComplexityDecorator
Deprecated. 
decorate(Resource, DecoratorContext) - Method in class org.sonar.api.batch.AbstractFilesDecorator
Deprecated. 
decorate(Resource, DecoratorContext) - Method in class org.sonar.api.batch.AbstractFunctionComplexityDecorator
Deprecated. 
decorate(Resource, DecoratorContext) - Method in class org.sonar.api.batch.AbstractFunctionComplexityDistributionDecorator
Deprecated.  
decorate(Resource, DecoratorContext) - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
decorate(Resource, DecoratorContext) - Method in interface org.sonar.api.batch.Decorator
 
decorate(Resource, DecoratorContext) - Method in class org.sonar.api.batch.FormulaDecorator
Decorator - Interface in org.sonar.api.batch
 
DecoratorBarriers - Interface in org.sonar.api.batch
Barriers are used to define the order of execution of Decorators.
DecoratorContext - Interface in org.sonar.api.batch
 
DEFAULT_HEIGHT - Static variable in class org.sonar.api.charts.ChartParameters
 
DEFAULT_IMPORT_SOURCES - Static variable in class org.sonar.api.batch.AbstractSourceImporter
Deprecated. replaced by CoreProperties.CORE_IMPORT_SOURCES_DEFAULT_VALUE since 1.11
DEFAULT_MINIMUM_PERIOD_IN_HOURS - Static variable in class org.sonar.api.purge.PurgeUtils
 
DEFAULT_PACKAGE_NAME - Static variable in class org.sonar.api.resources.Java
Default package name for classes without package def
DEFAULT_PACKAGE_NAME - Static variable in class org.sonar.api.resources.JavaPackage
Default package name for classes without package definition
DEFAULT_PLUGIN - Static variable in class org.sonar.api.batch.AbstractCoverageExtension
The default value for the code coverage plugin
DEFAULT_PRECISION - Static variable in class org.sonar.api.measures.Measure
Default precision when saving a float type metric
DEFAULT_PRIORITY - Static variable in class org.sonar.api.rules.Rule
The default priority given to a rule if not explicitely set
DEFAULT_WIDTH - Static variable in class org.sonar.api.charts.ChartParameters
 
DefaultFormulaContext - Class in org.sonar.api.batch
 
DefaultFormulaContext(Metric) - Constructor for class org.sonar.api.batch.DefaultFormulaContext
 
DefaultFormulaData - Class in org.sonar.api.batch
 
DefaultFormulaData(DecoratorContext) - Constructor for class org.sonar.api.batch.DefaultFormulaData
 
DefaultProjectFileSystem - Class in org.sonar.api.resources
An implementation of ProjectFileSystem
DefaultProjectFileSystem(Project) - Constructor for class org.sonar.api.resources.DefaultProjectFileSystem
Creates a DefaultProjectFileSystem based on a project
DefaultTab - Annotation Type in org.sonar.api.web
 
deleteEvent(Event) - Method in interface org.sonar.api.batch.DecoratorContext
Deletes an event
deleteEvent(Event) - Method in interface org.sonar.api.batch.SensorContext
Deletes an event
deleteEvent(Event) - Method in class org.sonar.api.batch.SonarIndex
 
deleteLink(String) - Method in interface org.sonar.api.batch.SensorContext
remove a link.
deleteLink(String) - Method in class org.sonar.api.batch.SonarIndex
 
DependedUpon - Annotation Type in org.sonar.api.batch
 
Dependency - Class in org.sonar.api.design
 
Dependency(Resource, Resource) - Constructor for class org.sonar.api.design.Dependency
 
DEPENDENCY_MATRIX - Static variable in class org.sonar.api.measures.CoreMetrics
 
DEPENDENCY_MATRIX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
DependencyDto - Class in org.sonar.api.design
 
DependencyDto() - Constructor for class org.sonar.api.design.DependencyDto
 
DependsUpon - Annotation Type in org.sonar.api.batch
 
DependsUponCustomRules - Interface in org.sonar.api.batch.maven
Marker interface for MavenPluginHandlers.
dependsUponFileAndComplexityMetrics() - Method in class org.sonar.api.batch.AbstractFileComplexityDecorator
Deprecated. Used to define upstream dependencies
dependsUponFileAndComplexityMetrics() - Method in class org.sonar.api.batch.AbstractFunctionComplexityDecorator
Deprecated. Used to define upstream dependencies
DependsUponMavenPlugin - Interface in org.sonar.api.batch.maven
Used for Sensors and PostJobs only.
dependsUponMetrics() - Method in class org.sonar.api.batch.AbstractDivisionDecorator
Used to define upstream dependencies
dependsUponMetrics() - Method in class org.sonar.api.batch.FormulaDecorator
 
dependsUponMetrics() - Method in class org.sonar.api.measures.AverageComplexityFormula
 
dependsUponMetrics() - Method in interface org.sonar.api.measures.Formula
 
dependsUponMetrics() - Method in class org.sonar.api.measures.MeanAggregationFormula
 
dependsUponMetrics() - Method in class org.sonar.api.measures.SumChildDistributionFormula
 
dependsUponMetrics() - Method in class org.sonar.api.measures.SumChildValuesFormula
 
dependsUponMetrics() - Method in class org.sonar.api.measures.WeightedMeanAggregationFormula
 
DEPTH_IN_TREE - Static variable in class org.sonar.api.measures.CoreMetrics
 
DEPTH_IN_TREE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
DEPTH_UNLIMITED - Static variable in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
description - Variable in class org.sonar.api.measures.Measure
 
Description - Annotation Type in org.sonar.api.web
 
DESCRIPTION_COLUMN_SIZE - Static variable in class org.sonar.api.database.model.ResourceModel
 
DESIGN_SKIP_DESIGN_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
DESIGN_SKIP_DESIGN_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
DIALECT_DB2 - Static variable in interface org.sonar.api.database.DatabaseProperties
 
DIALECT_DERBY - Static variable in interface org.sonar.api.database.DatabaseProperties
 
DIALECT_HSQLDB - Static variable in interface org.sonar.api.database.DatabaseProperties
 
DIALECT_MSSQL - Static variable in interface org.sonar.api.database.DatabaseProperties
 
DIALECT_MYSQL - Static variable in interface org.sonar.api.database.DatabaseProperties
 
DIALECT_ORACLE - Static variable in interface org.sonar.api.database.DatabaseProperties
 
DIALECT_POSTGRESQL - Static variable in interface org.sonar.api.database.DatabaseProperties
 
diff1 - Variable in class org.sonar.api.measures.Measure
 
diff2 - Variable in class org.sonar.api.measures.Measure
 
diff3 - Variable in class org.sonar.api.measures.Measure
 
DirectAcyclicGraph - Class in org.sonar.api.utils.dag
http://en.wikipedia.org/wiki/Directed_acyclic_graph
DirectAcyclicGraph(Object...) - Constructor for class org.sonar.api.utils.dag.DirectAcyclicGraph
 
DIRECTION_BETTER - Static variable in class org.sonar.api.measures.Metric
A metric bigger value means an improvement
DIRECTION_NONE - Static variable in class org.sonar.api.measures.Metric
The metric direction has no meaning
DIRECTION_WORST - Static variable in class org.sonar.api.measures.Metric
A metric bigger value means a degradation
DIRECTORIES - Static variable in class org.sonar.api.measures.CoreMetrics
 
DIRECTORIES - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
DIRECTORIES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
Directory - Class in org.sonar.api.resources
 
Directory(String) - Constructor for class org.sonar.api.resources.Directory
 
Directory(String, Language) - Constructor for class org.sonar.api.resources.Directory
 
dispatchJSON(JavaScriptObject, JsonUtils.JSONHandler) - Static method in class org.sonar.api.web.gwt.client.webservices.JsonUtils
 
displayView(Widget) - Method in class org.sonar.api.web.gwt.client.AbstractPage
Deprecated.  
DISTANCE - Static variable in class org.sonar.api.measures.CoreMetrics
 
DISTANCE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_DESIGN - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_DOCUMENTATION - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_DUPLICATION - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_GENERAL - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_RULE_CATEGORIES - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_RULES - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_SIZE - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
 
download(URI, File) - Method in class org.sonar.api.utils.HttpDownloader
 
download(URI) - Method in class org.sonar.api.utils.HttpDownloader
 
DUPLICATED_BLOCKS - Static variable in class org.sonar.api.measures.CoreMetrics
 
DUPLICATED_BLOCKS - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
DUPLICATED_BLOCKS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
DUPLICATED_FILES - Static variable in class org.sonar.api.measures.CoreMetrics
 
DUPLICATED_FILES - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
DUPLICATED_FILES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
DUPLICATED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
DUPLICATED_LINES - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
DUPLICATED_LINES_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
DUPLICATED_LINES_DENSITY - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
DUPLICATED_LINES_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
DUPLICATED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
DUPLICATIONS_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
 
DUPLICATIONS_DATA - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
DUPLICATIONS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
DYNAMIC_ANALYSIS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 

E

EFFERENT_COUPLINGS - Static variable in class org.sonar.api.measures.CoreMetrics
 
EFFERENT_COUPLINGS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
EFFICIENCY - Static variable in class org.sonar.api.measures.CoreMetrics
 
EFFICIENCY - Static variable in class org.sonar.api.rules.Iso9126RulesCategories
 
EFFICIENCY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
END_OF_VIOLATIONS_GENERATION - Static variable in interface org.sonar.api.batch.DecoratorBarriers
This barrier is used by a decorator in order to : be executed after all the decorators which generate violations : @DependsUpon(value=DecoratorBarriers.END_OF_VIOLATIONS_GENERATION declare that it generates violations : @DependedUpon(value=DecoratorBarriers.END_OF_VIOLATIONS_GENERATION
Environment - Enum in org.sonar.api.platform
 
equals(Object) - Method in class org.sonar.api.batch.FormulaDecorator
 
equals(Plugin, String, String) - Static method in class org.sonar.api.batch.maven.MavenUtils
Tests whether a plugin has got a given artifact id and group id
equals(ReportPlugin, String, String) - Static method in class org.sonar.api.batch.maven.MavenUtils
Tests whether a ReportPlugin has got a given artifact id and group id
equals(Object) - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
equals(Object) - Method in class org.sonar.api.database.model.ResourceModel
 
equals(Object) - Method in class org.sonar.api.database.model.RuleFailureModel
 
equals(Object) - Method in class org.sonar.api.database.model.Snapshot
 
equals(Object) - Method in class org.sonar.api.database.model.SnapshotSource
 
equals(Object) - Method in class org.sonar.api.database.model.User
 
equals(Object) - Method in class org.sonar.api.design.Dependency
 
equals(Object) - Method in class org.sonar.api.design.DependencyDto
 
equals(Object) - Method in class org.sonar.api.measures.Measure
 
equals(Object) - Method in class org.sonar.api.measures.Metric
 
equals(Object) - Method in class org.sonar.api.measures.RuleMeasure
 
equals(Object) - Method in class org.sonar.api.profiles.ProfileExporter
 
equals(Object) - Method in class org.sonar.api.profiles.ProfileImporter
 
equals(Object) - Method in class org.sonar.api.profiles.RulesProfile
 
equals(Object) - Method in class org.sonar.api.qualitymodel.Characteristic
 
equals(Object) - Method in class org.sonar.api.qualitymodel.Model
 
equals(Object) - Method in class org.sonar.api.qualitymodel.ModelDefinition
 
equals(Object) - Method in class org.sonar.api.resources.AbstractLanguage
 
equals(Object) - Method in class org.sonar.api.resources.Library
 
equals(Object) - Method in class org.sonar.api.resources.ProjectLink
 
equals(Object) - Method in class org.sonar.api.resources.Resource
 
equals(Object) - Method in class org.sonar.api.rules.ActiveRule
 
equals(Object) - Method in class org.sonar.api.rules.ActiveRuleParam
 
equals(Object) - Method in class org.sonar.api.rules.Rule
 
equals(Object) - Method in class org.sonar.api.rules.RuleParam
 
equals(Object) - Method in class org.sonar.api.rules.RulesCategory
 
equals(Object) - Method in class org.sonar.api.rules.Violation
 
equals(Object) - Method in class org.sonar.api.utils.dag.Node
 
equals(Object) - Method in class org.sonar.api.web.CodeColorizerFormat
 
equals(Object) - Method in class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
escapeHtml(String) - Static method in class org.sonar.api.web.gwt.client.Utils
 
evaluateAnnotatedClasses(Object, Class) - Method in class org.sonar.api.batch.BatchExtensionDictionnary
 
evaluatePhase(Object) - Method in class org.sonar.api.batch.BatchExtensionDictionnary
 
Event - Class in org.sonar.api.batch
 
Event() - Constructor for class org.sonar.api.batch.Event
 
Event(String, String, String, Date, Integer) - Constructor for class org.sonar.api.batch.Event
 
Event(String, String, String, Snapshot) - Constructor for class org.sonar.api.batch.Event
 
excludeTypes(WSMetrics.Metric.ValueType...) - Method in class org.sonar.api.web.gwt.client.webservices.MetricsQuery
 
execute(QueryCallBack<WSMetrics.MetricsList>) - Method in class org.sonar.api.web.gwt.client.webservices.MetricsQuery
 
execute(QueryCallBack<Properties>) - Method in class org.sonar.api.web.gwt.client.webservices.PropertiesQuery
 
execute(QueryCallBack<R>) - Method in class org.sonar.api.web.gwt.client.webservices.Query
 
execute(QueryCallBack<Resources>) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
execute(QueryCallBack<VoidResponse>) - Method in class org.sonar.api.web.gwt.client.webservices.SequentialQueries
 
execute(QueryCallBack<FileSource>) - Method in class org.sonar.api.web.gwt.client.webservices.SourcesQuery
 
execute(QueryCallBack<Violations>) - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
executeAction(String) - Method in class org.sonar.api.utils.ServerHttpClient
Deprecated.  
executeOn(Project, SensorContext) - Method in interface org.sonar.api.batch.PostJob
 
executeXPath(Node, QName, String) - Method in class org.sonar.api.utils.XpathParser
 
executeXPath(String) - Method in class org.sonar.api.utils.XpathParser
 
executeXPath(Node, String) - Method in class org.sonar.api.utils.XpathParser
 
executeXPathNode(Node, String) - Method in class org.sonar.api.utils.XpathParser
 
executeXPathNodeList(String) - Method in class org.sonar.api.utils.XpathParser
 
executeXPathNodeList(Node, String) - Method in class org.sonar.api.utils.XpathParser
 
exportJavascript() - Method in class org.sonar.api.web.gwt.client.AbstractViewer
Export GWT javascript methods to load and control the plugin, must export currently 2 method : I.E for plugin GWT id : foo.bar.MyPlugin, class foo.bar.client.MyPlugin :

$wnd.load_foo_bar_MyPlugin = function() { called to the plugin init from JS [email protected]::loadContainer()(); } $wnd.on_resource_loaded_foo_bar_MyPlugin = function() { called when a resource JSON object has been refreshed within the page [email protected]::onResourceLoaded()(); }

exportProfile(RulesProfile, Writer) - Method in class org.sonar.api.profiles.ProfileExporter
 
Extension - Interface in org.sonar.api
Extension point.
ExtensionProvider - Class in org.sonar.api
Factory of extensions.
ExtensionProvider() - Constructor for class org.sonar.api.ExtensionProvider
 

F

fail(String) - Method in class org.sonar.api.batch.BuildBreaker
Execute this method to fail the build.
File - Class in org.sonar.api.resources
This class is an implementation of a resource of type FILE
File(String) - Constructor for class org.sonar.api.resources.File
File in project.
File(String, String) - Constructor for class org.sonar.api.resources.File
Creates a file from its containing directory and name
File(Language, String) - Constructor for class org.sonar.api.resources.File
Creates a File from its language and its key
File(Language, String, String) - Constructor for class org.sonar.api.resources.File
Creates a File from language, directory and filename
FILE_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_COMPLEXITY - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
FILE_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_COMPLEXITY_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_CYCLES - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_CYCLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_EDGES_WEIGHT - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_EDGES_WEIGHT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_FEEDBACK_EDGES - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_FEEDBACK_EDGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_TANGLE_INDEX - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_TANGLE_INDEX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_TANGLES - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILE_TANGLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FileFilter - Class in org.sonar.api.batch
 
FileFilter() - Constructor for class org.sonar.api.batch.FileFilter
 
FILES - Static variable in class org.sonar.api.measures.CoreMetrics
 
FILES - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
FILES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FileSource - Class in org.sonar.api.web.gwt.client.webservices
 
FileSource(Map<Integer, String>) - Constructor for class org.sonar.api.web.gwt.client.webservices.FileSource
 
filter(Collection<Measure>) - Method in interface org.sonar.api.measures.MeasuresFilter
 
filterOnMetric() - Method in class org.sonar.api.measures.MeasuresFilters.MetricFilter
 
filterOnRuleCategories(boolean) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
filterOnRulePriorities(boolean) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
filterOnRules(boolean) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
find(RuleQuery) - Method in interface org.sonar.api.rules.RuleFinder
 
findAll(RuleQuery) - Method in interface org.sonar.api.rules.RuleFinder
 
FINDBUGS_EFFORT_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
FINDBUGS_EFFORT_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
FINDBUGS_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
 
FINDBUGS_REPORT_PATH - Static variable in interface org.sonar.api.CoreProperties
 
FINDBUGS_TIMEOUT_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
FINDBUGS_TIMEOUT_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
findByKey(String, String) - Method in interface org.sonar.api.rules.RuleFinder
 
findByName(String) - Method in interface org.sonar.api.qualitymodel.ModelFinder
 
firstResource() - Method in class org.sonar.api.web.gwt.client.webservices.Resources
 
fixUnicodeChar(String) - Method in class org.sonar.api.utils.XpathParser
Fix the error occured when parsing a string containing unicode character Example : &u20ac; will be replaced by €
FLAG_SQUID_ANALYSIS - Static variable in interface org.sonar.api.batch.Sensor
Sensors that depend upon Squid must declare the following method :
FONT_SIZE - Static variable in class org.sonar.api.charts.AbstractChart
 
Footer - Interface in org.sonar.api.web
 
format(Map<KEY, VALUE>) - Static method in class org.sonar.api.utils.KeyValueFormat
Transforms a map into a string with the format : "key1=value1;key2=value2..."
format(Bag) - Static method in class org.sonar.api.utils.KeyValueFormat
Deprecated. use Multiset from google collections instead of commons-collections bags
format(Bag, int) - Static method in class org.sonar.api.utils.KeyValueFormat
Deprecated. use Multiset from google collections instead of commons-collections bags
format(Multiset<?>) - Static method in class org.sonar.api.utils.KeyValueFormat
Transforms a Multiset into a string with the format : "key1=count1;key2=count2..."
format(Object...) - Static method in class org.sonar.api.utils.KeyValueFormat
Transforms a Object...
format(String, Object...) - Method in class org.sonar.api.utils.LocalizedMessages
 
formatNumber(String) - Static method in class org.sonar.api.web.gwt.client.Utils
 
formatNumber(double) - Static method in class org.sonar.api.web.gwt.client.Utils
 
formatPercent(String) - Static method in class org.sonar.api.web.gwt.client.Utils
 
formatPercent(double) - Static method in class org.sonar.api.web.gwt.client.Utils
 
formatQuietly(String, Object...) - Method in class org.sonar.api.utils.LocalizedMessages
 
Formula - Interface in org.sonar.api.measures
 
FormulaContext - Interface in org.sonar.api.measures
 
FormulaData - Interface in org.sonar.api.measures
 
FormulaDecorator - Class in org.sonar.api.batch
A pre-implementation of a decorator using a simple calculation formula
FormulaDecorator(Metric) - Constructor for class org.sonar.api.batch.FormulaDecorator
Creates a FormulaDecorator
fromAbsolutePath(String, List<File>, boolean) - Static method in class org.sonar.api.resources.JavaFile
Shortcut to fromIOFile with an abolute path
fromCheckPriority(Priority) - Static method in enum org.sonar.api.rules.RulePriority
 
fromIOFile(File, List<File>) - Static method in class org.sonar.api.resources.File
Creates a File from an io.file and a list of sources directories
fromIOFile(File, Project) - Static method in class org.sonar.api.resources.File
Creates a File from its name and a project
fromIOFile(File, List<File>, boolean) - Static method in class org.sonar.api.resources.JavaFile
Creates a JavaFile from a file in the source directories
fromIsoCategory(IsoCategory) - Static method in class org.sonar.api.rules.RulesCategory
 
FUNCTION_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FUNCTION_COMPLEXITY - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
FUNCTION_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
 
FUNCTION_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
FUNCTION_COMPLEXITY_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FUNCTION_COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FUNCTIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
FUNCTIONS - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
FUNCTIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 

G

GENERATED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
GENERATED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
GENERATED_NCLOC - Static variable in class org.sonar.api.measures.CoreMetrics
 
GENERATED_NCLOC_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
generateFileComplexityMetric() - Method in class org.sonar.api.batch.AbstractFileComplexityDecorator
Deprecated. Used to define downstream dependencies
generateFileComplexityMetric() - Method in class org.sonar.api.batch.AbstractFunctionComplexityDecorator
Deprecated. Used to define downstream dependencies
generateImage(ChartParameters) - Method in class org.sonar.api.charts.AbstractChart
Generates a JFreeChart chart using a set of parameters
generateImage(ChartParameters) - Method in interface org.sonar.api.charts.Chart
The method to implement to generate the chart
generatesMetric() - Method in class org.sonar.api.batch.AbstractDivisionDecorator
Used to define downstream dependencies
generatesMetric() - Method in class org.sonar.api.batch.FormulaDecorator
 
generatesMetrics() - Method in class org.sonar.api.batch.AbstractFunctionComplexityDistributionDecorator
Deprecated.  
generatesMetrics() - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
Each metric is used individually.
get(String) - Method in class org.sonar.api.resources.Languages
Return a language from the current object based on its key
get() - Static method in class org.sonar.api.web.gwt.client.webservices.MetricsQuery
 
get(String, String) - Method in class org.sonar.api.web.gwt.client.webservices.Properties
 
get(String) - Static method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
Alias for build()
get() - Static method in class org.sonar.api.web.gwt.client.webservices.SequentialQueries
 
get(int) - Static method in class org.sonar.api.web.gwt.client.webservices.SequentialQueries
 
get(String) - Static method in class org.sonar.api.web.gwt.client.webservices.SourcesQuery
 
get(String) - Static method in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
getActiveRule(CHECK) - Method in class org.sonar.api.checks.CheckFactory
 
getActiveRule(String, String) - Method in class org.sonar.api.profiles.RulesProfile
 
getActiveRule(Rule) - Method in class org.sonar.api.profiles.RulesProfile
 
getActiveRule() - Method in class org.sonar.api.rules.ActiveRuleParam
 
getActiveRuleByConfigKey(String, String) - Method in class org.sonar.api.profiles.RulesProfile
 
getActiveRuleParams() - Method in class org.sonar.api.rules.ActiveRule
 
getActiveRules() - Method in class org.sonar.api.profiles.RulesProfile
 
getActiveRules(RulePriority) - Method in class org.sonar.api.profiles.RulesProfile
 
getActiveRulesByPlugin(String) - Method in class org.sonar.api.profiles.RulesProfile
Deprecated. since 2.3. Use getActiveRulesByRepository().
getActiveRulesByRepository(String) - Method in class org.sonar.api.profiles.RulesProfile
 
getAlertLabel(Metric.Level) - Method in class org.sonar.api.profiles.Alert
 
getAlerts() - Method in class org.sonar.api.profiles.RulesProfile
 
getAlertStatus() - Method in class org.sonar.api.database.model.MeasureModel
 
getAlertStatus() - Method in class org.sonar.api.measures.Measure
 
getAlertText() - Method in class org.sonar.api.database.model.MeasureModel
 
getAlertText() - Method in class org.sonar.api.measures.Measure
 
getAll() - Method in class org.sonar.api.web.gwt.client.webservices.Violations
 
getAnalysisDate() - Method in class org.sonar.api.resources.Project
 
getAnalysisType() - Method in class org.sonar.api.resources.Project
 
getAnalysisVersion() - Method in class org.sonar.api.resources.Project
 
getArray(JSONValue, int) - Static method in class org.sonar.api.web.gwt.client.webservices.JsonUtils
 
getArraySize(JSONValue) - Static method in class org.sonar.api.web.gwt.client.webservices.JsonUtils
 
getArtifactId() - Method in interface org.sonar.api.batch.maven.MavenPluginHandler
The plugin artifact id
getArtifactId() - Method in class org.sonar.api.resources.Project
Used for Maven projects
getBasedir() - Method in class org.sonar.api.resources.DefaultProjectFileSystem
Basedir is the project root directory.
getBasedir() - Method in interface org.sonar.api.resources.ProjectFileSystem
Project root directory.
getBestValue() - Method in class org.sonar.api.measures.Metric
 
getBoolean(JSONObject, String) - Static method in class org.sonar.api.web.gwt.client.webservices.JsonUtils
 
getBottomLimits() - Method in class org.sonar.api.measures.RangeDistributionBuilder
Gives the bottom limits of ranges used
getBranch() - Method in class org.sonar.api.resources.Project
 
getBuildDir() - Method in class org.sonar.api.resources.DefaultProjectFileSystem
Build directory is by default "target" in maven projects.
getBuildDir() - Method in interface org.sonar.api.resources.ProjectFileSystem
Build directory.
getBuildOutputDir() - Method in class org.sonar.api.resources.DefaultProjectFileSystem
Directory where classes are placed.
getBuildOutputDir() - Method in interface org.sonar.api.resources.ProjectFileSystem
 
getByLines() - Method in class org.sonar.api.web.gwt.client.webservices.Violations
 
getCardinality() - Method in class org.sonar.api.rules.Rule
 
getCategories() - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
getCategory() - Method in class org.sonar.api.batch.Event
 
getCategory() - Method in class org.sonar.api.web.gwt.client.webservices.Rule
 
getCategoryId() - Method in class org.sonar.api.rules.Rule
 
getCharacteristic() - Method in class org.sonar.api.database.model.MeasureModel
 
getCharacteristic() - Method in class org.sonar.api.measures.Measure
 
getCharacteristicByKey(String) - Method in class org.sonar.api.qualitymodel.Model
Search for an ENABLED characteristic by its key.
getCharacteristicByName(String) - Method in class org.sonar.api.qualitymodel.Model
Search for an ENABLED characteristic by its name.
getCharacteristicByRule(Rule) - Method in class org.sonar.api.qualitymodel.Model
Search for an ENABLED characteristic with the specified rule.
getCharacteristics() - Method in class org.sonar.api.qualitymodel.Model
 
getCharacteristics(boolean) - Method in class org.sonar.api.qualitymodel.Model
 
getCharacteristicsByDepth(int) - Method in class org.sonar.api.qualitymodel.Model
Search for ENABLED characteristics by their depth.
getCheck(ActiveRule) - Method in class org.sonar.api.checks.CheckFactory
 
getChecks() - Method in class org.sonar.api.checks.CheckFactory
 
getChild(String) - Method in class org.sonar.api.qualitymodel.Characteristic
 
getChildElement(Element, String) - Method in class org.sonar.api.utils.XpathParser
 
getChildElement(String) - Method in class org.sonar.api.utils.XpathParser
 
getChildElements(String) - Method in class org.sonar.api.utils.XpathParser
 
getChildElements(Element, String) - Method in class org.sonar.api.utils.XpathParser
 
getChildElementValue(Element, String) - Method in class org.sonar.api.utils.XpathParser
 
getChildElementValue(String) - Method in class org.sonar.api.utils.XpathParser
 
getChildren() - Method in interface org.sonar.api.batch.DecoratorContext
Child contexts are read only
getChildren() - Method in class org.sonar.api.batch.DefaultFormulaData
 
getChildren(Resource) - Method in class org.sonar.api.batch.SonarIndex
 
getChildren() - Method in interface org.sonar.api.measures.FormulaData
 
getChildren() - Method in class org.sonar.api.qualitymodel.Characteristic
Enabled children sorted by insertion order
getChildren(boolean) - Method in class org.sonar.api.qualitymodel.Characteristic
Enabled children sorted by insertion order
getChildrenMeasures(MeasuresFilter) - Method in interface org.sonar.api.batch.DecoratorContext
Never return null.
getChildrenMeasures(Metric) - Method in interface org.sonar.api.batch.DecoratorContext
 
getChildrenMeasures(MeasuresFilter) - Method in class org.sonar.api.batch.DefaultFormulaData
 
getChildrenMeasures(Metric) - Method in class org.sonar.api.batch.DefaultFormulaData
 
getChildrenMeasures(MeasuresFilter) - Method in interface org.sonar.api.measures.FormulaData
 
getChildrenMeasures(Metric) - Method in interface org.sonar.api.measures.FormulaData
 
getClassAnnotation(Object, Class<A>) - Static method in class org.sonar.api.utils.AnnotationUtils
Searches for a class annotation.
getClassloader() - Method in class org.sonar.api.batch.ProjectClasspath
 
getColorName() - Method in enum org.sonar.api.measures.Metric.Level
 
getConfigKey() - Method in class org.sonar.api.rules.ActiveRule
 
getConfigKey() - Method in class org.sonar.api.rules.Rule
 
getConfigKey() - Method in class org.sonar.api.rules.RuleQuery
 
getConfiguration() - Method in class org.sonar.api.batch.DefaultFormulaContext
 
getConfiguration() - Method in interface org.sonar.api.measures.FormulaContext
 
getConfiguration() - Method in class org.sonar.api.resources.Project
 
getConfiguration(String) - Static method in class org.sonar.api.web.gwt.client.Utils
 
getConfiguration(String, String) - Static method in class org.sonar.api.web.gwt.client.Utils
 
getConfigurationKeys() - Static method in class org.sonar.api.web.gwt.client.Utils
 
getCopy() - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
getCopyResourceId() - Method in class org.sonar.api.database.model.ResourceModel
 
getCost() - Method in class org.sonar.api.database.model.RuleFailureModel
 
getCost() - Method in class org.sonar.api.rules.Violation
 
getCreatedAt() - Method in class org.sonar.api.batch.Event
 
getCreatedAt() - Method in class org.sonar.api.database.model.Snapshot
 
getData() - Method in class org.sonar.api.batch.Event
 
getData() - Method in class org.sonar.api.database.model.MeasureData
 
getData() - Method in class org.sonar.api.database.model.MeasureModel
 
getData() - Method in class org.sonar.api.database.model.SnapshotSource
 
getData() - Method in class org.sonar.api.measures.Measure
 
getData() - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
getDataAsLevel() - Method in class org.sonar.api.measures.Measure
 
getDataAsMap() - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
getDate() - Method in class org.sonar.api.batch.Event
 
getDate() - Method in class org.sonar.api.measures.Measure
 
getDate(JSONObject, String) - Static method in class org.sonar.api.web.gwt.client.webservices.JsonUtils
 
getDate() - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
getDefaultProfile() - Method in class org.sonar.api.profiles.RulesProfile
 
getDefaultValue() - Method in class org.sonar.api.rules.RuleParam
 
getDefaultValueAsBoolean() - Method in class org.sonar.api.rules.RuleParam
 
getDefaultValueAsInteger() - Method in class org.sonar.api.rules.RuleParam
 
getDependencies() - Method in interface org.sonar.api.batch.DecoratorContext
 
getDependencies() - Method in interface org.sonar.api.batch.SensorContext
 
getDependencies() - Method in class org.sonar.api.batch.SonarIndex
 
getDependencies() - Method in class org.sonar.api.utils.dag.Node
 
getDependents(T) - Method in class org.sonar.api.batch.BatchExtensionDictionnary
Objects that depend upon this extension.
getDepth() - Method in class org.sonar.api.database.model.Snapshot
 
getDepth() - Method in class org.sonar.api.qualitymodel.Characteristic
 
getDepth() - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
getDescription() - Method in class org.sonar.api.batch.Event
 
getDescription() - Method in class org.sonar.api.database.model.MeasureModel
 
getDescription() - Method in class org.sonar.api.database.model.ResourceModel
Only available at project level.
getDescription() - Method in class org.sonar.api.measures.Measure
 
getDescription() - Method in class org.sonar.api.measures.Metric
 
getDescription() - Method in interface org.sonar.api.Plugin
Deprecated. since 2.2. The description must be set in the manifest.
getDescription() - Method in class org.sonar.api.qualitymodel.Characteristic
 
getDescription() - Method in class org.sonar.api.resources.Directory
 
getDescription() - Method in class org.sonar.api.resources.File
getDescription() - Method in class org.sonar.api.resources.JavaFile
 
getDescription() - Method in class org.sonar.api.resources.JavaPackage
getDescription() - Method in class org.sonar.api.resources.Library
 
getDescription() - Method in class org.sonar.api.resources.Project
 
getDescription() - Method in class org.sonar.api.resources.Resource
 
getDescription() - Method in class org.sonar.api.rules.Rule
 
getDescription() - Method in class org.sonar.api.rules.RuleParam
 
getDescription() - Method in class org.sonar.api.rules.RulesCategory
 
getDescription() - Method in class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
getDiffValue1() - Method in class org.sonar.api.database.model.MeasureModel
 
getDiffValue1() - Method in class org.sonar.api.measures.Measure
 
getDiffValue2() - Method in class org.sonar.api.database.model.MeasureModel
 
getDiffValue2() - Method in class org.sonar.api.measures.Measure
 
getDiffValue3() - Method in class org.sonar.api.database.model.MeasureModel
 
getDiffValue3() - Method in class org.sonar.api.measures.Measure
 
getDirection() - Method in class org.sonar.api.measures.Metric
 
getDirection() - Method in class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
getDividendMetric() - Method in class org.sonar.api.batch.AbstractDivisionDecorator
 
getDivisorMetric() - Method in class org.sonar.api.batch.AbstractDivisionDecorator
 
getDocument() - Method in class org.sonar.api.utils.XpathParser
 
getDomain() - Method in class org.sonar.api.measures.Metric
 
getDomain() - Method in class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
getDouble(JSONObject, String) - Static method in class org.sonar.api.web.gwt.client.webservices.JsonUtils
 
getEffectiveKey() - Method in class org.sonar.api.resources.Resource
 
getElements() - Method in class org.sonar.api.batch.ProjectClasspath
bytecode directory + JARs (dependencies)
getElementValue(Node) - Method in class org.sonar.api.utils.XpathParser
 
getEmail() - Method in class org.sonar.api.database.model.User
 
getEnabled() - Method in class org.sonar.api.database.model.ResourceModel
 
getEnabled() - Method in class org.sonar.api.measures.Metric
 
getEnabled() - Method in class org.sonar.api.qualitymodel.Characteristic
 
getEntity(Class<T>, Object) - Method in class org.sonar.api.database.DatabaseSession
 
getEntityManager() - Method in class org.sonar.api.database.DatabaseSession
 
getErrors() - Method in class org.sonar.api.utils.ValidationMessages
 
getEvents() - Method in interface org.sonar.api.batch.DecoratorContext
 
getEvents(Resource) - Method in interface org.sonar.api.batch.SensorContext
 
getEvents(Resource) - Method in class org.sonar.api.batch.SonarIndex
 
getExclusionPatterns() - Method in class org.sonar.api.resources.Project
Patterns of resource exclusion as defined in project settings page.
getExtensions(String, String...) - Method in interface org.sonar.api.platform.ServerFileSystem
 
getExtensions() - Method in interface org.sonar.api.Plugin
Classes of the implemented extensions.
getFileFromBuildDirectory(String) - Method in class org.sonar.api.resources.DefaultProjectFileSystem
 
getFileFromBuildDirectory(String) - Method in interface org.sonar.api.resources.ProjectFileSystem
 
getFileSuffixes() - Method in class org.sonar.api.resources.Java
For example ["jav","java"].
getFileSuffixes() - Method in interface org.sonar.api.resources.Language
For example ["jav","java"].
getFileSystem() - Method in class org.sonar.api.resources.Project
 
getFormattedValue() - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
getFormula() - Method in class org.sonar.api.measures.Metric
 
getFrom() - Method in class org.sonar.api.batch.TimeMachineQuery
 
getFrom() - Method in class org.sonar.api.design.Dependency
 
getFromResourceId() - Method in class org.sonar.api.design.DependencyDto
 
getFromScope() - Method in class org.sonar.api.design.DependencyDto
 
getFromSnapshotId() - Method in class org.sonar.api.design.DependencyDto
 
getGoals() - Method in interface org.sonar.api.batch.maven.MavenPluginHandler
The maven goals to execute
getGroupId() - Method in interface org.sonar.api.batch.maven.MavenPluginHandler
The plugin group id
getGroupId() - Method in class org.sonar.api.resources.Project
Used for Maven projects
getGroupId() - Method in class org.sonar.api.security.GroupRole
 
getGwtId() - Method in class org.sonar.api.web.gwt.client.AbstractViewer
Return the GWT id of the widget
getGwtId() - Method in interface org.sonar.api.web.GwtExtension
 
getHeight() - Method in class org.sonar.api.charts.ChartParameters
Get the chart height
getHomeDir() - Method in interface org.sonar.api.platform.ServerFileSystem
 
getHref() - Method in class org.sonar.api.resources.ProjectLink
 
getHtml() - Method in interface org.sonar.api.web.Footer
Static HTML (no Ruby on Rails nor GWT)
getId() - Method in class org.sonar.api.database.BaseIdentifiable
 
getId() - Method in class org.sonar.api.database.model.MeasureModel
 
getId() - Method in class org.sonar.api.design.Dependency
 
getId() - Method in class org.sonar.api.design.DependencyDto
 
getId() - Method in class org.sonar.api.measures.Measure
 
getId() - Method in class org.sonar.api.platform.Server
 
getId() - Method in class org.sonar.api.profiles.RulesProfile
 
getId() - Method in class org.sonar.api.qualitymodel.Characteristic
 
getId() - Method in class org.sonar.api.qualitymodel.CharacteristicProperty
 
getId() - Method in class org.sonar.api.qualitymodel.Model
 
getId() - Method in class org.sonar.api.resources.Resource
 
getId() - Method in class org.sonar.api.rules.ActiveRule
 
getId() - Method in class org.sonar.api.rules.ActiveRuleParam
 
getId() - Method in class org.sonar.api.rules.Rule
 
getId() - Method in class org.sonar.api.utils.ServerHttpClient
Deprecated.  
getId() - Method in class org.sonar.api.web.AbstractDashboardWidget
Deprecated.  
getId() - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
getId() - Method in class org.sonar.api.web.GwtPage
 
getId() - Method in interface org.sonar.api.web.View
 
getId() - Method in interface org.sonar.api.web.Webservice
 
getIncomingDependencies() - Method in interface org.sonar.api.batch.DecoratorContext
 
getIncomingDependencies(Resource) - Method in interface org.sonar.api.batch.SensorContext
 
getIncomingDependencies(Resource) - Method in class org.sonar.api.batch.SonarIndex
 
getInfos() - Method in class org.sonar.api.utils.ValidationMessages
 
getInteger(JSONObject, String) - Static method in class org.sonar.api.web.gwt.client.webservices.JsonUtils
 
getIntValue() - Method in class org.sonar.api.measures.Measure
 
getJavaSourceFiles() - Method in class org.sonar.api.resources.DefaultProjectFileSystem
Gets the list of java source files
getJavaSourceFiles() - Method in interface org.sonar.api.resources.ProjectFileSystem
Java source files, excluding unit tests and files matching project exclusion patterns.
getJavaSourceVersion(MavenProject) - Static method in class org.sonar.api.batch.maven.MavenUtils
 
getJavaSourceVersion(Project) - Static method in class org.sonar.api.resources.ProjectUtils
 
getJavaVersion(MavenProject) - Static method in class org.sonar.api.batch.maven.MavenUtils
Returns the version of Java used by the maven compiler plugin
getJavaVersion(Project) - Static method in class org.sonar.api.resources.ProjectUtils
Java version as defined in maven-compiler-plugin
getKey() - Method in interface org.sonar.api.charts.Chart
 
getKey() - Method in class org.sonar.api.database.model.ResourceModel
 
getKey() - Method in class org.sonar.api.measures.Metric
 
getKey() - Method in interface org.sonar.api.Plugin
Deprecated. since 2.2. The key must be set in the manifest.
getKey() - Method in class org.sonar.api.profiles.ProfileExporter
 
getKey() - Method in class org.sonar.api.profiles.ProfileImporter
 
getKey() - Method in class org.sonar.api.qualitymodel.Characteristic
 
getKey() - Method in class org.sonar.api.qualitymodel.CharacteristicProperty
 
getKey() - Method in class org.sonar.api.resources.AbstractLanguage
For example "java".
getKey() - Method in interface org.sonar.api.resources.Language
For example "java".
getKey() - Method in class org.sonar.api.resources.ProjectLink
 
getKey() - Method in class org.sonar.api.resources.Resource
 
getKey() - Method in class org.sonar.api.rules.ActiveRuleParam
 
getKey() - Method in class org.sonar.api.rules.Rule
 
getKey() - Method in class org.sonar.api.rules.RuleParam
 
getKey() - Method in class org.sonar.api.rules.RuleQuery
 
getKey() - Method in class org.sonar.api.rules.RuleRepository
 
getKey() - Method in class org.sonar.api.utils.KeyValue
 
getKey() - Method in class org.sonar.api.web.gwt.client.webservices.Property
 
getKey() - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
getKey() - Method in class org.sonar.api.web.gwt.client.webservices.Rule
 
getKey() - Method in class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
getKeys() - Method in class org.sonar.api.utils.LocalizedMessages
 
getLanguage() - Method in class org.sonar.api.batch.AbstractSourceImporter
 
getLanguage() - Method in interface org.sonar.api.batch.CpdMapping
 
getLanguage() - Method in class org.sonar.api.profiles.RulesProfile
 
getLanguage() - Method in class org.sonar.api.resources.Directory
 
getLanguage() - Method in class org.sonar.api.resources.File
getLanguage() - Method in class org.sonar.api.resources.JavaFile
 
getLanguage() - Method in class org.sonar.api.resources.JavaPackage
 
getLanguage() - Method in class org.sonar.api.resources.Library
 
getLanguage() - Method in class org.sonar.api.resources.Project
 
getLanguage() - Method in class org.sonar.api.resources.Resource
 
getLanguage() - Method in class org.sonar.api.rules.RuleRepository
 
getLanguage() - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
getLanguageKey() - Method in class org.sonar.api.database.model.ResourceModel
 
getLanguageKey() - Method in class org.sonar.api.resources.Project
 
getLanguageKey() - Method in class org.sonar.api.web.CodeColorizerFormat
 
getLast() - Method in class org.sonar.api.database.model.Snapshot
 
getLastSnapshotId() - Method in interface org.sonar.api.batch.PurgeContext
 
getLevel() - Method in class org.sonar.api.database.model.RuleFailureModel
 
getLevelForLine(Integer) - Method in class org.sonar.api.web.gwt.client.webservices.Violations
 
getLevelValue() - Method in class org.sonar.api.database.model.MeasureModel
 
getLine() - Method in class org.sonar.api.database.model.RuleFailureModel
 
getLine() - Method in class org.sonar.api.web.gwt.client.webservices.Violation
 
getLineId() - Method in class org.sonar.api.rules.Violation
 
getLines() - Method in class org.sonar.api.web.gwt.client.webservices.FileSource
 
getLocale() - Method in class org.sonar.api.charts.ChartParameters
Get the Locale
getLocale() - Method in class org.sonar.api.utils.LocalizedMessages
 
getLogger() - Method in class org.sonar.api.utils.TimeProfiler
 
getLogin() - Method in class org.sonar.api.database.model.User
 
getLongName() - Method in class org.sonar.api.database.model.ResourceModel
 
getLongName() - Method in class org.sonar.api.resources.Directory
 
getLongName() - Method in class org.sonar.api.resources.File
getLongName() - Method in class org.sonar.api.resources.JavaFile
getLongName() - Method in class org.sonar.api.resources.JavaPackage
getLongName() - Method in class org.sonar.api.resources.Library
 
getLongName() - Method in class org.sonar.api.resources.Project
 
getLongName() - Method in class org.sonar.api.resources.Resource
 
getLongName() - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
getMavenPluginHandler(Project) - Method in interface org.sonar.api.batch.maven.DependsUponMavenPlugin
 
getMavenRepositoryUrl() - Method in class org.sonar.api.utils.ServerHttpClient
Deprecated.  
getMeasure(Metric) - Method in interface org.sonar.api.batch.DecoratorContext
Find a measure for the resource
getMeasure(Metric) - Method in class org.sonar.api.batch.DefaultFormulaData
 
getMeasure(Metric) - Method in interface org.sonar.api.batch.SensorContext
Find a project measure
getMeasure(Resource, Metric) - Method in interface org.sonar.api.batch.SensorContext
Find a measure for this project
getMeasure(Resource, Metric) - Method in class org.sonar.api.batch.SonarIndex
 
getMeasure() - Method in class org.sonar.api.database.model.MeasureData
 
getMeasure(Metric) - Method in interface org.sonar.api.measures.FormulaData
 
getMeasure(WSMetrics.Metric) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
getMeasureData() - Method in class org.sonar.api.database.model.MeasureModel
Use getData() instead
getMeasureDate() - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
getMeasureDate() - Method in class org.sonar.api.database.model.MeasureModel
 
getMeasureFormattedValue(WSMetrics.Metric, String) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
getMeasureId() - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
getMeasures(MeasuresFilter<M>) - Method in interface org.sonar.api.batch.DecoratorContext
Never return null.
getMeasures(MeasuresFilter<M>) - Method in class org.sonar.api.batch.DefaultFormulaData
 
getMeasures(MeasuresFilter<M>) - Method in interface org.sonar.api.batch.SensorContext
All measures of the project.
getMeasures(Resource, MeasuresFilter<M>) - Method in interface org.sonar.api.batch.SensorContext
Find all measures for this project.
getMeasures(Resource, MeasuresFilter<M>) - Method in class org.sonar.api.batch.SonarIndex
 
getMeasures(TimeMachineQuery) - Method in interface org.sonar.api.batch.TimeMachine
Past measures, sorted by date.
getMeasures(MeasuresFilter<M>) - Method in interface org.sonar.api.measures.FormulaData
 
getMeasures() - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
getMeasuresFields(TimeMachineQuery) - Method in interface org.sonar.api.batch.TimeMachine
Past measures sorted by date.
getMessage() - Method in class org.sonar.api.database.model.RuleFailureModel
 
getMessage() - Method in class org.sonar.api.rules.Violation
 
getMessage() - Method in class org.sonar.api.web.gwt.client.webservices.Violation
 
getMetric() - Method in class org.sonar.api.database.model.MeasureModel
 
getMetric() - Method in class org.sonar.api.measures.Measure
 
getMetric() - Method in class org.sonar.api.measures.PropertiesBuilder
 
getMetric() - Method in class org.sonar.api.profiles.Alert
 
getMetric() - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
getMetricId() - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
getMetricName() - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
getMetrics() - Method in class org.sonar.api.batch.TimeMachineQuery
 
getMetrics() - Static method in class org.sonar.api.measures.CoreMetrics
 
getMetrics() - Method in interface org.sonar.api.measures.Metrics
 
getMetrics() - Method in class org.sonar.api.web.gwt.client.webservices.WSMetrics.MetricsList
 
getMimeType() - Method in class org.sonar.api.profiles.ProfileExporter
 
getMinimumPeriodInHours(Configuration) - Static method in class org.sonar.api.purge.PurgeUtils
 
getModel() - Method in class org.sonar.api.qualitymodel.Characteristic
 
getModules() - Method in class org.sonar.api.resources.Project
 
getName() - Method in class org.sonar.api.batch.Event
 
getName() - Method in class org.sonar.api.database.model.ResourceModel
 
getName() - Method in class org.sonar.api.database.model.User
 
getName() - Method in class org.sonar.api.measures.Metric
 
getName() - Method in interface org.sonar.api.Plugin
Deprecated. since 2.2. The name must be set in the manifest.
getName() - Method in class org.sonar.api.profiles.ProfileExporter
 
getName() - Method in class org.sonar.api.profiles.ProfileImporter
 
getName() - Method in class org.sonar.api.profiles.RulesProfile
 
getName() - Method in class org.sonar.api.qualitymodel.Characteristic
 
getName() - Method in class org.sonar.api.qualitymodel.Model
 
getName() - Method in class org.sonar.api.qualitymodel.ModelDefinition
 
getName() - Method in class org.sonar.api.resources.AbstractLanguage
For example "Java"
getName() - Method in class org.sonar.api.resources.Directory
 
getName() - Method in class org.sonar.api.resources.File
getName() - Method in class org.sonar.api.resources.JavaFile
getName() - Method in class org.sonar.api.resources.JavaPackage
getName() - Method in interface org.sonar.api.resources.Language
For example "Java"
getName() - Method in class org.sonar.api.resources.Library
 
getName() - Method in class org.sonar.api.resources.Project
 
getName() - Method in class org.sonar.api.resources.ProjectLink
 
getName() - Method in class org.sonar.api.resources.Resource
 
getName() - Method in class org.sonar.api.rules.Rule
 
getName() - Method in class org.sonar.api.rules.RuleRepository
 
getName(boolean) - Method in class org.sonar.api.rules.RuleRepository
 
getName() - Method in class org.sonar.api.rules.RulesCategory
 
getName() - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
getName(boolean) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
getName() - Method in class org.sonar.api.web.gwt.client.webservices.Rule
 
getName() - Method in class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
getObject() - Method in class org.sonar.api.utils.dag.Node
 
getOperator() - Method in class org.sonar.api.profiles.Alert
 
getOrder() - Method in class org.sonar.api.qualitymodel.Characteristic
 
getOrder() - Method in class org.sonar.api.utils.dag.Node
 
getOrigin() - Method in class org.sonar.api.measures.Metric
 
getOutgoingDependencies() - Method in interface org.sonar.api.batch.DecoratorContext
 
getOutgoingDependencies(Resource) - Method in interface org.sonar.api.batch.SensorContext
 
getOutgoingDependencies(Resource) - Method in class org.sonar.api.batch.SonarIndex
 
getPackaging() - Method in class org.sonar.api.resources.Project
 
getParam(String) - Method in class org.sonar.api.rules.Rule
 
getParameter(String) - Method in class org.sonar.api.batch.maven.MavenPlugin
Gets a parameter of the plugin based on its key
getParameter(String) - Method in class org.sonar.api.rules.ActiveRule
 
getParameters(String) - Method in class org.sonar.api.batch.maven.MavenPlugin
Gets a list of parameters of the plugin from a param key
getParams() - Method in class org.sonar.api.rules.Rule
 
getParent() - Method in class org.sonar.api.design.Dependency
 
getParent(String) - Method in class org.sonar.api.qualitymodel.Characteristic
 
getParent() - Method in class org.sonar.api.resources.Directory
 
getParent() - Method in class org.sonar.api.resources.File
The parent is used to build the resources tree, for example for relations between classes, packages and projects.
getParent() - Method in class org.sonar.api.resources.JavaFile
The parent is used to build the resources tree, for example for relations between classes, packages and projects.
getParent() - Method in class org.sonar.api.resources.JavaPackage
The parent is used to build the resources tree, for example for relations between classes, packages and projects.
getParent() - Method in class org.sonar.api.resources.Library
 
getParent() - Method in class org.sonar.api.resources.Project
 
getParent() - Method in class org.sonar.api.resources.Resource
The parent is used to build the resources tree, for example for relations between classes, packages and projects.
getParent() - Method in class org.sonar.api.rules.Rule
 
getParentDependencyId() - Method in class org.sonar.api.design.DependencyDto
 
getParentId() - Method in class org.sonar.api.database.model.Snapshot
 
getParents() - Method in class org.sonar.api.qualitymodel.Characteristic
 
getPath() - Method in class org.sonar.api.database.model.Snapshot
 
getPermaLinkURLBase() - Static method in class org.sonar.api.web.gwt.client.ResourceDictionary
 
getPersistenceMode() - Method in class org.sonar.api.measures.Measure
Gets the persistence mode of the measure.
getPicoContainer() - Method in class org.sonar.api.utils.IocContainer
 
getPlot(ChartParameters) - Method in class org.sonar.api.charts.AbstractChart
 
getPlugin() - Method in class org.sonar.api.batch.maven.MavenPlugin
 
getPlugin(MavenProject, String, String) - Static method in class org.sonar.api.batch.maven.MavenPlugin
Returns a plugin from a pom based on its group id and artifact id

getPlugin(Collection<Plugin>, String, String) - Static method in class org.sonar.api.batch.maven.MavenUtils
Queries a collection of plugins based on a group id and an artifact id and returns the plugin if it exists
getPlugin(String) - Method in interface org.sonar.api.platform.PluginRepository
 
getPlugin(String) - Method in class org.sonar.api.Plugins
Deprecated. Returns a plugin based on its key
getPluginByExtension(Extension) - Method in class org.sonar.api.Plugins
Deprecated. Returns a plugin based on its extension
getPluginForExtension(Object) - Method in interface org.sonar.api.platform.PluginRepository
Deprecated. since 2.3
getPluginName() - Method in class org.sonar.api.rules.ActiveRule
Deprecated. use getRepositoryKey()
getPluginName() - Method in class org.sonar.api.rules.Rule
 
getPlugins() - Method in interface org.sonar.api.platform.PluginRepository
 
getPlugins() - Method in class org.sonar.api.Plugins
Deprecated. Gives a collection of available plugins in the Sonar instance
getPom() - Method in class org.sonar.api.resources.Project
 
getPreviousSnapshotId() - Method in interface org.sonar.api.batch.PurgeContext
 
getPriorities() - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
getPriority() - Method in class org.sonar.api.database.model.RuleFailureModel
 
getPriority() - Method in class org.sonar.api.rules.ActiveRule
 
getPriority() - Method in class org.sonar.api.rules.Rule
 
getPriority() - Method in class org.sonar.api.rules.Violation
 
getPriority() - Method in class org.sonar.api.web.gwt.client.webservices.Violation
 
getPriorityWeights(Configuration) - Static method in class org.sonar.api.rules.RuleUtils
Gets a Map containing the weights defined in the settings Default value is used when the property is not set (see property key and default value in the class CoreProperties)
getProject() - Method in interface org.sonar.api.batch.DecoratorContext
 
getProject() - Method in class org.sonar.api.batch.SonarIndex
 
getProjectId() - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
getProjectId() - Method in class org.sonar.api.database.model.MeasureModel
 
getProjectLink(String) - Method in class org.sonar.api.database.model.ResourceModel
 
getProjectLinks() - Method in class org.sonar.api.database.model.ResourceModel
Only available at project level.
getProjects() - Method in class org.sonar.api.profiles.RulesProfile
 
getProjectSnapshotId() - Method in class org.sonar.api.design.DependencyDto
 
getProperties(Plugin) - Method in interface org.sonar.api.platform.PluginRepository
 
getProperties(Plugin) - Method in class org.sonar.api.Plugins
Deprecated. Returns the list of properties of a plugin
getProperties() - Method in class org.sonar.api.qualitymodel.Characteristic
 
getProperties() - Method in class org.sonar.api.web.gwt.client.webservices.Properties
 
getProperty(String) - Method in class org.sonar.api.qualitymodel.Characteristic
 
getProperty(String) - Method in class org.sonar.api.resources.Project
 
getPropertyTextValue(String, String) - Method in class org.sonar.api.qualitymodel.Characteristic
 
getPropertyValue(String, Double) - Method in class org.sonar.api.qualitymodel.Characteristic
 
getPropertyValues(ClassLoader, String) - Static method in class org.sonar.api.utils.ManifestUtils
Search for a property in all the manifests found in the classloader
getProps() - Method in class org.sonar.api.measures.PropertiesBuilder
 
getProvided() - Method in class org.sonar.api.profiles.RulesProfile
 
getProxySynthesis(URI) - Method in class org.sonar.api.utils.HttpDownloader
 
getQualifier() - Method in class org.sonar.api.database.model.ResourceModel
 
getQualifier() - Method in class org.sonar.api.database.model.Snapshot
 
getQualifier() - Method in class org.sonar.api.resources.Directory
 
getQualifier() - Method in class org.sonar.api.resources.File
Returns the qualifier associated to this File.
getQualifier() - Method in class org.sonar.api.resources.JavaFile
 
getQualifier() - Method in class org.sonar.api.resources.JavaPackage
 
getQualifier() - Method in class org.sonar.api.resources.Library
 
getQualifier() - Method in class org.sonar.api.resources.Project
 
getQualifier() - Method in class org.sonar.api.resources.Resource
 
getQualifier() - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
getQualifiers() - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
getQualitative() - Method in class org.sonar.api.measures.Metric
 
getQuotientMetric() - Method in class org.sonar.api.batch.AbstractDivisionDecorator
 
getRelativePath(File, File) - Static method in class org.sonar.api.resources.DefaultProjectFileSystem
getRelativePath("c:/foo/src/my/package/Hello.java", "c:/foo/src") is "my/package/Hello.java"
getRelativePath(File, List<File>) - Static method in class org.sonar.api.resources.DefaultProjectFileSystem
getRelativePath("c:/foo/src/my/package/Hello.java", ["c:/bar", "c:/foo/src"]) is "my/package/Hello.java".
getRemoteContent(String) - Method in class org.sonar.api.utils.ServerHttpClient
Deprecated.  
getReportOutputDir() - Method in class org.sonar.api.resources.DefaultProjectFileSystem
 
getReportOutputDir() - Method in interface org.sonar.api.resources.ProjectFileSystem
 
getRepositoryKey() - Method in class org.sonar.api.checks.CheckFactory
 
getRepositoryKey() - Method in class org.sonar.api.rules.ActiveRule
 
getRepositoryKey() - Method in class org.sonar.api.rules.Rule
 
getRepositoryKey() - Method in class org.sonar.api.rules.RuleQuery
 
getRequestParameter(String) - Static method in class org.sonar.api.web.gwt.client.Utils
 
getRequestParameterNames() - Static method in class org.sonar.api.web.gwt.client.Utils
 
getResource() - Method in interface org.sonar.api.batch.DecoratorContext
 
getResource() - Method in class org.sonar.api.batch.DefaultFormulaContext
 
getResource(Resource) - Method in interface org.sonar.api.batch.SensorContext
 
getResource(Resource) - Method in class org.sonar.api.batch.SonarIndex
 
getResource() - Method in class org.sonar.api.batch.TimeMachineQuery
 
getResource() - Method in interface org.sonar.api.measures.FormulaContext
 
getResource() - Method in class org.sonar.api.resources.ProjectLink
 
getResource() - Method in class org.sonar.api.rules.Violation
 
getResource() - Method in class org.sonar.api.web.gwt.client.AbstractViewer
 
getResource() - Method in class org.sonar.api.web.gwt.client.webservices.Violation
 
getResourceId() - Method in class org.sonar.api.batch.Event
 
getResourceId() - Method in class org.sonar.api.database.model.Snapshot
 
getResourceId() - Method in class org.sonar.api.security.GroupRole
 
getResourceId() - Method in class org.sonar.api.security.UserRole
 
getResourceJSONObject() - Method in class org.sonar.api.web.gwt.client.AbstractViewer
Return a JavaScriptObject object containing all the measure available for the current resource key
getResourceKey() - Static method in class org.sonar.api.web.gwt.client.ResourceDictionary
 
getResourceKey() - Method in class org.sonar.api.web.gwt.client.webservices.AbstractResourceQuery
 
getResources() - Method in class org.sonar.api.batch.SonarIndex
 
getResources() - Method in class org.sonar.api.web.gwt.client.webservices.Resources
 
getResourceViewers() - Static method in class org.sonar.api.web.gwt.client.ResourceDictionary
 
getResults(Class<T>, Object...) - Method in class org.sonar.api.database.DatabaseSession
 
getResults(Class<T>) - Method in class org.sonar.api.database.DatabaseSession
 
getReuseExistingRulesConfig() - Method in class org.sonar.api.resources.Project
 
getRole() - Method in class org.sonar.api.security.GroupRole
 
getRole() - Method in class org.sonar.api.security.UserRole
 
getRoot() - Method in class org.sonar.api.resources.Project
 
getRoot() - Method in class org.sonar.api.utils.XpathParser
 
getRootCharacteristics() - Method in class org.sonar.api.qualitymodel.Model
 
getRootId() - Method in class org.sonar.api.database.model.ResourceModel
 
getRootId() - Method in class org.sonar.api.database.model.Snapshot
 
getRootPanel() - Method in class org.sonar.api.web.gwt.client.AbstractPage
Deprecated.  
getRootProject() - Method in class org.sonar.api.batch.SonarIndex
 
getRootProjectId() - Method in class org.sonar.api.database.model.Snapshot
 
getRule() - Method in class org.sonar.api.database.model.MeasureModel
 
getRule() - Method in class org.sonar.api.database.model.RuleFailureModel
 
getRule() - Method in class org.sonar.api.measures.RuleMeasure
 
getRule() - Method in class org.sonar.api.qualitymodel.Characteristic
 
getRule() - Method in class org.sonar.api.rules.ActiveRule
 
getRule() - Method in class org.sonar.api.rules.RuleParam
 
getRule() - Method in class org.sonar.api.rules.Violation
 
getRule() - Method in class org.sonar.api.web.gwt.client.webservices.Violation
 
getRuleCategory() - Method in class org.sonar.api.measures.RuleMeasure
 
getRuleCategory() - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
getRuleId() - Method in class org.sonar.api.database.model.MeasureModel
 
getRuleKey() - Method in class org.sonar.api.rules.ActiveRule
 
getRuleKey(Class) - Static method in class org.sonar.api.rules.RuleAnnotationUtils
 
getRuleKey() - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
getRuleName() - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
getRuleParam() - Method in class org.sonar.api.rules.ActiveRuleParam
 
getRulePriority() - Method in class org.sonar.api.database.model.MeasureModel
 
getRulePriority() - Method in class org.sonar.api.measures.RuleMeasure
 
getRulePriority() - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
getRules() - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
getRulesCategory() - Method in class org.sonar.api.rules.Rule
 
getRulesCategoryId() - Method in class org.sonar.api.database.model.MeasureModel
 
getRulesProfile() - Method in class org.sonar.api.database.model.ResourceModel
 
getRulesProfile() - Method in class org.sonar.api.profiles.Alert
 
getRulesProfile() - Method in class org.sonar.api.rules.ActiveRule
 
getScope() - Method in class org.sonar.api.database.model.ResourceModel
 
getScope() - Method in class org.sonar.api.database.model.Snapshot
 
getScope() - Method in class org.sonar.api.resources.Directory
 
getScope() - Method in class org.sonar.api.resources.File
 
getScope() - Method in class org.sonar.api.resources.JavaFile
 
getScope() - Method in class org.sonar.api.resources.JavaPackage
 
getScope() - Method in class org.sonar.api.resources.Library
 
getScope() - Method in class org.sonar.api.resources.Project
 
getScope() - Method in class org.sonar.api.resources.Resource
 
getScope() - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
getScopes() - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
getServerApiUrl() - Static method in class org.sonar.api.web.gwt.client.Utils
 
getServerUrl() - Static method in class org.sonar.api.web.gwt.client.Utils
 
getSingleResult(Query, T) - Method in class org.sonar.api.database.DatabaseSession
 
getSingleResult(Class<T>, Object...) - Method in class org.sonar.api.database.DatabaseSession
 
getSnapshot() - Method in class org.sonar.api.batch.Event
 
getSnapshotDate() - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
getSnapshotId() - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
getSnapshotId() - Method in class org.sonar.api.database.model.MeasureData
 
getSnapshotId() - Method in class org.sonar.api.database.model.MeasureModel
 
getSnapshotId() - Method in class org.sonar.api.database.model.RuleFailureModel
 
getSonarWorkingDirectory() - Method in class org.sonar.api.resources.DefaultProjectFileSystem
 
getSonarWorkingDirectory() - Method in interface org.sonar.api.resources.ProjectFileSystem
 
getSourceCharset(MavenProject) - Static method in class org.sonar.api.batch.maven.MavenUtils
Returns the charset of a pom
getSourceCharset() - Method in class org.sonar.api.resources.DefaultProjectFileSystem
Source encoding.
getSourceCharset() - Method in interface org.sonar.api.resources.ProjectFileSystem
Source encoding.
getSourceDirs() - Method in class org.sonar.api.resources.DefaultProjectFileSystem
The list of directories for sources
getSourceDirs() - Method in interface org.sonar.api.resources.ProjectFileSystem
 
getSourceFiles(Language...) - Method in class org.sonar.api.resources.DefaultProjectFileSystem
Gets the list of source files for given languages
getSourceFiles(Language...) - Method in interface org.sonar.api.resources.ProjectFileSystem
Source files, excluding unit tests and files matching project exclusion patterns.
getStartedAt() - Method in class org.sonar.api.platform.Server
 
getStatus() - Method in class org.sonar.api.database.model.Snapshot
 
getString(JSONObject, String) - Static method in class org.sonar.api.web.gwt.client.webservices.JsonUtils
 
getSuffixes(String...) - Method in class org.sonar.api.resources.Languages
 
getSupportedLanguages() - Method in class org.sonar.api.profiles.ProfileExporter
 
getSupportedLanguages() - Method in class org.sonar.api.profiles.ProfileImporter
 
getTargetMetric() - Method in class org.sonar.api.batch.DefaultFormulaContext
 
getTargetMetric() - Method in interface org.sonar.api.measures.FormulaContext
 
getTemplate() - Method in class org.sonar.api.web.AbstractRubyTemplate
 
getTemplate() - Method in interface org.sonar.api.web.RubyRailsPage
 
getTemplate() - Method in interface org.sonar.api.web.RubyRailsWebservice
 
getTemplate() - Method in interface org.sonar.api.web.RubyRailsWidget
 
getTemplatePath() - Method in class org.sonar.api.web.AbstractRubyTemplate
the path of the template.
getTendency() - Method in class org.sonar.api.database.model.MeasureModel
 
getTendency() - Method in class org.sonar.api.measures.Measure
Gets the measure tendency
getTestDirs() - Method in class org.sonar.api.resources.DefaultProjectFileSystem
The list of directories for tests
getTestDirs() - Method in interface org.sonar.api.resources.ProjectFileSystem
 
getTestFiles(Language...) - Method in class org.sonar.api.resources.DefaultProjectFileSystem
Gets the list of test files for given languages
getTestFiles(Language...) - Method in interface org.sonar.api.resources.ProjectFileSystem
Unit test files, excluding files matching project exclusion patterns.
getText() - Method in class org.sonar.api.database.model.MeasureData
 
getTextValue() - Method in class org.sonar.api.database.model.MeasureModel
Use getData() instead
getTextValue() - Method in class org.sonar.api.qualitymodel.CharacteristicProperty
 
getTitle() - Method in class org.sonar.api.web.AbstractDashboardWidget
Deprecated.  
getTitle() - Method in interface org.sonar.api.web.View
 
getTo() - Method in class org.sonar.api.batch.TimeMachineQuery
 
getTo() - Method in class org.sonar.api.design.Dependency
 
getTokenizer() - Method in interface org.sonar.api.batch.CpdMapping
 
getTokenizers() - Method in class org.sonar.api.web.CodeColorizerFormat
sonar-colorizer tokenizers for HTML output.
getToResourceId() - Method in class org.sonar.api.design.DependencyDto
 
getToScope() - Method in class org.sonar.api.design.DependencyDto
 
getToSnapshotId() - Method in class org.sonar.api.design.DependencyDto
 
getType() - Method in class org.sonar.api.measures.Metric
 
getType() - Method in class org.sonar.api.rules.RuleParam
 
getType() - Method in class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
getUpdateMetricsFromServer(QueryCallBack<WSMetrics.MetricsList>) - Static method in class org.sonar.api.web.gwt.client.webservices.WSMetrics
Generates a callback that will update the metrics definitions from the WSMetrics metrics constants list with data received from a MetricsQuery call
getUrl() - Method in class org.sonar.api.database.model.MeasureModel
 
getUrl() - Method in class org.sonar.api.measures.Measure
 
getURL() - Method in class org.sonar.api.platform.Server
 
getUrl() - Method in class org.sonar.api.utils.ServerHttpClient
Deprecated.  
getUrlToRuleDescription(String, boolean) - Static method in class org.sonar.api.web.gwt.client.Utils
 
getUsage() - Method in class org.sonar.api.design.Dependency
 
getUsage() - Method in class org.sonar.api.design.DependencyDto
 
getUserId() - Method in class org.sonar.api.security.UserRole
 
getUserManaged() - Method in class org.sonar.api.measures.Metric
 
getValue(String) - Method in class org.sonar.api.charts.ChartParameters
Shortcut to getValue with no decoding and no default value
getValue(String, String, boolean) - Method in class org.sonar.api.charts.ChartParameters
Returns the [decoded or not] value of a param from its key or the default value if id does not exist
getValue() - Method in class org.sonar.api.database.model.MeasureModel
 
getValue() - Method in class org.sonar.api.measures.Measure
 
getValue(Measure, Double) - Static method in class org.sonar.api.measures.MeasureUtils
Get the value of a measure, or alternatively a default value
getValue() - Method in class org.sonar.api.qualitymodel.CharacteristicProperty
 
getValue() - Method in class org.sonar.api.rules.ActiveRuleParam
 
getValue() - Method in class org.sonar.api.utils.KeyValue
 
getValue() - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
getValue() - Method in class org.sonar.api.web.gwt.client.webservices.Property
 
getValueAsLong() - Method in class org.sonar.api.qualitymodel.CharacteristicProperty
 
getValueError() - Method in class org.sonar.api.profiles.Alert
 
getValues(String, String) - Method in class org.sonar.api.charts.ChartParameters
Returns an array of a param values, given its key and the values delimiter
getValues(String, String, boolean) - Method in class org.sonar.api.charts.ChartParameters
Returns an array of a param values, given its key and the values delimiter Values can be decoded or not
getValueWarning() - Method in class org.sonar.api.profiles.Alert
 
getVersion() - Method in interface org.sonar.api.batch.maven.MavenPluginHandler
The fixed plugin version to execute
getVersion() - Method in class org.sonar.api.database.model.Snapshot
 
getVersion() - Method in class org.sonar.api.platform.Server
 
getVersion() - Method in class org.sonar.api.resources.Library
 
getVersion() - Method in class org.sonar.api.utils.ServerHttpClient
Deprecated.  
getViewerMetricKey() - Static method in class org.sonar.api.web.gwt.client.ResourceDictionary
 
getViewerPluginKey() - Static method in class org.sonar.api.web.gwt.client.ResourceDictionary
 
getViewerResourceKey() - Static method in class org.sonar.api.web.gwt.client.ResourceDictionary
 
getViolations() - Method in interface org.sonar.api.batch.DecoratorContext
Read-only rule failures.
getWarnings() - Method in class org.sonar.api.utils.ValidationMessages
 
getWeight() - Method in class org.sonar.api.design.Dependency
 
getWeight() - Method in class org.sonar.api.design.DependencyDto
 
getWidth() - Method in class org.sonar.api.charts.ChartParameters
Get the chart width
getWorstValue() - Method in class org.sonar.api.measures.Metric
 
GOOGLE_ANALYTICS_ACCOUNT_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
GOOGLE_ANALYTICS_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
 
GRID_COLOR - Static variable in class org.sonar.api.charts.AbstractChart
 
GROUP_ID - Static variable in class org.sonar.api.batch.maven.MavenSurefireUtils
 
GROUP_ID_APACHE_MAVEN - Static variable in class org.sonar.api.batch.maven.MavenUtils
 
GROUP_ID_CODEHAUS_MOJO - Static variable in class org.sonar.api.batch.maven.MavenUtils
 
GroupRole - Class in org.sonar.api.security
 
GroupRole() - Constructor for class org.sonar.api.security.GroupRole
 
GwtExtension - Interface in org.sonar.api.web
 
GwtPage - Class in org.sonar.api.web
 
GwtPage() - Constructor for class org.sonar.api.web.GwtPage
 

H

handleGetObject(String) - Method in class org.sonar.api.utils.LocalizedMessages
 
hasConfiguration() - Method in class org.sonar.api.batch.maven.MavenPlugin
 
hasData(Measure) - Static method in class org.sonar.api.measures.MeasureUtils
Tests if a measure has a data field
hasErrors() - Method in class org.sonar.api.utils.ValidationMessages
 
hashCode() - Method in class org.sonar.api.batch.FormulaDecorator
 
hashCode() - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
hashCode() - Method in class org.sonar.api.database.model.ResourceModel
 
hashCode() - Method in class org.sonar.api.database.model.RuleFailureModel
 
hashCode() - Method in class org.sonar.api.database.model.Snapshot
 
hashCode() - Method in class org.sonar.api.database.model.SnapshotSource
 
hashCode() - Method in class org.sonar.api.database.model.User
 
hashCode() - Method in class org.sonar.api.design.Dependency
 
hashCode() - Method in class org.sonar.api.design.DependencyDto
 
hashCode() - Method in class org.sonar.api.measures.Measure
 
hashCode() - Method in class org.sonar.api.measures.Metric
 
hashCode() - Method in class org.sonar.api.measures.RuleMeasure
 
hashCode() - Method in class org.sonar.api.profiles.ProfileExporter
 
hashCode() - Method in class org.sonar.api.profiles.ProfileImporter
 
hashCode() - Method in class org.sonar.api.profiles.RulesProfile
 
hashCode() - Method in class org.sonar.api.qualitymodel.Characteristic
 
hashCode() - Method in class org.sonar.api.qualitymodel.Model
 
hashCode() - Method in class org.sonar.api.qualitymodel.ModelDefinition
 
hashCode() - Method in class org.sonar.api.resources.AbstractLanguage
 
hashCode() - Method in class org.sonar.api.resources.Library
 
hashCode() - Method in class org.sonar.api.resources.ProjectLink
 
hashCode() - Method in class org.sonar.api.resources.Resource
 
hashCode() - Method in class org.sonar.api.rules.ActiveRule
 
hashCode() - Method in class org.sonar.api.rules.ActiveRuleParam
 
hashCode() - Method in class org.sonar.api.rules.Rule
 
hashCode() - Method in class org.sonar.api.rules.RuleParam
 
hashCode() - Method in class org.sonar.api.rules.RulesCategory
 
hashCode() - Method in class org.sonar.api.rules.Violation
 
hashCode() - Method in class org.sonar.api.utils.dag.Node
 
hashCode() - Method in class org.sonar.api.web.CodeColorizerFormat
 
hashCode() - Method in class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
hasInfos() - Method in class org.sonar.api.utils.ValidationMessages
 
hasJavaSourceFiles() - Method in class org.sonar.api.resources.DefaultProjectFileSystem
 
hasJavaSourceFiles() - Method in interface org.sonar.api.resources.ProjectFileSystem
Check if the project has Java files, excluding unit tests and files matching project exclusion patterns.
hasLegend() - Method in class org.sonar.api.charts.AbstractChart
 
hasMeasure(WSMetrics.Metric) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
hasOptionalData() - Method in class org.sonar.api.database.model.MeasureModel
True if other fields than 'value' are set.
hasOptionalData() - Method in class org.sonar.api.measures.Measure
 
hasRule() - Method in class org.sonar.api.qualitymodel.Characteristic
 
hasTestFiles(Language) - Method in class org.sonar.api.resources.DefaultProjectFileSystem
 
hasTestFiles(Language) - Method in interface org.sonar.api.resources.ProjectFileSystem
Check if the project has unit test files, excluding files matching project exclusion patterns.
hasValue(Measure) - Static method in class org.sonar.api.measures.MeasureUtils
Tests if a measure has a value
hasWarnings() - Method in class org.sonar.api.utils.ValidationMessages
 
haveValues(Measure...) - Static method in class org.sonar.api.measures.MeasureUtils
Return true if all measures have numeric value
HOME - Static variable in annotation type org.sonar.api.web.NavigationSection
 
HREF_COLUMN_SIZE - Static variable in class org.sonar.api.resources.ProjectLink
 
HTML_ROOT_ID - Static variable in class org.sonar.api.web.gwt.client.AbstractViewer
 
HttpDownloader - Class in org.sonar.api.utils
This component downloads HTTP files
HttpDownloader(Server, Configuration) - Constructor for class org.sonar.api.utils.HttpDownloader
 
HttpDownloader(Configuration) - Constructor for class org.sonar.api.utils.HttpDownloader
 
HttpDownloader() - Constructor for class org.sonar.api.utils.HttpDownloader
Should be package protected for unit tests only, but public is still required for jacoco 0.2.

I

importProfile(Reader, ValidationMessages) - Method in class org.sonar.api.profiles.ProfileImporter
 
INFO - Static variable in class org.sonar.api.utils.Logs
This logger is always activated with level INFO
INFO_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
INFO_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
init() - Method in class org.sonar.api.checks.CheckFactory
 
init() - Method in interface org.sonar.api.security.LoginPasswordAuthenticator
Throws a runtime exception if the authenticator can not be initialized at sonar server startup, eg.
INSTABILITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
INSTABILITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
INSTANCE - Static variable in class org.sonar.api.resources.Java
 
IocContainer - Class in org.sonar.api.utils
Proxy to inject the container as a component$
IocContainer(MutablePicoContainer) - Constructor for class org.sonar.api.utils.IocContainer
 
isAnyone() - Method in class org.sonar.api.security.GroupRole
 
isBatch() - Method in enum org.sonar.api.platform.Environment
 
isClass(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isDataType() - Method in class org.sonar.api.measures.Metric
 
isDefault() - Method in class org.sonar.api.resources.JavaPackage
 
isDefault(WSMetrics.Metric, Resource) - Method in class org.sonar.api.web.gwt.client.AbstractViewer
When multiple widgets are bound to the same HTML div, this method will indicate If the resource widget is the default one to show when the widget is initialized
isDirectory(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Alias for isDirectory(resource)
isDynamic(boolean) - Method in enum org.sonar.api.resources.Project.AnalysisType
 
isEmpty() - Method in class org.sonar.api.measures.CountDistributionBuilder
 
isEmpty() - Method in class org.sonar.api.measures.RangeDistributionBuilder
 
isEmpty() - Method in class org.sonar.api.web.gwt.client.webservices.Resources
 
isEnabled(Project) - Method in class org.sonar.api.batch.AbstractSourceImporter
 
isEnabled() - Method in class org.sonar.api.rules.Rule
 
isEntity(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isEqualsOperator() - Method in class org.sonar.api.profiles.Alert
 
isExcluded() - Method in class org.sonar.api.resources.Resource
 
isFile(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Alias for isEntity(resource)
isFixedVersion() - Method in interface org.sonar.api.batch.maven.MavenPluginHandler
Indicates if the plugin version should be fixed or not, it means that if your pom defines another version than the one defined by getVersion(), this version will be used
isForResource(Resource) - Method in class org.sonar.api.web.gwt.client.AbstractViewer
When multiple widgets are in the same page, this method will indicate if the widget can be shown for the given resource
isFromCurrentAnalysis() - Method in class org.sonar.api.batch.TimeMachineQuery
 
isGreaterOperator() - Method in class org.sonar.api.profiles.Alert
 
isHidden() - Method in class org.sonar.api.measures.Metric
 
isIgnored(Resource) - Method in interface org.sonar.api.batch.ResourceFilter
Return true if the resource must be ignored, else it's saved into database.
isIgnored(Violation) - Method in class org.sonar.api.checks.NoSonarFilter
 
isIgnored(Violation) - Method in interface org.sonar.api.rules.ViolationFilter
Return true if the violation must be ignored, else it's saved into database.
isLatestAnalysis() - Method in class org.sonar.api.resources.Project
whether it's the latest analysis done on this project (displayed in sonar dashboard) or an analysis on a past revision.
isLibrary(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isLinkedToSnapshot() - Method in class org.sonar.api.batch.Event
 
isMaven2Batch() - Method in enum org.sonar.api.platform.Environment
 
isMaven3Batch() - Method in enum org.sonar.api.platform.Environment
 
isMetricInList(WSMetrics.Metric, WSMetrics.Metric...) - Method in class org.sonar.api.web.gwt.client.AbstractViewer
Finds if a given metric is in the provided metrics list
isModule() - Method in class org.sonar.api.resources.Project
 
isModuleProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isNotEqualsOperator() - Method in class org.sonar.api.profiles.Alert
 
isNumericType() - Method in class org.sonar.api.measures.Metric
 
Iso9126RulesCategories - Class in org.sonar.api.rules
 
isOnlyLastAnalysis() - Method in class org.sonar.api.batch.TimeMachineQuery
 
isOptimizedBestValue() - Method in class org.sonar.api.measures.Metric
 
isPackage(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isPercentageType() - Method in class org.sonar.api.measures.Metric
 
isProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
This method equal isRootProject(resource) or isModuleProject(resource)
isQualitative() - Method in class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
isRoot() - Method in class org.sonar.api.qualitymodel.Characteristic
 
isRoot() - Method in class org.sonar.api.resources.Project
 
isRootProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isRuleMeasure() - Method in class org.sonar.api.database.model.MeasureModel
 
isServer() - Method in enum org.sonar.api.platform.Environment
 
isSet(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isSmallerOperator() - Method in class org.sonar.api.profiles.Alert
 
isSpace(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isSubview(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isToCurrentAnalysis() - Method in class org.sonar.api.batch.TimeMachineQuery
 
isUnitTest() - Method in class org.sonar.api.resources.JavaFile
 
isUnitTestClass(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isUserManaged() - Method in class org.sonar.api.web.gwt.client.webservices.MetricsQuery
 
isUserManaged() - Method in class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
isVersionCategory() - Method in class org.sonar.api.batch.Event
 
isView(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 

J

Java - Class in org.sonar.api.resources
Java language implementation
Java() - Constructor for class org.sonar.api.resources.Java
Default constructor
JavaFile - Class in org.sonar.api.resources
A class that represents a Java class.
JavaFile(String, String) - Constructor for class org.sonar.api.resources.JavaFile
Creates a JavaFile that is not a class of test based on package and file names
JavaFile(String, String, boolean) - Constructor for class org.sonar.api.resources.JavaFile
Creates a JavaFile that can be of any type based on package and file names
JavaFile(String) - Constructor for class org.sonar.api.resources.JavaFile
Creates a source file from its key
JavaFile(String, boolean) - Constructor for class org.sonar.api.resources.JavaFile
Creates any JavaFile from its key
JavaPackage - Class in org.sonar.api.resources
A class that represents a Java package in Sonar
JavaPackage() - Constructor for class org.sonar.api.resources.JavaPackage
Defaul constructor
JavaPackage(String) - Constructor for class org.sonar.api.resources.JavaPackage
Creates a JavaPackage from its key.
JSONHandlerDispatcher<P extends ResponsePOJO> - Class in org.sonar.api.web.gwt.client.webservices
 
JSONHandlerDispatcher(QueryCallBack<P>) - Constructor for class org.sonar.api.web.gwt.client.webservices.JSONHandlerDispatcher
 
JsonUtils - Class in org.sonar.api.web.gwt.client.webservices
 
JsonUtils.JSONHandler - Interface in org.sonar.api.web.gwt.client.webservices
 

K

KEY - Static variable in class org.sonar.api.resources.Java
Java key
KEY_IMPORT_SOURCES - Static variable in class org.sonar.api.batch.AbstractSourceImporter
Deprecated. replaced by CoreProperties.CORE_IMPORT_SOURCES_PROPERTY since 1.11
KEY_SIZE - Static variable in class org.sonar.api.database.model.ResourceModel
 
KeyValue<KEY,VALUE> - Class in org.sonar.api.utils
A utility class to store a key / value couple of generic types
KeyValue(KEY, VALUE) - Constructor for class org.sonar.api.utils.KeyValue
Creates a key / value object
KeyValueFormat - Class in org.sonar.api.utils
Util class to format key/value data.
KeyValueFormat.DoubleNumbersPairTransformer - Class in org.sonar.api.utils
Implementation of Transformer
KeyValueFormat.DoubleNumbersPairTransformer() - Constructor for class org.sonar.api.utils.KeyValueFormat.DoubleNumbersPairTransformer
 
KeyValueFormat.IntegerNumbersPairTransformer - Class in org.sonar.api.utils
Implementation of Transformer
KeyValueFormat.IntegerNumbersPairTransformer() - Constructor for class org.sonar.api.utils.KeyValueFormat.IntegerNumbersPairTransformer
 
KeyValueFormat.RulePriorityNumbersPairTransformer - Class in org.sonar.api.utils
Implementation of Transformer
KeyValueFormat.RulePriorityNumbersPairTransformer() - Constructor for class org.sonar.api.utils.KeyValueFormat.RulePriorityNumbersPairTransformer
 
KeyValueFormat.StringNumberPairTransformer - Class in org.sonar.api.utils
Implementation of Transformer
KeyValueFormat.StringNumberPairTransformer() - Constructor for class org.sonar.api.utils.KeyValueFormat.StringNumberPairTransformer
 
KeyValueFormat.Transformer<KEY,VALUE> - Interface in org.sonar.api.utils
 

L

Language - Interface in org.sonar.api.resources
The extension point to define a new language
Languages - Class in org.sonar.api.resources
A class to store the list of languages
Languages(Language...) - Constructor for class org.sonar.api.resources.Languages
Creates a list of languages
LCOM4 - Static variable in class org.sonar.api.measures.CoreMetrics
 
LCOM4 - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
LCOM4_BLOCKS - Static variable in class org.sonar.api.measures.CoreMetrics
 
LCOM4_BLOCKS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
LCOM4_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
 
LCOM4_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
LCOM4_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
Library - Class in org.sonar.api.resources
 
Library(String, String) - Constructor for class org.sonar.api.resources.Library
 
LINE_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
LINE_COVERAGE - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
LINES - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
 
LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
loadContainer() - Method in class org.sonar.api.web.gwt.client.AbstractViewer
Called to render the widget for the given resource object loaded via the onResourceLoaded() method call
LoadingLabel - Class in org.sonar.api.web.gwt.client.widgets
 
LoadingLabel() - Constructor for class org.sonar.api.web.gwt.client.widgets.LoadingLabel
 
LoadingLabel(String) - Constructor for class org.sonar.api.web.gwt.client.widgets.LoadingLabel
 
loadTemplateFromCache() - Method in class org.sonar.api.web.AbstractRubyTemplate
 
LocalizedMessages - Class in org.sonar.api.utils
 
LocalizedMessages(Locale, String...) - Constructor for class org.sonar.api.utils.LocalizedMessages
Constructs a resource bundle from a list of other resource bundles.
lock() - Method in interface org.sonar.api.batch.ResourceCreationLock
Forbids the creation of resources when saving violations and measures.
log(Logger) - Method in class org.sonar.api.utils.ValidationMessages
 
LoginPasswordAuthenticator - Interface in org.sonar.api.security
 
Logs - Class in org.sonar.api.utils
Predefined SLF4j loggers

M

MAINTAINABILITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
MAINTAINABILITY - Static variable in class org.sonar.api.rules.Iso9126RulesCategories
 
MAINTAINABILITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
MAJOR_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
MAJOR_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
makeJSONRequest(int, String, JsonUtils.JSONHandler) - Static method in class org.sonar.api.web.gwt.client.webservices.JsonUtils
 
ManifestUtils - Class in org.sonar.api.utils
 
match(String) - Method in class org.sonar.api.utils.WildcardPattern
 
match(WildcardPattern[], String) - Static method in class org.sonar.api.utils.WildcardPattern
 
matchesKey(String) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
matchFilePattern(String) - Method in class org.sonar.api.resources.Directory
 
matchFilePattern(String) - Method in class org.sonar.api.resources.File
Check resource against an Ant pattern, like mypackag?/*Foo.java.
matchFilePattern(String) - Method in class org.sonar.api.resources.JavaFile
Check resource against an Ant pattern, like mypackag?/*Foo.java.
matchFilePattern(String) - Method in class org.sonar.api.resources.JavaPackage
Check resource against an Ant pattern, like mypackag?/*Foo.java.
matchFilePattern(String) - Method in class org.sonar.api.resources.Library
 
matchFilePattern(String) - Method in class org.sonar.api.resources.Project
 
matchFilePattern(String) - Method in class org.sonar.api.resources.Resource
Check resource against an Ant pattern, like mypackag?/*Foo.java.
MAVEN_PATH - Static variable in class org.sonar.api.utils.ServerHttpClient
Deprecated.  
MavenPlugin - Class in org.sonar.api.batch.maven
A class to handle maven plugins
MavenPlugin(Plugin) - Constructor for class org.sonar.api.batch.maven.MavenPlugin
Creates a MavenPlugin based on a Plugin
MavenPlugin(String, String, String) - Constructor for class org.sonar.api.batch.maven.MavenPlugin
Creates a Maven plugin based on artifact + group + version
MavenPluginHandler - Interface in org.sonar.api.batch.maven
 
MavenSurefireUtils - Class in org.sonar.api.batch.maven
 
MavenUtils - Class in org.sonar.api.batch.maven
An utility class to manipulate Maven concepts
MAX_HEIGHT - Static variable in class org.sonar.api.charts.ChartParameters
 
MAX_TEXT_SIZE - Static variable in interface org.sonar.api.database.DatabaseProperties
 
MAX_TEXT_SIZE - Static variable in class org.sonar.api.measures.Measure
 
MAX_WIDTH - Static variable in class org.sonar.api.charts.ChartParameters
 
MeanAggregationFormula - Class in org.sonar.api.measures
 
MeanAggregationFormula(boolean) - Constructor for class org.sonar.api.measures.MeanAggregationFormula
 
MeanAggregationFormula() - Constructor for class org.sonar.api.measures.MeanAggregationFormula
 
Measure - Class in org.sonar.api.measures
A class to handle measures.
Measure(Metric) - Constructor for class org.sonar.api.measures.Measure
Creates a measure with a metric
Measure(Metric, Double) - Constructor for class org.sonar.api.measures.Measure
Creates a measure with a metric and a value
Measure(Metric, Double, int) - Constructor for class org.sonar.api.measures.Measure
Creates a measure with a metric, a value and a precision for the value
Measure(Metric, Double, String) - Constructor for class org.sonar.api.measures.Measure
Creates a measure with a metric, a value and a data field
Measure(Metric, String) - Constructor for class org.sonar.api.measures.Measure
* Creates a measure with a metric and a data field
Measure(Metric, Metric.Level) - Constructor for class org.sonar.api.measures.Measure
Creates a measure with a metric and an alert level
Measure() - Constructor for class org.sonar.api.measures.Measure
Creates an empty measure
measure(Measure) - Static method in class org.sonar.api.measures.MeasuresFilters
 
Measure - Class in org.sonar.api.web.gwt.client.webservices
 
Measure() - Constructor for class org.sonar.api.web.gwt.client.webservices.Measure
 
Measure(String, Double, String) - Constructor for class org.sonar.api.web.gwt.client.webservices.Measure
 
MeasureBuilder - Interface in org.sonar.api.measures
MeasureBuilder helps to build complex measures.
MeasureData - Class in org.sonar.api.database.model
 
MeasureData(MeasureModel) - Constructor for class org.sonar.api.database.model.MeasureData
 
MeasureData(MeasureModel, byte[]) - Constructor for class org.sonar.api.database.model.MeasureData
 
MeasureData(MeasureModel, String) - Constructor for class org.sonar.api.database.model.MeasureData
 
MeasureData() - Constructor for class org.sonar.api.database.model.MeasureData
 
MeasureModel - Class in org.sonar.api.database.model
This class is the Hibernate model to store a measure in the DB
MeasureModel(Metric, Double) - Constructor for class org.sonar.api.database.model.MeasureModel
Creates a measure based on a metric and a double value
MeasureModel(Metric, Metric.Level) - Constructor for class org.sonar.api.database.model.MeasureModel
Creates a measure based on a metric and an alert level
MeasureModel(Metric, String) - Constructor for class org.sonar.api.database.model.MeasureModel
Creates a measure based on a metric and a string value
MeasureModel() - Constructor for class org.sonar.api.database.model.MeasureModel
Creates an empty measure
MeasuresFilter<M> - Interface in org.sonar.api.measures
 
MeasuresFilters - Class in org.sonar.api.measures
 
MeasuresFilters.MetricFilter<M> - Class in org.sonar.api.measures
Used for internal optimizations.
MeasuresFilters.MetricFilter(Metric) - Constructor for class org.sonar.api.measures.MeasuresFilters.MetricFilter
 
MeasureUtils - Class in org.sonar.api.measures
An utility class to manipulate measures
merge(Object) - Method in class org.sonar.api.database.DatabaseSession
 
merge(Metric) - Method in class org.sonar.api.measures.Metric
Merge with fields from other metric.
MESSAGE_COLUMN_SIZE - Static variable in class org.sonar.api.database.model.RuleFailureModel
 
metric - Variable in class org.sonar.api.measures.Measure
 
metric(Metric) - Static method in class org.sonar.api.measures.MeasuresFilters
 
Metric - Class in org.sonar.api.measures
 
Metric() - Constructor for class org.sonar.api.measures.Metric
Deprecated. 
Metric(String) - Constructor for class org.sonar.api.measures.Metric
Creates a metric based on its key.
Metric(String, Metric.ValueType) - Constructor for class org.sonar.api.measures.Metric
Creates a metric based on a key and a type.
Metric(String, String, String, Metric.ValueType, Integer, Boolean, String) - Constructor for class org.sonar.api.measures.Metric
 
Metric(String, String, String, Metric.ValueType, Integer, Boolean, String, boolean) - Constructor for class org.sonar.api.measures.Metric
Deprecated. 
Metric(String, String, Metric.ValueType, Integer, Boolean, String, Formula) - Constructor for class org.sonar.api.measures.Metric
Creates a fully qualified metric.
Metric.Level - Enum in org.sonar.api.measures
 
Metric.Origin - Enum in org.sonar.api.measures
 
Metric.ValueType - Enum in org.sonar.api.measures
 
metricKeys - Static variable in class org.sonar.api.measures.CoreMetrics
 
metrics - Static variable in class org.sonar.api.measures.CoreMetrics
 
Metrics - Interface in org.sonar.api.measures
 
MetricsQuery - Class in org.sonar.api.web.gwt.client.webservices
 
MINOR_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
MINOR_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
Model - Class in org.sonar.api.qualitymodel
 
ModelDefinition - Class in org.sonar.api.qualitymodel
This extension point must be implemented to define a new quality model.
ModelDefinition(String) - Constructor for class org.sonar.api.qualitymodel.ModelDefinition
 
ModelFinder - Interface in org.sonar.api.qualitymodel
 

N

NAME_COLUMN_SIZE - Static variable in class org.sonar.api.database.model.ResourceModel
 
NAME_COLUMN_SIZE - Static variable in class org.sonar.api.resources.ProjectLink
 
NavigationSection - Annotation Type in org.sonar.api.web
The Page is displayed only in listed sections.
NCLOC - Static variable in class org.sonar.api.measures.CoreMetrics
 
NCLOC - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
NCLOC_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
Node - Class in org.sonar.api.utils.dag
 
Node(Object) - Constructor for class org.sonar.api.utils.dag.Node
 
NoSonarFilter - Class in org.sonar.api.checks
 
NoSonarFilter() - Constructor for class org.sonar.api.checks.NoSonarFilter
 
NUMBER_OF_CHILDREN - Static variable in class org.sonar.api.measures.CoreMetrics
 
NUMBER_OF_CHILDREN_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 

O

onceContainsMeasure(WSMetrics.Metric) - Method in class org.sonar.api.web.gwt.client.webservices.Resources
 
onError(int, String) - Method in class org.sonar.api.web.gwt.client.webservices.BaseQueryCallback
 
onError(int, String) - Method in class org.sonar.api.web.gwt.client.webservices.JSONHandlerDispatcher
 
onError(int, String) - Method in interface org.sonar.api.web.gwt.client.webservices.JsonUtils.JSONHandler
 
onError(int, String) - Method in interface org.sonar.api.web.gwt.client.webservices.QueryCallBack
 
onFinished() - Method in class org.sonar.api.batch.AbstractSourceImporter
 
onModuleLoad() - Method in class org.sonar.api.web.gwt.client.AbstractViewer
 
onResourceLoaded() - Method in class org.sonar.api.web.gwt.client.AbstractViewer
Called when a resource JSON object has been loaded within the page
onResponse(Resources, JavaScriptObject) - Method in class org.sonar.api.web.gwt.client.AbstractViewer.StandAloneResourceHandler
 
onResponse(JavaScriptObject) - Method in class org.sonar.api.web.gwt.client.webservices.JSONHandlerDispatcher
 
onResponse(JavaScriptObject) - Method in interface org.sonar.api.web.gwt.client.webservices.JsonUtils.JSONHandler
 
onResponse(RESPONSE_POJO, JavaScriptObject) - Method in interface org.sonar.api.web.gwt.client.webservices.QueryCallBack
 
onServerStart(Server) - Method in interface org.sonar.api.platform.ServerStartHandler
 
onServerStop(Server) - Method in interface org.sonar.api.platform.ServerStopHandler
 
onTimeout() - Method in class org.sonar.api.web.gwt.client.webservices.BaseQueryCallback
 
onTimeout() - Method in class org.sonar.api.web.gwt.client.webservices.JSONHandlerDispatcher
 
onTimeout() - Method in interface org.sonar.api.web.gwt.client.webservices.JsonUtils.JSONHandler
 
onTimeout() - Method in interface org.sonar.api.web.gwt.client.webservices.QueryCallBack
 
openResourcePopup(Resource, String) - Static method in class org.sonar.api.web.gwt.client.Utils
Display the resource in a popup.
openStream(URI) - Method in class org.sonar.api.utils.HttpDownloader
 
OPERATOR_EQUALS - Static variable in class org.sonar.api.profiles.Alert
Operator equals
OPERATOR_GREATER - Static variable in class org.sonar.api.profiles.Alert
Operator strictly greater than
OPERATOR_NOT_EQUALS - Static variable in class org.sonar.api.profiles.Alert
Operator not equals
OPERATOR_SMALLER - Static variable in class org.sonar.api.profiles.Alert
Operator strictly lesser than
org.sonar.api - package org.sonar.api
 
org.sonar.api.batch - package org.sonar.api.batch
 
org.sonar.api.batch.maven - package org.sonar.api.batch.maven
 
org.sonar.api.charts - package org.sonar.api.charts
 
org.sonar.api.checks - package org.sonar.api.checks
 
org.sonar.api.database - package org.sonar.api.database
 
org.sonar.api.database.model - package org.sonar.api.database.model
 
org.sonar.api.design - package org.sonar.api.design
 
org.sonar.api.measures - package org.sonar.api.measures
 
org.sonar.api.platform - package org.sonar.api.platform
 
org.sonar.api.profiles - package org.sonar.api.profiles
 
org.sonar.api.purge - package org.sonar.api.purge
 
org.sonar.api.qualitymodel - package org.sonar.api.qualitymodel
 
org.sonar.api.resources - package org.sonar.api.resources
 
org.sonar.api.rules - package org.sonar.api.rules
 
org.sonar.api.security - package org.sonar.api.security
 
org.sonar.api.utils - package org.sonar.api.utils
 
org.sonar.api.utils.dag - package org.sonar.api.utils.dag
 
org.sonar.api.web - package org.sonar.api.web
 
org.sonar.api.web.gwt.client - package org.sonar.api.web.gwt.client
 
org.sonar.api.web.gwt.client.webservices - package org.sonar.api.web.gwt.client.webservices
 
org.sonar.api.web.gwt.client.widgets - package org.sonar.api.web.gwt.client.widgets
 
OUTLINE_COLOR - Static variable in class org.sonar.api.charts.AbstractChart
 

P

PACKAGE_CYCLES - Static variable in class org.sonar.api.measures.CoreMetrics
 
PACKAGE_CYCLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PACKAGE_EDGES_WEIGHT - Static variable in class org.sonar.api.measures.CoreMetrics
 
PACKAGE_EDGES_WEIGHT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PACKAGE_FEEDBACK_EDGES - Static variable in class org.sonar.api.measures.CoreMetrics
 
PACKAGE_FEEDBACK_EDGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PACKAGE_TANGLE_INDEX - Static variable in class org.sonar.api.measures.CoreMetrics
 
PACKAGE_TANGLE_INDEX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PACKAGE_TANGLES - Static variable in class org.sonar.api.measures.CoreMetrics
 
PACKAGE_TANGLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PACKAGES - Static variable in class org.sonar.api.measures.CoreMetrics
 
PACKAGES - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
PACKAGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
Page - Interface in org.sonar.api.web
 
PARAGRAPH_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PARAGRAPH_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
 
PARAGRAPH_COMPLEXITY_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PARAGRAPH_COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PARAGRAPHS - Static variable in class org.sonar.api.measures.CoreMetrics
 
PARAGRAPHS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PARAM_BACKGROUND_COLOR - Static variable in class org.sonar.api.charts.ChartParameters
 
PARAM_DATE - Static variable in class org.sonar.api.resources.Project
Deprecated. since version 1.11. Constant moved to CoreProperties
PARAM_DYNAMIC_ANALYSIS - Static variable in class org.sonar.api.resources.Project
Deprecated. since version 1.11. Constant moved to CoreProperties
PARAM_EXCLUSIONS - Static variable in class org.sonar.api.resources.Project
Deprecated. since version 1.11. Constant moved to CoreProperties
PARAM_HEIGHT - Static variable in class org.sonar.api.charts.ChartParameters
 
PARAM_LANGUAGE - Static variable in class org.sonar.api.resources.Project
Deprecated. since version 1.11. Constant moved to CoreProperties
PARAM_LOCALE - Static variable in class org.sonar.api.charts.ChartParameters
 
PARAM_PLUGIN - Static variable in class org.sonar.api.batch.AbstractCoverageExtension
The plugin key to retrieve the coverage engine to be used
PARAM_REUSE_RULES_CONFIG - Static variable in class org.sonar.api.resources.Project
Deprecated. since version 1.11. Constant moved to CoreProperties
PARAM_VERSION - Static variable in class org.sonar.api.resources.Project
Deprecated. since version 1.11. Constant moved to CoreProperties
PARAM_WIDTH - Static variable in class org.sonar.api.charts.ChartParameters
 
parse(String, String, String, Collection<Class>, ValidationMessages) - Method in class org.sonar.api.profiles.AnnotationProfileParser
 
parse(Reader, ValidationMessages) - Method in class org.sonar.api.profiles.XMLProfileParser
 
parse(String, Collection<Class>) - Method in class org.sonar.api.rules.AnnotationRuleParser
 
parse(File) - Method in class org.sonar.api.rules.XMLRuleParser
 
parse(InputStream) - Method in class org.sonar.api.rules.XMLRuleParser
Warning : the input stream is closed in this method
parse(Reader) - Method in class org.sonar.api.rules.XMLRuleParser
 
parse(String, KeyValueFormat.Transformer<KEY, VALUE>) - Static method in class org.sonar.api.utils.KeyValueFormat
Transforms a string with the following format : "key1=value1;key2=value2..." into a Map.
parse(String) - Static method in class org.sonar.api.utils.KeyValueFormat
Transforms a string with the following format : "key1=value1;key2=value2..." into a Map
parse(File) - Method in class org.sonar.api.utils.StaxParser
 
parse(InputStream) - Method in class org.sonar.api.utils.StaxParser
 
parse(Reader) - Method in class org.sonar.api.utils.StaxParser
 
parse(URL) - Method in class org.sonar.api.utils.StaxParser
 
parse(File) - Method in class org.sonar.api.utils.XpathParser
 
parse(InputStream) - Method in class org.sonar.api.utils.XpathParser
 
parse(String) - Method in class org.sonar.api.utils.XpathParser
 
parseDirs(SensorContext, List<File>, List<File>, boolean, Charset) - Method in class org.sonar.api.batch.AbstractSourceImporter
 
parseKey(String) - Static method in class org.sonar.api.resources.Directory
 
parseNumber(String, Locale) - Static method in class org.sonar.api.utils.ParsingUtils
Parses a string with a locale and returns the corresponding number
parseNumber(String) - Static method in class org.sonar.api.utils.ParsingUtils
Parses a string with the default locale and returns the corresponding number
parseResource(ClassLoader, String, ValidationMessages) - Method in class org.sonar.api.profiles.XMLProfileParser
 
parseResources(JavaScriptObject) - Static method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
parseResponse(JavaScriptObject) - Method in class org.sonar.api.web.gwt.client.webservices.JSONHandlerDispatcher
 
ParsingUtils - Class in org.sonar.api.utils
Utility to parse various inputs
persistenceMode - Variable in class org.sonar.api.measures.Measure
 
PersistenceMode - Enum in org.sonar.api.measures
Mode of persistence for resources and measures.
Phase - Annotation Type in org.sonar.api.batch
 
Phase.Name - Enum in org.sonar.api.batch
 
Plugin - Interface in org.sonar.api
A plugin is a group of extensions.
PluginRepository - Interface in org.sonar.api.platform
 
Plugins - Class in org.sonar.api
Deprecated.  
Plugins(PluginRepository) - Constructor for class org.sonar.api.Plugins
Deprecated. Creates the dictionnary of plugins
PMD_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
 
PORTABILITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PORTABILITY - Static variable in class org.sonar.api.rules.Iso9126RulesCategories
 
PORTABILITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PostJob - Interface in org.sonar.api.batch
PostJobs are executed when project is analysed.
PROFILE - Static variable in class org.sonar.api.measures.CoreMetrics
 
PROFILE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
ProfileDefinition - Class in org.sonar.api.profiles
Define a profile which is automatically registered during sonar startup.
ProfileDefinition() - Constructor for class org.sonar.api.profiles.ProfileDefinition
 
ProfileExporter - Class in org.sonar.api.profiles
 
ProfileExporter(String, String) - Constructor for class org.sonar.api.profiles.ProfileExporter
 
ProfileImporter - Class in org.sonar.api.profiles
 
ProfileImporter(String, String) - Constructor for class org.sonar.api.profiles.ProfileImporter
 
Project - Class in org.sonar.api.resources
A class that manipulates Projects in the Sonar way, i.e.
Project(String) - Constructor for class org.sonar.api.resources.Project
 
Project(String, String, String) - Constructor for class org.sonar.api.resources.Project
 
Project.AnalysisType - Enum in org.sonar.api.resources
Enumerates the type of possible analysis
PROJECT_BRANCH_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
PROJECT_DATE_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
Value format is yyyy-MM-dd
PROJECT_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
PROJECT_LANGUAGE_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
PROJECT_VERSION_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
ProjectClasspath - Class in org.sonar.api.batch
 
ProjectClasspath(MavenProject) - Constructor for class org.sonar.api.batch.ProjectClasspath
 
ProjectFileSystem - Interface in org.sonar.api.resources
 
ProjectLink - Class in org.sonar.api.resources
 
ProjectLink() - Constructor for class org.sonar.api.resources.ProjectLink
 
ProjectLink(String, String, String) - Constructor for class org.sonar.api.resources.ProjectLink
 
ProjectUtils - Class in org.sonar.api.resources
 
PROP_DIALECT - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_DIALECT_CLASS - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_DRIVER - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_DRIVER_DEFAULT_VALUE - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_DRIVER_DEPRECATED - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_EMBEDDED_DATA_DIR - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_EMBEDDED_PORT - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_HIBERNATE_DEFAULT_SCHEMA - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_HIBERNATE_GENERATE_STATISTICS - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_HIBERNATE_HBM2DLL - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_ISOLATION - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_JNDI_NAME - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_KEY_MINIMUM_PERIOD_IN_HOURS - Static variable in class org.sonar.api.purge.PurgeUtils
 
PROP_PASSWORD - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_PASSWORD_DEFAULT_VALUE - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_URL - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_URL_DEFAULT_VALUE - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_USER - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_USER_DEFAULT_VALUE - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_USER_DEPRECATED - Static variable in interface org.sonar.api.database.DatabaseProperties
 
Properties - Annotation Type in org.sonar.api
Plugin properties.
Properties - Class in org.sonar.api.web.gwt.client.webservices
 
Properties(List<Property>) - Constructor for class org.sonar.api.web.gwt.client.webservices.Properties
 
PropertiesBuilder<KEY,VALUE> - Class in org.sonar.api.measures
 
PropertiesBuilder(Metric, Map<KEY, VALUE>) - Constructor for class org.sonar.api.measures.PropertiesBuilder
 
PropertiesBuilder(Metric) - Constructor for class org.sonar.api.measures.PropertiesBuilder
 
PropertiesBuilder() - Constructor for class org.sonar.api.measures.PropertiesBuilder
 
PropertiesQuery - Class in org.sonar.api.web.gwt.client.webservices
 
PropertiesQuery() - Constructor for class org.sonar.api.web.gwt.client.webservices.PropertiesQuery
 
PropertiesQuery(String) - Constructor for class org.sonar.api.web.gwt.client.webservices.PropertiesQuery
 
Property - Annotation Type in org.sonar.api
Property value can be set in different ways : System property Maven command-line (-Dfoo=bar) Maven pom.xml (element ) Maven settings.xml Sonar web interface

Value is accessible in batch extensions via the Configuration object of class org.sonar.api.resources.Project (see method getConfiguration()).

Property - Class in org.sonar.api.web.gwt.client.webservices
 
Property() - Constructor for class org.sonar.api.web.gwt.client.webservices.Property
 
Property(String, String) - Constructor for class org.sonar.api.web.gwt.client.webservices.Property
 
provide() - Method in class org.sonar.api.ExtensionProvider
 
PUBLIC_API - Static variable in class org.sonar.api.measures.CoreMetrics
 
PUBLIC_API - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
PUBLIC_API_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PUBLIC_DOCUMENTED_API_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PUBLIC_DOCUMENTED_API_DENSITY - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
PUBLIC_DOCUMENTED_API_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
PUBLIC_UNDOCUMENTED_API - Static variable in class org.sonar.api.measures.CoreMetrics
 
PUBLIC_UNDOCUMENTED_API - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
PUBLIC_UNDOCUMENTED_API_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
Purge - Interface in org.sonar.api.batch
Extension point to purge data.
purge(PurgeContext) - Method in interface org.sonar.api.batch.Purge
Snapshots include the current snapshot (flagged as last) and optionally the penultimate one.
PurgeContext - Interface in org.sonar.api.batch
 
PurgeUtils - Class in org.sonar.api.purge
 

Q

QUALIFIER_CLASS - Static variable in class org.sonar.api.resources.Resource
 
QUALIFIER_CLASS - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
 
QUALIFIER_DIRECTORY - Static variable in class org.sonar.api.resources.Resource
 
QUALIFIER_DIRECTORY - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
 
QUALIFIER_FIELD - Static variable in class org.sonar.api.resources.Resource
 
QUALIFIER_FILE - Static variable in class org.sonar.api.resources.Resource
 
QUALIFIER_FILE - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
 
QUALIFIER_LIB - Static variable in class org.sonar.api.resources.Resource
 
QUALIFIER_METHOD - Static variable in class org.sonar.api.resources.Resource
 
QUALIFIER_MODULE - Static variable in class org.sonar.api.resources.Resource
 
QUALIFIER_MODULE - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
 
QUALIFIER_PACKAGE - Static variable in class org.sonar.api.resources.Resource
 
QUALIFIER_PACKAGE - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
 
QUALIFIER_PROJECT - Static variable in class org.sonar.api.resources.Resource
 
QUALIFIER_PROJECT - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
 
QUALIFIER_PROJECT_BRANCH - Static variable in class org.sonar.api.resources.Resource
Deprecated. 
QUALIFIER_PROJECT_BRANCH - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
Deprecated. 
QUALIFIER_PROJECT_TRUNK - Static variable in class org.sonar.api.database.model.ResourceModel
 
QUALIFIER_PROJECT_TRUNK - Static variable in class org.sonar.api.resources.Resource
Deprecated. 
QUALIFIER_PROJECT_TRUNK - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
Deprecated. 
QUALIFIER_SUBVIEW - Static variable in class org.sonar.api.resources.Resource
 
QUALIFIER_UNIT_TEST - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
 
QUALIFIER_UNIT_TEST_CLASS - Static variable in class org.sonar.api.resources.Resource
 
QUALIFIER_VIEW - Static variable in class org.sonar.api.resources.Resource
 
Query<R extends ResponsePOJO> - Class in org.sonar.api.web.gwt.client.webservices
 
Query() - Constructor for class org.sonar.api.web.gwt.client.webservices.Query
 
QueryCallBack<RESPONSE_POJO extends ResponsePOJO> - Interface in org.sonar.api.web.gwt.client.webservices
 

R

RangeDistributionBuilder - Class in org.sonar.api.measures
Utility to build a distribution based on defined ranges

RangeDistributionBuilder(Metric, Number[]) - Constructor for class org.sonar.api.measures.RangeDistributionBuilder
RangeDistributionBuilder for a metric and a defined range Each entry is initialized at zero
RangeDistributionBuilder(Metric) - Constructor for class org.sonar.api.measures.RangeDistributionBuilder
 
reattach(Class<T>, Object) - Method in class org.sonar.api.database.DatabaseSession
 
registerPlugin(MavenProject, String, String, String, boolean) - Static method in class org.sonar.api.batch.maven.MavenPlugin
Registers a plugin in a project pom

RELIABILITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
RELIABILITY - Static variable in class org.sonar.api.rules.Iso9126RulesCategories
 
RELIABILITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
remove(Object) - Method in class org.sonar.api.database.DatabaseSession
 
removeCharacteristic(Characteristic) - Method in class org.sonar.api.qualitymodel.Model
 
removeFromParent() - Method in class org.sonar.api.resources.Project
For internal use only.
removeParameter(String) - Method in class org.sonar.api.batch.maven.MavenPlugin
Remove a parameter from the maven plugin based on its key
removeParameters() - Method in class org.sonar.api.batch.maven.MavenPlugin
Removes all parameters from the maven plugin
removeWithoutFlush(Object) - Method in class org.sonar.api.database.DatabaseSession
 
render(Resource) - Method in class org.sonar.api.web.gwt.client.AbstractViewer
Renders the widget for the current resource
requestJson(String, JsonUtils.JSONHandler) - Static method in class org.sonar.api.web.gwt.client.webservices.JsonUtils
 
reset() - Method in class org.sonar.api.utils.dag.Node
 
resolveOrder() - Method in class org.sonar.api.utils.dag.Node
 
resolvePath(String) - Method in class org.sonar.api.resources.DefaultProjectFileSystem
 
resolvePath(String) - Method in interface org.sonar.api.resources.ProjectFileSystem
Get file from path.
Resource<PARENT extends Resource> - Class in org.sonar.api.resources
The interface to implement to create a resource in Sonar
Resource() - Constructor for class org.sonar.api.resources.Resource
 
Resource - Class in org.sonar.api.web.gwt.client.webservices
 
Resource() - Constructor for class org.sonar.api.web.gwt.client.webservices.Resource
 
Resource(Integer, String, String, String, String, String, Integer, List<Measure>) - Constructor for class org.sonar.api.web.gwt.client.webservices.Resource
 
RESOURCE - Static variable in annotation type org.sonar.api.web.NavigationSection
 
RESOURCE_TAB - Static variable in annotation type org.sonar.api.web.NavigationSection
 
ResourceCreationLock - Interface in org.sonar.api.batch
This lock is used to ensure that Sonar resources (files, packages, directories) are not created by buggy plugins when saving measures/violations on unknown resources.
ResourceDictionary - Class in org.sonar.api.web.gwt.client
 
ResourceFilter - Interface in org.sonar.api.batch
Filter resources to save.
ResourceLanguage - Annotation Type in org.sonar.api.web
The view is displayed only if the selected resource has the same language.
ResourceModel - Class in org.sonar.api.database.model
Class to map resource with hibernate model
ResourceModel() - Constructor for class org.sonar.api.database.model.ResourceModel
Default constructor
ResourceModel(String, String, String, Integer, String) - Constructor for class org.sonar.api.database.model.ResourceModel
Creates a resource model
ResourceQualifier - Annotation Type in org.sonar.api.web
The view is displayed only if the selected resource has the same qualifier.
Resources - Class in org.sonar.api.web.gwt.client.webservices
 
Resources(List<Resource>) - Constructor for class org.sonar.api.web.gwt.client.webservices.Resources
 
ResourceScope - Annotation Type in org.sonar.api.web
The view is displayed only if the selected resource has the same qualifier.
ResourcesQuery - Class in org.sonar.api.web.gwt.client.webservices
 
ResourceUtils - Class in org.sonar.api.resources
 
ResponsePOJO - Class in org.sonar.api.web.gwt.client.webservices
Marker class for WS query response objects
ResponsePOJO() - Constructor for class org.sonar.api.web.gwt.client.webservices.ResponsePOJO
 
REUSE_RULES_CONFIGURATION_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
RFC - Static variable in class org.sonar.api.measures.CoreMetrics
 
RFC - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
RFC_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
 
RFC_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
RFC_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
rollback() - Method in class org.sonar.api.database.DatabaseSession
 
ROOT - Static variable in class org.sonar.api.resources.Directory
 
ROOT_DEPTH - Static variable in class org.sonar.api.qualitymodel.Characteristic
 
RubyRailsPage - Interface in org.sonar.api.web
 
RubyRailsWebservice - Interface in org.sonar.api.web
EXPERIMENTAL

Interface to create a ruby web service extension point using the Ruby On Rails controller API (ActionController) The method getTemplate() return the ROR controller code, the name of the controller class defined in the template MUST match the following name scheme : Api::$Webservice.getId()Controller I.E : Webservice.getId() = TestWS > Api::TestWSController.

RubyRailsWidget - Interface in org.sonar.api.web
Widget in project dashboard page.
rule(Metric, Rule) - Static method in class org.sonar.api.measures.MeasuresFilters
 
Rule - Class in org.sonar.api.rules
 
Rule() - Constructor for class org.sonar.api.rules.Rule
Deprecated. since 2.3. Use the factory method create()
Rule(String, String) - Constructor for class org.sonar.api.rules.Rule
Deprecated. since 2.3. Use the factory method create()
Rule(String, String, String, RulesCategory, RulePriority) - Constructor for class org.sonar.api.rules.Rule
Deprecated. since 2.3. Use the factory method create()
Rule(String, String, RulesCategory, String, String) - Constructor for class org.sonar.api.rules.Rule
Deprecated. Use the factory method create()
Rule(String, String, String, RulesCategory, String, String) - Constructor for class org.sonar.api.rules.Rule
Deprecated. since 2.3. Use the factory method create()
Rule - Class in org.sonar.api.web.gwt.client.webservices
 
Rule(String, String, String) - Constructor for class org.sonar.api.web.gwt.client.webservices.Rule
 
RuleAnnotationUtils - Class in org.sonar.api.rules
 
ruleCategories(Metric) - Static method in class org.sonar.api.measures.MeasuresFilters
 
ruleCategory(Metric, Integer) - Static method in class org.sonar.api.measures.MeasuresFilters
 
RuleFailureModel - Class in org.sonar.api.database.model
 
RuleFailureModel() - Constructor for class org.sonar.api.database.model.RuleFailureModel
 
RuleFailureModel(Rule, RulePriority) - Constructor for class org.sonar.api.database.model.RuleFailureModel
 
RuleFinder - Interface in org.sonar.api.rules
 
RuleMeasure - Class in org.sonar.api.measures
 
RuleMeasure(Metric, Rule, RulePriority, Integer) - Constructor for class org.sonar.api.measures.RuleMeasure
This constructor is for internal use only.
RuleParam - Class in org.sonar.api.rules
 
RuleParam() - Constructor for class org.sonar.api.rules.RuleParam
Deprecated. since 2.3 use the factory method Rule.setParameter()
RuleParam(Rule, String, String, String) - Constructor for class org.sonar.api.rules.RuleParam
Deprecated. since 2.3 use the factory method setParameter()
rulePriority(Metric, RulePriority) - Static method in class org.sonar.api.measures.MeasuresFilters
 
RulePriority - Enum in org.sonar.api.rules
A class to hold rules priority
RuleQuery - Class in org.sonar.api.rules
 
RuleRepository - Class in org.sonar.api.rules
 
RuleRepository(String, String) - Constructor for class org.sonar.api.rules.RuleRepository
 
rules(Metric) - Static method in class org.sonar.api.measures.MeasuresFilters
 
RulesCategory - Class in org.sonar.api.rules
A class to hold rules category
RulesCategory(String) - Constructor for class org.sonar.api.rules.RulesCategory
Creates a RuleCategory based on the category name
RulesCategory(String, String) - Constructor for class org.sonar.api.rules.RulesCategory
Creates a category based on the category name and description
RulesCategory() - Constructor for class org.sonar.api.rules.RulesCategory
Creates an empty category
RulesProfile - Class in org.sonar.api.profiles
This class is badly named.
RulesProfile() - Constructor for class org.sonar.api.profiles.RulesProfile
Deprecated. use the factory method create()
RulesProfile(String, String) - Constructor for class org.sonar.api.profiles.RulesProfile
Deprecated. since 2.3. Use the factory method create()
RulesProfile(String, String, boolean, boolean) - Constructor for class org.sonar.api.profiles.RulesProfile
Deprecated. since 2.3. Use the factory method create()
RuleUtils - Class in org.sonar.api.rules
A utility class to manipulate concepts around rules

S

save(T) - Method in class org.sonar.api.database.DatabaseSession
 
save(Object...) - Method in class org.sonar.api.database.DatabaseSession
 
save(DatabaseSession) - Method in class org.sonar.api.database.model.MeasureModel
Saves the current object to database
save(DatabaseSession) - Method in class org.sonar.api.database.model.Snapshot
 
saveDependency(Dependency) - Method in interface org.sonar.api.batch.DecoratorContext
 
saveDependency(Dependency) - Method in interface org.sonar.api.batch.SensorContext
Build a new dependency : from depends upon to.
saveDependency(Dependency) - Method in class org.sonar.api.batch.SonarIndex
 
saveLink(ProjectLink) - Method in interface org.sonar.api.batch.SensorContext
add a link to an external page like project homepage, sources (subversion, ...), continuous integration server...
saveLink(ProjectLink) - Method in class org.sonar.api.batch.SonarIndex
 
saveMeasure(Measure) - Method in interface org.sonar.api.batch.DecoratorContext
Add a measure on the current resource.
saveMeasure(Metric, Double) - Method in interface org.sonar.api.batch.DecoratorContext
Add a measure on the current resource.
saveMeasure(Measure) - Method in interface org.sonar.api.batch.SensorContext
Add a measure on project
saveMeasure(Metric, Double) - Method in interface org.sonar.api.batch.SensorContext
Add a measure on project
saveMeasure(Resource, Metric, Double) - Method in interface org.sonar.api.batch.SensorContext
Add or update a measure.
saveMeasure(Resource, Measure) - Method in interface org.sonar.api.batch.SensorContext
Add or update a measure.
saveMeasure(Resource, Measure) - Method in class org.sonar.api.batch.SonarIndex
 
saveResource(Resource) - Method in interface org.sonar.api.batch.SensorContext
Key is updated when saving the resource.
saveSource(Resource, String) - Method in interface org.sonar.api.batch.SensorContext
Does nothing if the resource is set as excluded.
saveViolation(Violation) - Method in interface org.sonar.api.batch.DecoratorContext
Save a coding rule violation.
saveViolation(Violation) - Method in interface org.sonar.api.batch.SensorContext
Save a coding rule violation.
saveViolations(Collection<Violation>) - Method in interface org.sonar.api.batch.SensorContext
Saves a list of violations
saveWithoutFlush(Object) - Method in class org.sonar.api.database.DatabaseSession
 
scaleValue(double) - Static method in class org.sonar.api.utils.ParsingUtils
Scales a double value, taking into account 2 decimals
scaleValue(double, int) - Static method in class org.sonar.api.utils.ParsingUtils
Scales a double value with decimals
SCOPE_DIRECTORY - Static variable in class org.sonar.api.resources.Resource
Deprecated. 
SCOPE_DIRECTORY - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
Deprecated. 
SCOPE_ENTITY - Static variable in class org.sonar.api.resources.Resource
 
SCOPE_ENTITY - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
 
SCOPE_FILE - Static variable in class org.sonar.api.resources.Resource
Deprecated. 
SCOPE_FILE - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
Deprecated. 
SCOPE_PROJECT - Static variable in class org.sonar.api.database.model.ResourceModel
 
SCOPE_PROJECT - Static variable in class org.sonar.api.resources.Resource
Deprecated. 
SCOPE_PROJECT - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
Deprecated. 
SCOPE_SET - Static variable in class org.sonar.api.resources.Resource
 
SCOPE_SET - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
 
SCOPE_SPACE - Static variable in class org.sonar.api.resources.Resource
 
SCOPE_SPACE - Static variable in class org.sonar.api.web.gwt.client.webservices.Resource
 
search(Query...) - Method in interface org.sonar.api.batch.SquidSearch
Returns a list of SourceCode objects base a set of queries given
search(String) - Method in interface org.sonar.api.batch.SquidSearch
Returns a SourceObject given its key
Section - Enum in org.sonar.api.web
Deprecated. add annotation org.sonar.api.web.NavigationSection to View extensions
select(Class<T>) - Method in class org.sonar.api.batch.BatchExtensionDictionnary
 
select(Class<T>, Project, boolean) - Method in class org.sonar.api.batch.BatchExtensionDictionnary
 
selectMavenPluginHandlers(Project) - Method in class org.sonar.api.batch.BatchExtensionDictionnary
 
Sensor - Interface in org.sonar.api.batch
A Sensor is invoked once during the analysis of a project.
SensorContext - Interface in org.sonar.api.batch
 
SEPARATOR - Static variable in class org.sonar.api.resources.Directory
 
SequentialQueries - Class in org.sonar.api.web.gwt.client.webservices
 
Server - Class in org.sonar.api.platform
 
Server() - Constructor for class org.sonar.api.platform.Server
 
SERVER_API_PATH - Static variable in class org.sonar.api.utils.ServerHttpClient
Deprecated.  
SERVER_ID - Static variable in interface org.sonar.api.CoreProperties
 
SERVER_STARTTIME - Static variable in interface org.sonar.api.CoreProperties
 
SERVER_VERSION - Static variable in interface org.sonar.api.CoreProperties
 
ServerComponent - Interface in org.sonar.api
Dependency Injection : all the classes implementing this interface are available in the server IoC container.
ServerExtension - Interface in org.sonar.api
Server extension point.
ServerFileSystem - Interface in org.sonar.api.platform
 
ServerHttpClient - Class in org.sonar.api.utils
Deprecated. use org.sonar.api.plaform.Server instead
ServerHttpClient(String) - Constructor for class org.sonar.api.utils.ServerHttpClient
Deprecated.  
ServerHttpClient(String, Integer, Integer) - Constructor for class org.sonar.api.utils.ServerHttpClient
Deprecated.  
ServerHttpClient(Configuration) - Constructor for class org.sonar.api.utils.ServerHttpClient
Deprecated.  
ServerHttpClient.ServerApiEmptyContentException - Exception in org.sonar.api.utils
Deprecated.  
ServerHttpClient.ServerApiEmptyContentException(String) - Constructor for exception org.sonar.api.utils.ServerHttpClient.ServerApiEmptyContentException
Deprecated.  
ServerHttpClient.ServerConnectionException - Exception in org.sonar.api.utils
Deprecated.  
ServerHttpClient.ServerConnectionException(String) - Constructor for exception org.sonar.api.utils.ServerHttpClient.ServerConnectionException
Deprecated.  
ServerHttpClient.ServerConnectionException(String, Throwable) - Constructor for exception org.sonar.api.utils.ServerHttpClient.ServerConnectionException
Deprecated.  
ServerStartHandler - Interface in org.sonar.api.platform
 
ServerStopHandler - Interface in org.sonar.api.platform
 
setActiveRule(ActiveRule) - Method in class org.sonar.api.rules.ActiveRuleParam
Deprecated. visibility should be decreased to protected or package
setActiveRuleParams(List<ActiveRuleParam>) - Method in class org.sonar.api.rules.ActiveRule
Deprecated. use setParameter()
setActiveRules(List<ActiveRule>) - Method in class org.sonar.api.profiles.RulesProfile
Set the list of active rules
setAlerts(List<Alert>) - Method in class org.sonar.api.profiles.RulesProfile
Sets the list of alerts for the profile
setAlertStatus(Metric.Level) - Method in class org.sonar.api.database.model.MeasureModel
Sets the measure alert status
setAlertStatus(Metric.Level) - Method in class org.sonar.api.measures.Measure
Set the alert status of the measure
setAlertText(String) - Method in class org.sonar.api.database.model.MeasureModel
Sets the text for the alert
setAlertText(String) - Method in class org.sonar.api.measures.Measure
Sets the text associated to the alert on the measure
setAnalysisDate(Date) - Method in class org.sonar.api.resources.Project
For internal use only.
setAnalysisType(Project.AnalysisType) - Method in class org.sonar.api.resources.Project
 
setAnalysisVersion(String) - Method in class org.sonar.api.resources.Project
For internal use only.
setBestValue(Double) - Method in class org.sonar.api.measures.Metric
 
setBranch(String) - Method in class org.sonar.api.resources.Project
 
setCardinality(Cardinality) - Method in class org.sonar.api.rules.Rule
 
setCategories(String) - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
setCategory(String) - Method in class org.sonar.api.batch.Event
 
setCategory(String) - Method in class org.sonar.api.web.gwt.client.webservices.Rule
 
setCharacteristic(Characteristic) - Method in class org.sonar.api.database.model.MeasureModel
 
setCharacteristic(Characteristic) - Method in class org.sonar.api.measures.Measure
 
setColor(boolean) - Method in class org.sonar.api.web.gwt.client.webservices.SourcesQuery
 
setConfigKey(String) - Method in class org.sonar.api.rules.Rule
Sets the configuration key
setConfiguration(Configuration) - Method in class org.sonar.api.resources.Project
Sets the configuration
setConfiguration(String, String) - Static method in class org.sonar.api.web.gwt.client.Utils
 
setCopy(Integer) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
setCopyResourceId(Integer) - Method in class org.sonar.api.database.model.ResourceModel
 
setCost(Double) - Method in class org.sonar.api.database.model.RuleFailureModel
 
setCost(Double) - Method in class org.sonar.api.rules.Violation
The cost to fix a violation can't be precisely computed without this information.
setCreatedAt(Date) - Method in class org.sonar.api.batch.Event
 
setCreatedAt(Date) - Method in class org.sonar.api.database.model.Snapshot
 
setData(String) - Method in class org.sonar.api.batch.Event
 
setData(byte[]) - Method in class org.sonar.api.database.model.MeasureData
 
setData(String) - Method in class org.sonar.api.database.model.MeasureModel
Sets the measure data
setData(String) - Method in class org.sonar.api.database.model.SnapshotSource
 
setData(String) - Method in class org.sonar.api.measures.Measure
Sets the data field of the measure.
setData(Metric.Level) - Method in class org.sonar.api.measures.Measure
Sets an alert level as the data field
setData(String) - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
setDate(Date) - Method in class org.sonar.api.batch.Event
 
setDate(Date) - Method in class org.sonar.api.measures.Measure
Sets the date of the measure - Used only in TimeMachine queries
setDate(Date) - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
setDecoratorContext(DecoratorContext) - Method in class org.sonar.api.batch.DefaultFormulaContext
 
setDefaultProfile(Boolean) - Method in class org.sonar.api.profiles.RulesProfile
Set whether this is the default profile for the language.
setDefaultValue(String) - Method in class org.sonar.api.rules.RuleParam
 
setDepth(Integer) - Method in class org.sonar.api.database.model.Snapshot
Sets the depth of the snapshot
setDepth(Integer) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
setDepth(Integer) - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
setDescription(String) - Method in class org.sonar.api.batch.Event
 
setDescription(String) - Method in class org.sonar.api.database.model.MeasureModel
Sets the measure description
setDescription(String) - Method in class org.sonar.api.database.model.ResourceModel
Sets the resource description, truncated to DESCRIPTION_COLUMN_SIZE
setDescription(String) - Method in class org.sonar.api.measures.Measure
Sets the measure description
setDescription(String) - Method in class org.sonar.api.measures.Metric
Sets the metric description
setDescription(String) - Method in class org.sonar.api.qualitymodel.Characteristic
 
setDescription(String) - Method in class org.sonar.api.resources.Library
 
setDescription(String) - Method in class org.sonar.api.resources.Project
 
setDescription(String) - Method in class org.sonar.api.rules.Rule
Sets the rule description
setDescription(String) - Method in class org.sonar.api.rules.RuleParam
 
setDescription(String) - Method in class org.sonar.api.rules.RulesCategory
Sets the cay description
setDiffValue1(Double) - Method in class org.sonar.api.database.model.MeasureModel
Sets the diffValue1
setDiffValue1(Double) - Method in class org.sonar.api.measures.Measure
Sets the first differential value of the measure
setDiffValue2(Double) - Method in class org.sonar.api.database.model.MeasureModel
Sets the diffValue2
setDiffValue2(Double) - Method in class org.sonar.api.measures.Measure
Sets the second differential value of the measure
setDiffValue3(Double) - Method in class org.sonar.api.database.model.MeasureModel
Sets the diffValue3
setDiffValue3(Double) - Method in class org.sonar.api.measures.Measure
Sets the third differential value of the measure
setDirection(Integer) - Method in class org.sonar.api.measures.Metric
Sets the metric direction.
setDomain(String) - Method in class org.sonar.api.measures.Metric
Sets the domain for the metric (General, Complexity...)
setEffectiveKey(String) - Method in class org.sonar.api.resources.Resource
Internal use only
setEmail(String) - Method in class org.sonar.api.database.model.User
 
setEnabled(Boolean) - Method in class org.sonar.api.database.model.ResourceModel
 
setEnabled(Boolean) - Method in class org.sonar.api.measures.Metric
Sets whether the metric is enabled
setEnabled(Boolean) - Method in class org.sonar.api.qualitymodel.Characteristic
 
setEnabled(Boolean) - Method in class org.sonar.api.rules.Rule
Do not call.
setExcluded(boolean) - Method in class org.sonar.api.resources.Resource
Internal use only
setExclusionPatterns(String[]) - Method in class org.sonar.api.resources.Project
Set exclusion patterns.
setFileSystem(ProjectFileSystem) - Method in class org.sonar.api.resources.Project
 
setFormattedValue(String) - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
setFormula(Formula) - Method in class org.sonar.api.measures.Metric
Sets the metric formula
setFrom(Date) - Method in class org.sonar.api.batch.TimeMachineQuery
Sets the from date to be used in the query
setFrom(Integer) - Method in class org.sonar.api.web.gwt.client.webservices.SourcesQuery
 
setFromCurrentAnalysis(boolean) - Method in class org.sonar.api.batch.TimeMachineQuery
 
setFromResourceId(Integer) - Method in class org.sonar.api.design.DependencyDto
 
setFromScope(String) - Method in class org.sonar.api.design.DependencyDto
 
setFromSnapshotId(Integer) - Method in class org.sonar.api.design.DependencyDto
 
setGroupId(Integer) - Method in class org.sonar.api.security.GroupRole
 
setHidden(Boolean) - Method in class org.sonar.api.measures.Metric
 
setHref(String) - Method in class org.sonar.api.resources.ProjectLink
 
setId(Integer) - Method in class org.sonar.api.database.BaseIdentifiable
 
setId(Long) - Method in class org.sonar.api.database.model.MeasureModel
 
setId(Long) - Method in class org.sonar.api.design.Dependency
Internal use only.
setId(Long) - Method in class org.sonar.api.design.DependencyDto
 
setId(Long) - Method in class org.sonar.api.measures.Measure
Sets the measure id - Internal use only
setId(Integer) - Method in class org.sonar.api.resources.Resource
Internal use only
setId(Integer) - Method in class org.sonar.api.rules.ActiveRule
Deprecated. visibility should be decreased to protected or package
setId(Integer) - Method in class org.sonar.api.rules.Rule
Deprecated. visibility should be decreased to protected or package
setIntValue(Integer) - Method in class org.sonar.api.measures.Measure
Sets the measure value as an int
setKey(String) - Method in class org.sonar.api.database.model.ResourceModel
 
setKey(String) - Method in class org.sonar.api.measures.Metric
Sets the metric key
setKey(String) - Method in class org.sonar.api.profiles.ProfileExporter
 
setKey(String) - Method in class org.sonar.api.profiles.ProfileImporter
 
setKey(String) - Method in class org.sonar.api.qualitymodel.Characteristic
 
setKey(String) - Method in class org.sonar.api.qualitymodel.CharacteristicProperty
 
setKey(String) - Method in class org.sonar.api.resources.ProjectLink
 
setKey(String) - Method in class org.sonar.api.resources.Resource
 
setKey(String) - Method in class org.sonar.api.rules.Rule
Sets the rule key
setKey(String) - Method in class org.sonar.api.rules.RuleParam
 
setKey(KEY) - Method in class org.sonar.api.utils.KeyValue
Sets the key of the couple
setKey(String) - Method in class org.sonar.api.web.gwt.client.webservices.Property
 
setKey(String) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
setKey(String) - Method in class org.sonar.api.web.gwt.client.webservices.Rule
 
setLanguage(String) - Method in class org.sonar.api.profiles.RulesProfile
Set the profile language
setLanguage(Language) - Method in class org.sonar.api.resources.File
Sets the language of the file
setLanguage(Language) - Method in class org.sonar.api.resources.Project
 
setLanguage(String) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
setLanguageKey(String) - Method in class org.sonar.api.database.model.ResourceModel
 
setLanguageKey(String) - Method in class org.sonar.api.resources.Project
For internal use only.
setLast(Boolean) - Method in class org.sonar.api.database.model.Snapshot
 
setLatestAnalysis(boolean) - Method in class org.sonar.api.resources.Project
For internal use only.
setLength(Integer) - Method in class org.sonar.api.web.gwt.client.webservices.SourcesQuery
 
setLevel(RulePriority) - Method in class org.sonar.api.database.model.RuleFailureModel
 
setLevelToDebug() - Method in class org.sonar.api.utils.TimeProfiler
 
setLimit(Integer) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
setLine(Integer) - Method in class org.sonar.api.database.model.RuleFailureModel
 
setLine(int) - Method in class org.sonar.api.web.gwt.client.webservices.Violation
 
setLineId(Integer) - Method in class org.sonar.api.rules.Violation
Sets the violation line
setLogger(Logger) - Method in class org.sonar.api.utils.TimeProfiler
 
setLogin(String) - Method in class org.sonar.api.database.model.User
 
setLongName(String) - Method in class org.sonar.api.database.model.ResourceModel
Sets the long name of the resource, truncated to NAME_COLUMN_SIZE
setLongName(String) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
setMeasure(MeasureModel) - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
setMeasure(MeasureModel) - Method in class org.sonar.api.database.model.MeasureData
 
setMeasureData(MeasureData) - Method in class org.sonar.api.database.model.MeasureModel
Use setData() instead
setMeasureDate(Date) - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
setMeasureDate(Date) - Method in class org.sonar.api.database.model.MeasureModel
Sets the date for the measure
setMeasureId(Long) - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
setMeasures(List<Measure>) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
setMessage(String) - Method in class org.sonar.api.database.model.RuleFailureModel
 
setMessage(String) - Method in class org.sonar.api.rules.Violation
Sets the violation message
setMessage(String) - Method in class org.sonar.api.web.gwt.client.webservices.Violation
 
setMetric(Metric) - Method in class org.sonar.api.batch.DefaultFormulaContext
 
setMetric(Metric) - Method in class org.sonar.api.database.model.MeasureModel
Sets the measure metric
setMetric(Metric) - Method in class org.sonar.api.measures.Measure
Set the underlying metric
setMetric(Metric) - Method in class org.sonar.api.measures.PropertiesBuilder
 
setMetric(Metric) - Method in class org.sonar.api.profiles.Alert
Sets the alert metric
setMetric(String) - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
setMetric(WSMetrics.Metric) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
setMetric(String) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
setMetricId(Integer) - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
setMetricName(String) - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
setMetrics(List<Metric>) - Method in class org.sonar.api.batch.TimeMachineQuery
Sets the metrics to return
setMetrics(Metric...) - Method in class org.sonar.api.batch.TimeMachineQuery
Sets the metrics to return
setMetrics(List<WSMetrics.Metric>) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
setMimeType(String) - Method in class org.sonar.api.profiles.ProfileExporter
 
setName(String) - Method in class org.sonar.api.batch.Event
 
setName(String) - Method in class org.sonar.api.database.model.ResourceModel
Sets the resource name, truncated to NAME_COLUMN_SIZE
setName(String) - Method in class org.sonar.api.database.model.User
 
setName(String) - Method in class org.sonar.api.measures.Metric
Sets the metric name
setName(String) - Method in class org.sonar.api.profiles.ProfileExporter
 
setName(String) - Method in class org.sonar.api.profiles.ProfileImporter
 
setName(String) - Method in class org.sonar.api.profiles.RulesProfile
Set the profile name.
setName(String) - Method in class org.sonar.api.qualitymodel.Characteristic
 
setName(String, boolean) - Method in class org.sonar.api.qualitymodel.Characteristic
 
setName(String) - Method in class org.sonar.api.qualitymodel.Model
 
setName(String) - Method in class org.sonar.api.resources.AbstractLanguage
Sets the language name
setName(String) - Method in class org.sonar.api.resources.Library
 
setName(String) - Method in class org.sonar.api.resources.Project
 
setName(String) - Method in class org.sonar.api.resources.ProjectLink
 
setName(String) - Method in class org.sonar.api.rules.Rule
Sets the rule name
setName(String) - Method in class org.sonar.api.rules.RuleRepository
 
setName(String) - Method in class org.sonar.api.rules.RulesCategory
Sets the category name
setName(String) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
setName(String) - Method in class org.sonar.api.web.gwt.client.webservices.Rule
 
setOnlyLastAnalysis(boolean) - Method in class org.sonar.api.batch.TimeMachineQuery
 
setOperator(String) - Method in class org.sonar.api.profiles.Alert
Sets the alert operator
setOptimizedBestValue(Boolean) - Method in class org.sonar.api.measures.Metric
 
setOrigin(Metric.Origin) - Method in class org.sonar.api.measures.Metric
Set the origin of the metric - Internal use only
setPackaging(String) - Method in class org.sonar.api.resources.Project
 
setParameter(String, String) - Method in class org.sonar.api.batch.maven.MavenPlugin
Sets a parameter for the maven plugin.
setParameter(String, String, boolean) - Method in class org.sonar.api.batch.maven.MavenPlugin
Sets a parameter to the maven plugin.
setParameter(String, String) - Method in class org.sonar.api.rules.ActiveRule
 
setParams(List<RuleParam>) - Method in class org.sonar.api.rules.Rule
Sets the rule parameters
setParent(Dependency) - Method in class org.sonar.api.design.Dependency
 
setParent(Project) - Method in class org.sonar.api.resources.Project
For internal use only.
setParent(Rule) - Method in class org.sonar.api.rules.Rule
 
setParentDependencyId(Long) - Method in class org.sonar.api.design.DependencyDto
 
setParentId(Integer) - Method in class org.sonar.api.database.model.Snapshot
 
setPath(String) - Method in class org.sonar.api.database.model.Snapshot
 
setPersistenceMode(PersistenceMode) - Method in class org.sonar.api.measures.Measure
Sets the persistence mode of a measure.
setPluginName(String) - Method in class org.sonar.api.rules.Rule
Sets the plugin name the rule belongs to
setPom(MavenProject) - Method in class org.sonar.api.resources.Project
 
setPriorities(String) - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
setPriority(RulePriority) - Method in class org.sonar.api.database.model.RuleFailureModel
 
setPriority(RulePriority) - Method in class org.sonar.api.rules.ActiveRule
 
setPriority(RulePriority) - Method in class org.sonar.api.rules.Rule
Sets the rule priority.
setPriority(RulePriority) - Method in class org.sonar.api.rules.Violation
Deprecated. since 2.3. The priority is set by the quality profile.
setPriority(String) - Method in class org.sonar.api.web.gwt.client.webservices.Violation
 
setProjectId(Integer) - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
setProjectId(Integer) - Method in class org.sonar.api.database.model.MeasureModel
Sets the project id
setProjectLinks(List<ProjectLink>) - Method in class org.sonar.api.database.model.ResourceModel
 
setProjects(List<ResourceModel>) - Method in class org.sonar.api.profiles.RulesProfile
Sets the list of projects attached to the profile
setProjectSnapshotId(Integer) - Method in class org.sonar.api.design.DependencyDto
 
setProperty(String, String) - Method in class org.sonar.api.qualitymodel.Characteristic
 
setProperty(String, Double) - Method in class org.sonar.api.qualitymodel.Characteristic
 
setProvided(Boolean) - Method in class org.sonar.api.profiles.RulesProfile
Set whether the profile is provided by a plugin
setQualifier(String) - Method in class org.sonar.api.database.model.ResourceModel
 
setQualifier(String) - Method in class org.sonar.api.database.model.Snapshot
 
setQualifier(String) - Method in class org.sonar.api.resources.File
 
setQualifier(String) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
setQualifiers(String) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
setQualifiers(String) - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
setQualitative(Boolean) - Method in class org.sonar.api.measures.Metric
Sets whether the metric is qualitative
setRepositoryKey(String) - Method in class org.sonar.api.rules.Rule
 
setResource(Resource) - Method in class org.sonar.api.batch.TimeMachineQuery
Sets the resource of the query
setResource(ResourceModel) - Method in class org.sonar.api.database.model.Snapshot
 
setResource(ResourceModel) - Method in class org.sonar.api.resources.ProjectLink
 
setResource(Resource) - Method in class org.sonar.api.rules.Violation
Sets the resource the violation applies to
setResource(Resource) - Method in class org.sonar.api.web.gwt.client.webservices.Violation
 
setResourceId(Integer) - Method in class org.sonar.api.batch.Event
 
setResourceId(Integer) - Method in class org.sonar.api.database.model.Snapshot
 
setResourceId(Integer) - Method in class org.sonar.api.security.GroupRole
 
setResourceId(Integer) - Method in class org.sonar.api.security.UserRole
 
setResourceKey(String) - Method in class org.sonar.api.web.gwt.client.webservices.AbstractResourceQuery
 
setRole(String) - Method in class org.sonar.api.security.GroupRole
 
setRole(String) - Method in class org.sonar.api.security.UserRole
 
setRootId(Integer) - Method in class org.sonar.api.database.model.ResourceModel
 
setRootId(Integer) - Method in class org.sonar.api.database.model.Snapshot
 
setRootProjectId(Integer) - Method in class org.sonar.api.database.model.Snapshot
 
setRule(Rule) - Method in class org.sonar.api.database.model.MeasureModel
Sets the rule for the measure
setRule(Rule) - Method in class org.sonar.api.database.model.RuleFailureModel
 
setRule(Rule) - Method in class org.sonar.api.measures.RuleMeasure
 
setRule(Rule) - Method in class org.sonar.api.qualitymodel.Characteristic
 
setRule(Rule) - Method in class org.sonar.api.rules.ActiveRule
Deprecated. visibility should be reduced to protected or package
setRule(Rule) - Method in class org.sonar.api.rules.Violation
Sets the rule violated
setRule(Rule) - Method in class org.sonar.api.web.gwt.client.webservices.Violation
 
setRuleCategories(String) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
setRuleCategory(Integer) - Method in class org.sonar.api.measures.RuleMeasure
 
setRuleCategory(String) - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
setRuleKey(String) - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
setRuleName(String) - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
setRuleParam(RuleParam) - Method in class org.sonar.api.rules.ActiveRuleParam
Deprecated. visibility should be decreased to protected or package
setRulePriorities(String) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
setRulePriority(RulePriority) - Method in class org.sonar.api.database.model.MeasureModel
Sets the rule priority
setRulePriority(RulePriority) - Method in class org.sonar.api.measures.RuleMeasure
 
setRulePriority(String) - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
setRules(String) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
setRules(String) - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
setRulesCategory(RulesCategory) - Method in class org.sonar.api.rules.Rule
Sets the rule category
setRulesCategoryId(Integer) - Method in class org.sonar.api.database.model.MeasureModel
Sets the rule category id
setRulesProfile(RulesProfile) - Method in class org.sonar.api.database.model.ResourceModel
 
setRulesProfile(RulesProfile) - Method in class org.sonar.api.profiles.Alert
Sets the alert profile
setRulesProfile(RulesProfile) - Method in class org.sonar.api.rules.ActiveRule
Deprecated. visibility should be reduced to protected or package
setScope(String) - Method in class org.sonar.api.database.model.ResourceModel
 
setScope(String) - Method in class org.sonar.api.database.model.Snapshot
 
setScope(String) - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
setScopes(String) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
setScopes(String) - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
setSnapshot(Snapshot) - Method in class org.sonar.api.batch.Event
 
setSnapshot(Snapshot) - Method in class org.sonar.api.database.model.SnapshotSource
 
setSnapshotDate(Date) - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
setSnapshotId(Integer) - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
setSnapshotId(Integer) - Method in class org.sonar.api.database.model.MeasureData
 
setSnapshotId(Integer) - Method in class org.sonar.api.database.model.MeasureModel
Sets the snapshot id
setSnapshotId(Integer) - Method in class org.sonar.api.database.model.RuleFailureModel
 
setSource(Resource, String) - Method in class org.sonar.api.batch.SonarIndex
 
setStatus(String) - Method in class org.sonar.api.database.model.Snapshot
 
setSupportedLanguages(String...) - Method in class org.sonar.api.profiles.ProfileExporter
 
setSupportedLanguages(String...) - Method in class org.sonar.api.profiles.ProfileImporter
 
setTendency(Integer) - Method in class org.sonar.api.database.model.MeasureModel
Sets the measure tendency
setTendency(Integer) - Method in class org.sonar.api.measures.Measure
Sets the tendency for the measure
setTextValue(String) - Method in class org.sonar.api.database.model.MeasureModel
Use setData() instead
setTextValue(String) - Method in class org.sonar.api.qualitymodel.CharacteristicProperty
 
setTo(Date) - Method in class org.sonar.api.batch.TimeMachineQuery
Sets the to date to be used in the query
setToCurrentAnalysis(boolean) - Method in class org.sonar.api.batch.TimeMachineQuery
 
setToResourceId(Integer) - Method in class org.sonar.api.design.DependencyDto
 
setToScope(String) - Method in class org.sonar.api.design.DependencyDto
 
setToSnapshotId(Integer) - Method in class org.sonar.api.design.DependencyDto
 
setType(Metric.ValueType) - Method in class org.sonar.api.measures.Metric
Sets the metric type
setType(String) - Method in class org.sonar.api.rules.RuleParam
 
setUniqueKey(String, String) - Method in class org.sonar.api.rules.Rule
 
setUrl(String) - Method in class org.sonar.api.database.model.MeasureModel
Sets the measure URL
setUrl(String) - Method in class org.sonar.api.measures.Measure
Sets the URL of the measure
setUsage(String) - Method in class org.sonar.api.design.Dependency
 
setUsage(String) - Method in class org.sonar.api.design.DependencyDto
 
setUserId(Integer) - Method in class org.sonar.api.security.UserRole
 
setUserManaged(Boolean) - Method in class org.sonar.api.measures.Metric
Sets whether the metric is user managed
setUserManaged(Boolean) - Method in class org.sonar.api.web.gwt.client.webservices.MetricsQuery
 
setValue(Double) - Method in class org.sonar.api.database.model.MeasureModel
Sets the measure value
setValue(Double) - Method in class org.sonar.api.measures.Measure
Sets the measure value with the default precision of 1
setValue(Double, int) - Method in class org.sonar.api.measures.Measure
Sets the measure value with a given precision
setValue(Double) - Method in class org.sonar.api.measures.RuleMeasure
 
setValue(Double) - Method in class org.sonar.api.qualitymodel.CharacteristicProperty
 
setValue(String) - Method in class org.sonar.api.rules.ActiveRuleParam
 
setValue(VALUE) - Method in class org.sonar.api.utils.KeyValue
Sets the value of the couple
setValue(Double) - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
setValue(String) - Method in class org.sonar.api.web.gwt.client.webservices.Property
 
setValueError(String) - Method in class org.sonar.api.profiles.Alert
Sets the error value if any
setValueWarning(String) - Method in class org.sonar.api.profiles.Alert
Sets the warning value if any
setVerbose(boolean) - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
setVersion(String) - Method in class org.sonar.api.batch.maven.MavenPlugin
Sets the maven plugin version
setVersion(String) - Method in class org.sonar.api.database.model.Snapshot
 
setWeight(int) - Method in class org.sonar.api.design.Dependency
 
setWeight(Integer) - Method in class org.sonar.api.design.DependencyDto
 
setWorstValue(Double) - Method in class org.sonar.api.measures.Metric
 
shouldDecorateResource(DecoratorContext) - Method in class org.sonar.api.batch.AbstractDivisionDecorator
 
shouldDecorateResource(Resource) - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
 
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractCoverageExtension
Whether to implement the extension on the project
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractDirectoriesDecorator
Deprecated. 
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractDivisionDecorator
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractFileComplexityDecorator
Deprecated. 
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractFilesDecorator
Deprecated. 
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractFunctionComplexityDecorator
Deprecated. 
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractFunctionComplexityDistributionDecorator
Deprecated.  
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractSourceImporter
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
shouldExecuteOnProject(Project) - Method in interface org.sonar.api.batch.CheckProject
 
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.FormulaDecorator
shouldSaveZeroIfNoChildMeasures() - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
 
showError(String) - Static method in class org.sonar.api.web.gwt.client.Utils
 
showInfo(String) - Static method in class org.sonar.api.web.gwt.client.Utils
 
showWarning(String) - Static method in class org.sonar.api.web.gwt.client.Utils
 
SKIP_TENDENCIES_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
SKIP_TENDENCIES_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
SKIPPED_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
 
SKIPPED_TESTS - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
SKIPPED_TESTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
Snapshot - Class in org.sonar.api.database.model
A class to map a snapshot with its hibernate model
Snapshot() - Constructor for class org.sonar.api.database.model.Snapshot
 
Snapshot(ResourceModel, Snapshot) - Constructor for class org.sonar.api.database.model.Snapshot
 
Snapshot(ResourceModel, boolean, String, Date) - Constructor for class org.sonar.api.database.model.Snapshot
 
snapshotId - Variable in class org.sonar.api.database.model.RuleFailureModel
 
SnapshotSource - Class in org.sonar.api.database.model
 
SnapshotSource() - Constructor for class org.sonar.api.database.model.SnapshotSource
 
SnapshotSource(Snapshot, String) - Constructor for class org.sonar.api.database.model.SnapshotSource
 
SnapshotSource(Integer, String) - Constructor for class org.sonar.api.database.model.SnapshotSource
 
SONAR_HOME - Static variable in interface org.sonar.api.CoreProperties
 
SONAR_WAY_FINDBUGS_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
Name of the default java profile "Sonar way with Findbugs"
SONAR_WAY_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
Name of the default profile "Sonar Way"
SonarException - Exception in org.sonar.api.utils
Because we don't like checked exceptions !
SonarException() - Constructor for exception org.sonar.api.utils.SonarException
 
SonarException(String) - Constructor for exception org.sonar.api.utils.SonarException
 
SonarException(String, Throwable) - Constructor for exception org.sonar.api.utils.SonarException
 
SonarException(Throwable) - Constructor for exception org.sonar.api.utils.SonarException
 
SonarIndex - Class in org.sonar.api.batch
 
SonarIndex() - Constructor for class org.sonar.api.batch.SonarIndex
 
sort(Collection<T>) - Method in class org.sonar.api.batch.BatchExtensionDictionnary
 
sort() - Method in class org.sonar.api.utils.dag.DirectAcyclicGraph
 
SourcesQuery - Class in org.sonar.api.web.gwt.client.webservices
 
SQUID_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
 
SquidSearch - Interface in org.sonar.api.batch
The extension point to access the Squid data tree
SquidUtils - Class in org.sonar.api.batch
 
start() - Method in class org.sonar.api.database.DatabaseSession
 
start(String) - Method in class org.sonar.api.utils.TimeProfiler
 
START_VIOLATIONS_GENERATION - Static variable in interface org.sonar.api.batch.DecoratorBarriers
 
STATEMENTS - Static variable in class org.sonar.api.measures.CoreMetrics
 
STATEMENTS - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
STATEMENTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
STATUS_PROCESSED - Static variable in class org.sonar.api.database.model.Snapshot
This status is set on the snapshot at the end of the batch
STATUS_UNPROCESSED - Static variable in class org.sonar.api.database.model.Snapshot
This status is set on the snapshot at the beginning of the batch
StaxParser - Class in org.sonar.api.utils
 
StaxParser(StaxParser.XmlStreamHandler) - Constructor for class org.sonar.api.utils.StaxParser
Stax parser for a given stream handler and iso control chars set awarness to off
StaxParser(StaxParser.XmlStreamHandler, boolean) - Constructor for class org.sonar.api.utils.StaxParser
Stax parser for a given stream handler and iso control chars set awarness to on.
StaxParser.XmlStreamHandler - Interface in org.sonar.api.utils
Simple interface for handling XML stream to parse
stop() - Method in class org.sonar.api.database.DatabaseSession
 
stop() - Method in class org.sonar.api.utils.TimeProfiler
 
stream(SMHierarchicCursor) - Method in interface org.sonar.api.utils.StaxParser.XmlStreamHandler
 
SUFFIXES - Static variable in class org.sonar.api.resources.Java
Java files knows suffixes
sum(boolean, Collection<Measure>) - Static method in class org.sonar.api.measures.MeasureUtils
Sums a series of measures
sum(boolean, Measure...) - Static method in class org.sonar.api.measures.MeasureUtils
Sums a series of measures
SumChildDistributionFormula - Class in org.sonar.api.measures
 
SumChildDistributionFormula() - Constructor for class org.sonar.api.measures.SumChildDistributionFormula
 
SumChildValuesFormula - Class in org.sonar.api.measures
 
SumChildValuesFormula(boolean) - Constructor for class org.sonar.api.measures.SumChildValuesFormula
 
SUN_CONVENTIONS_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
Name of the default java profile "Sun checks"
SUREFIRE_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
 
SUREFIRE_REPORTS_PATH_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
SUSPECT_LCOM4_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
SUSPECT_LCOM4_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 

T

TempFileUtils - Class in org.sonar.api.utils
 
tendency - Variable in class org.sonar.api.measures.Measure
 
TEST_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
 
TEST_DATA - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
TEST_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
TEST_ERRORS - Static variable in class org.sonar.api.measures.CoreMetrics
 
TEST_ERRORS - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
TEST_ERRORS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
TEST_EXECUTION_TIME - Static variable in class org.sonar.api.measures.CoreMetrics
 
TEST_EXECUTION_TIME_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
TEST_FAILURES - Static variable in class org.sonar.api.measures.CoreMetrics
 
TEST_FAILURES - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
TEST_FAILURES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
TEST_SUCCESS_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
TEST_SUCCESS_DENSITY - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
TEST_SUCCESS_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
 
TESTS - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
TESTS_EXECUTION_TIME - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
TESTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
TEXT_VALUE_LENGTH - Static variable in class org.sonar.api.database.model.MeasureModel
 
TimeMachine - Interface in org.sonar.api.batch
The TimeMachine extension point
TimeMachineQuery - Class in org.sonar.api.batch
A class to query TimeMachine on a given resource

TimeMachineQuery(Resource) - Constructor for class org.sonar.api.batch.TimeMachineQuery
Create a TimeMachine query for a given resource
TIMEOUT_MILLISECONDS - Static variable in class org.sonar.api.utils.HttpDownloader
 
TimeProfiler - Class in org.sonar.api.utils
A very simple profiler to log the time elapsed performing some tasks.
TimeProfiler(Logger) - Constructor for class org.sonar.api.utils.TimeProfiler
 
TimeProfiler(Class) - Constructor for class org.sonar.api.utils.TimeProfiler
 
TimeProfiler() - Constructor for class org.sonar.api.utils.TimeProfiler
Use the default Sonar logger
toCheckPriority() - Method in enum org.sonar.api.rules.RulePriority
 
toIsoCategory() - Method in class org.sonar.api.rules.RulesCategory
 
toMeasure() - Method in class org.sonar.api.database.model.MeasureModel
 
toMeasures(List<MeasureModel>) - Static method in class org.sonar.api.database.model.MeasureModel
Transforms a list of MeasureModel into a list of Measure
toResource(File) - Method in class org.sonar.api.resources.DefaultProjectFileSystem
 
toResource(File) - Method in interface org.sonar.api.resources.ProjectFileSystem
 
toString() - Method in class org.sonar.api.batch.AbstractFunctionComplexityDistributionDecorator
Deprecated.  
toString() - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
 
toString() - Method in class org.sonar.api.batch.Event
 
toString() - Method in class org.sonar.api.batch.FormulaDecorator
 
toString() - Method in class org.sonar.api.batch.maven.MavenPlugin
 
toString() - Method in class org.sonar.api.batch.TimeMachineQuery
 
toString() - Method in class org.sonar.api.charts.AbstractChart
 
toString() - Method in class org.sonar.api.database.model.AsyncMeasureSnapshot
 
toString() - Method in class org.sonar.api.database.model.MeasureModel
 
toString() - Method in class org.sonar.api.database.model.ResourceModel
 
toString() - Method in class org.sonar.api.database.model.RuleFailureModel
 
toString() - Method in class org.sonar.api.database.model.Snapshot
 
toString() - Method in class org.sonar.api.design.Dependency
 
toString() - Method in class org.sonar.api.design.DependencyDto
 
toString() - Method in class org.sonar.api.measures.Measure
 
toString() - Method in class org.sonar.api.measures.Metric
 
toString() - Method in class org.sonar.api.measures.RuleMeasure
 
toString() - Method in class org.sonar.api.profiles.ProfileExporter
 
toString() - Method in class org.sonar.api.profiles.ProfileImporter
 
toString() - Method in class org.sonar.api.profiles.RulesProfile
 
toString() - Method in class org.sonar.api.qualitymodel.Characteristic
 
toString() - Method in class org.sonar.api.qualitymodel.Model
 
toString() - Method in class org.sonar.api.qualitymodel.ModelDefinition
 
toString() - Method in class org.sonar.api.resources.AbstractLanguage
 
toString() - Method in class org.sonar.api.resources.Directory
 
toString() - Method in class org.sonar.api.resources.File
 
toString() - Method in class org.sonar.api.resources.JavaFile
 
toString() - Method in class org.sonar.api.resources.JavaPackage
 
toString() - Method in class org.sonar.api.resources.Library
 
toString() - Method in class org.sonar.api.resources.Project
 
toString() - Method in class org.sonar.api.resources.ProjectLink
 
toString() - Method in class org.sonar.api.rules.ActiveRule
 
toString() - Method in class org.sonar.api.rules.Rule
 
toString() - Method in class org.sonar.api.rules.RuleParam
 
toString() - Method in class org.sonar.api.rules.RuleRepository
 
toString() - Method in class org.sonar.api.rules.RulesCategory
 
toString() - Method in class org.sonar.api.rules.Violation
 
toString() - Method in class org.sonar.api.utils.dag.Node
 
toString() - Method in class org.sonar.api.utils.ValidationMessages
 
toString() - Method in class org.sonar.api.web.gwt.client.webservices.Measure
 
toString() - Method in class org.sonar.api.web.gwt.client.webservices.MetricsQuery
 
toString() - Method in class org.sonar.api.web.gwt.client.webservices.PropertiesQuery
 
toString() - Method in class org.sonar.api.web.gwt.client.webservices.Resource
 
toString() - Method in class org.sonar.api.web.gwt.client.webservices.ResourcesQuery
 
toString() - Method in class org.sonar.api.web.gwt.client.webservices.SourcesQuery
 
toString() - Method in class org.sonar.api.web.gwt.client.webservices.ViolationsQuery
 
transform(String, String) - Method in class org.sonar.api.utils.KeyValueFormat.DoubleNumbersPairTransformer
 
transform(String, String) - Method in class org.sonar.api.utils.KeyValueFormat.IntegerNumbersPairTransformer
 
transform(String, String) - Method in class org.sonar.api.utils.KeyValueFormat.RulePriorityNumbersPairTransformer
 
transform(String, String) - Method in class org.sonar.api.utils.KeyValueFormat.StringNumberPairTransformer
 
transform(String, String) - Method in interface org.sonar.api.utils.KeyValueFormat.Transformer
 

U

UNCOVERED_COMPLEXITY_BY_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated. replaced since 1.11 by UNCOVERED_LINES and UNCOVERED_CONDITIONS
UNCOVERED_COMPLEXITY_BY_TESTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated. replaced since 1.11 by UNCOVERED_LINES and UNCOVERED_CONDITIONS
UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
UNCOVERED_LINES - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
unsetMetrics() - Method in class org.sonar.api.batch.TimeMachineQuery
Unsets the metrics
unzip(File, File) - Static method in class org.sonar.api.utils.ZipUtils
Unzip a file into a directory.
unzip(File, File, ZipUtils.ZipEntryFilter) - Static method in class org.sonar.api.utils.ZipUtils
 
unzipToTempDir(File) - Static method in class org.sonar.api.utils.ZipUtils
Unzip a file into a new temporary directory.
updateFrom(WSMetrics.Metric) - Method in class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
url - Variable in class org.sonar.api.measures.Measure
 
USABILITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
USABILITY - Static variable in class org.sonar.api.rules.Iso9126RulesCategories
 
USABILITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
useDatabase() - Method in enum org.sonar.api.measures.PersistenceMode
 
useMemory() - Method in enum org.sonar.api.measures.PersistenceMode
 
User - Class in org.sonar.api.database.model
 
User() - Constructor for class org.sonar.api.database.model.User
 
USER - Static variable in annotation type org.sonar.api.web.UserRole
 
UserRole - Class in org.sonar.api.security
This JPA model maps the table user_roles
UserRole(Integer, String, Integer) - Constructor for class org.sonar.api.security.UserRole
 
UserRole() - Constructor for class org.sonar.api.security.UserRole
 
UserRole - Annotation Type in org.sonar.api.web
 
Utils - Class in org.sonar.api.web.gwt.client
A class of web utility

V

ValidationMessages - Class in org.sonar.api.utils
 
value - Variable in class org.sonar.api.measures.Measure
 
valueOf(String) - Static method in enum org.sonar.api.batch.Phase.Name
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.measures.Metric.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.measures.Metric.Origin
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.measures.Metric.ValueType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.measures.PersistenceMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.platform.Environment
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.resources.Project.AnalysisType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.rules.RulePriority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric.ValueType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.web.Section
Deprecated. Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.web.WidgetLayoutType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.web.WidgetPropertyType
Returns the enum constant of this type with the specified name.
valueOfString(String) - Static method in enum org.sonar.api.rules.RulePriority
A class to map priority level prior to Sonar 1.10 to the new ones
values() - Static method in enum org.sonar.api.batch.Phase.Name
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.measures.Metric.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.measures.Metric.Origin
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.measures.Metric.ValueType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.measures.PersistenceMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.platform.Environment
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.resources.Project.AnalysisType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.rules.RulePriority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric.ValueType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.web.Section
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.web.WidgetLayoutType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.web.WidgetPropertyType
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class org.sonar.api.batch.maven.MavenSurefireUtils
 
View - Interface in org.sonar.api.web
 
VIEWER - Static variable in annotation type org.sonar.api.web.UserRole
Deprecated. use the constant USER since 1.12.
Violation - Class in org.sonar.api.rules
A class that represents a violation.
Violation(Rule) - Constructor for class org.sonar.api.rules.Violation
Deprecated. since 2.3. Use the factory method create()
Violation(Rule, Resource) - Constructor for class org.sonar.api.rules.Violation
Deprecated. since 2.3. Use the factory method create()
Violation - Class in org.sonar.api.web.gwt.client.webservices
 
Violation(String, String, int, Rule, Resource) - Constructor for class org.sonar.api.web.gwt.client.webservices.Violation
 
Violation() - Constructor for class org.sonar.api.web.gwt.client.webservices.Violation
 
ViolationFilter - Interface in org.sonar.api.rules
Filter violations to save.
VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
Violations - Class in org.sonar.api.web.gwt.client.webservices
 
Violations(List<Violation>) - Constructor for class org.sonar.api.web.gwt.client.webservices.Violations
 
Violations() - Constructor for class org.sonar.api.web.gwt.client.webservices.Violations
 
VIOLATIONS - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
VIOLATIONS_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
VIOLATIONS_DENSITY - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
VIOLATIONS_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
ViolationsQuery - Class in org.sonar.api.web.gwt.client.webservices
 
VoidResponse - Class in org.sonar.api.web.gwt.client.webservices
 
VoidResponse() - Constructor for class org.sonar.api.web.gwt.client.webservices.VoidResponse
 

W

Webservice - Interface in org.sonar.api.web
Interface to create a web service extension point
WEIGHTED_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
WEIGHTED_VIOLATIONS - Static variable in class org.sonar.api.web.gwt.client.webservices.WSMetrics
 
WEIGHTED_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
WeightedMeanAggregationFormula - Class in org.sonar.api.measures
 
WeightedMeanAggregationFormula(Metric, boolean) - Constructor for class org.sonar.api.measures.WeightedMeanAggregationFormula
 
Widget - Interface in org.sonar.api.web
 
WidgetCategory - Annotation Type in org.sonar.api.web
 
widgetGWTIdJSEncode(String) - Static method in class org.sonar.api.web.gwt.client.Utils
 
WidgetLayout - Annotation Type in org.sonar.api.web
 
WidgetLayoutType - Enum in org.sonar.api.web
 
WidgetProperties - Annotation Type in org.sonar.api.web
 
WidgetProperty - Annotation Type in org.sonar.api.web
 
WidgetPropertyType - Enum in org.sonar.api.web
 
WildcardPattern - Class in org.sonar.api.utils
 
WildcardPattern(String, String) - Constructor for class org.sonar.api.utils.WildcardPattern
 
withConfigKey(String) - Method in class org.sonar.api.rules.RuleQuery
 
withKey(String) - Method in class org.sonar.api.rules.RuleQuery
 
withRepositoryKey(String) - Method in class org.sonar.api.rules.RuleQuery
 
write(RulesProfile, Writer) - Method in class org.sonar.api.profiles.XMLProfileSerializer
 
writeToFile(String, File, String) - Static method in class org.sonar.api.resources.DefaultProjectFileSystem
 
writeToWorkingDirectory(String, String) - Method in class org.sonar.api.resources.DefaultProjectFileSystem
Save data into a new file of Sonar working directory.
writeToWorkingDirectory(String, String) - Method in interface org.sonar.api.resources.ProjectFileSystem
Save data into a new file of Sonar working directory.
WSMetrics - Class in org.sonar.api.web.gwt.client.webservices
 
WSMetrics.Metric - Class in org.sonar.api.web.gwt.client.webservices
 
WSMetrics.Metric(String) - Constructor for class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
WSMetrics.Metric(String, String, String, String, boolean, boolean, int, WSMetrics.Metric.ValueType) - Constructor for class org.sonar.api.web.gwt.client.webservices.WSMetrics.Metric
 
WSMetrics.Metric.ValueType - Enum in org.sonar.api.web.gwt.client.webservices
 
WSMetrics.MetricsList - Class in org.sonar.api.web.gwt.client.webservices
 
WSMetrics.MetricsList() - Constructor for class org.sonar.api.web.gwt.client.webservices.WSMetrics.MetricsList
 

X

XmlParserException - Exception in org.sonar.api.utils
 
XmlParserException() - Constructor for exception org.sonar.api.utils.XmlParserException
 
XmlParserException(String) - Constructor for exception org.sonar.api.utils.XmlParserException
 
XmlParserException(String, Throwable) - Constructor for exception org.sonar.api.utils.XmlParserException
 
XmlParserException(Throwable) - Constructor for exception org.sonar.api.utils.XmlParserException
 
XMLProfileParser - Class in org.sonar.api.profiles
 
XMLProfileParser(RuleFinder) - Constructor for class org.sonar.api.profiles.XMLProfileParser
 
XMLProfileSerializer - Class in org.sonar.api.profiles
 
XMLProfileSerializer() - Constructor for class org.sonar.api.profiles.XMLProfileSerializer
 
XMLRuleParser - Class in org.sonar.api.rules
 
XMLRuleParser() - Constructor for class org.sonar.api.rules.XMLRuleParser
 
XpathParser - Class in org.sonar.api.utils
XML Parsing tool using XPATH.
XpathParser() - Constructor for class org.sonar.api.utils.XpathParser
 

Z

zipDir(File, File) - Static method in class org.sonar.api.utils.ZipUtils
 
ZipUtils - Class in org.sonar.api.utils
 
ZipUtils.ZipEntryFilter - Interface in org.sonar.api.utils
 

A B C D E F G H I J K L M N O P Q R S T U V W X Z

Copyright © 2009-2010 SonarSource. All Rights Reserved.