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

absolutePath() - Method in interface org.sonar.api.batch.fs.InputDir
Normalized absolute path.
absolutePath() - Method in interface org.sonar.api.batch.fs.InputFile
Normalized absolute path.
absolutePath() - Method in interface org.sonar.api.batch.fs.InputPath
 
absolutePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
absolutePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
AbstractChart - Class in org.sonar.api.charts
Deprecated.
in 4.5.1, replaced by Javascript charts
AbstractChart() - Constructor for class org.sonar.api.charts.AbstractChart
Deprecated.
 
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.
 
AbstractFilePredicate - Class in org.sonar.api.batch.fs.internal
Partial implementation of FilePredicate.
AbstractFilePredicate() - Constructor for class org.sonar.api.batch.fs.internal.AbstractFilePredicate
 
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.
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
Deprecated.
since 4.2 Component indexing and source import are done by core and this extension is not used.
AbstractSourceImporter(Language) - Constructor for class org.sonar.api.batch.AbstractSourceImporter
Deprecated.
 
AbstractSumChildrenDecorator - Class in org.sonar.api.batch
Deprecated.
since 5.2 there's no more decorator on batch side
AbstractSumChildrenDecorator() - Constructor for class org.sonar.api.batch.AbstractSumChildrenDecorator
Deprecated.
 
accept(InputFile) - Method in interface org.sonar.api.batch.fs.InputFileFilter
 
accept(Issue, IssueFilterChain) - Method in class org.sonar.api.checks.NoSonarFilter
Deprecated.
 
accept(Issue, IssueFilterChain) - Method in interface org.sonar.api.issue.batch.IssueFilter
The accept method is called for each Issue created during analysis, to check if it has to be persisted.
accept(Issue) - Method in interface org.sonar.api.issue.batch.IssueFilterChain
Called by a filter to let downstream filters decide the fate of the issue
accept(Issue) - Method in interface org.sonar.api.issue.IssueFilter
Deprecated.
 
accept(Issue, IssueFilterChain) - Method in class org.sonar.api.issue.NoSonarFilter
 
accept(File, FileSystemFilter.Context) - Method in interface org.sonar.api.scan.filesystem.FileSystemFilter
Deprecated.
 
accept(ZipEntry) - Method in interface org.sonar.api.utils.ZipUtils.ZipEntryFilter
 
ACCESSORS - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.0.
ACCESSORS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.0.
acquire(String, int, int) - Method in interface org.sonar.api.utils.Semaphores
Deprecated.
Try to acquire a semaphore for a given duration.
acquire(String) - Method in interface org.sonar.api.utils.Semaphores
Deprecated.
Try to acquire a semaphore.
Action - Class in org.sonar.api.issue.action
 
action() - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
action(String) - Method in class org.sonar.api.server.ws.WebService.Controller
 
ActionPlan - Interface in org.sonar.api.issue
 
actionPlanKey() - Method in interface org.sonar.api.issue.Issue
 
Actions - Class in org.sonar.api.issue.action
 
Actions() - Constructor for class org.sonar.api.issue.action.Actions
 
actions() - Method in class org.sonar.api.server.ws.WebService.Controller
 
activate() - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
 
activateRule(Rule, RulePriority) - Method in class org.sonar.api.profiles.RulesProfile
 
active() - Method in interface org.sonar.api.user.User
 
ActiveRule - Interface in org.sonar.api.batch.rule
Configuration of a rule activated on a Quality profile
ActiveRule - Class in org.sonar.api.rules
 
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
ActiveRules - Interface in org.sonar.api.batch.rule
The rules that are activated on the current module.
activeRules() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
activeRules() - Method in interface org.sonar.api.batch.sensor.SensorContext
Get list of active rules.
ActiveRulesBuilder - Class in org.sonar.api.batch.rule.internal
Builds instances of ActiveRules.
ActiveRulesBuilder() - Constructor for class org.sonar.api.batch.rule.internal.ActiveRulesBuilder
 
add(DefaultInputFile) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
Adds InputFile to the list and registers its language, if present.
add(DefaultInputDir) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
Adds InputDir to the list.
add(InputDir) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
 
add(RuleKey) - Method in class org.sonar.api.batch.rule.internal.RulesBuilder
 
add(Number) - Method in class org.sonar.api.ce.measure.RangeDistributionBuilder
Increments an entry by 1
add(Number, int) - Method in class org.sonar.api.ce.measure.RangeDistributionBuilder
Increments an entry
add(String) - Method in class org.sonar.api.ce.measure.RangeDistributionBuilder
Adds an existing Distribution to the current one.
add(String) - Method in class org.sonar.api.issue.action.Actions
 
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(K, V) - Method in class org.sonar.api.measures.PropertiesBuilder
 
add(Number) - Method in class org.sonar.api.measures.RangeDistributionBuilder
Deprecated.
Increments an entry by 1
add(Number, int) - Method in class org.sonar.api.measures.RangeDistributionBuilder
Deprecated.
Increments an entry
add(Measure<String>) - Method in class org.sonar.api.measures.RangeDistributionBuilder
Deprecated.
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(Duration) - Method in class org.sonar.api.utils.Duration
Add the given duration to the current one.
add(WorkDuration) - Method in class org.sonar.api.utils.internal.WorkDuration
 
add(Criterion) - Method in class org.sonar.api.web.Filter
Add a Criterion to the list used to narrow down the results of this Filter.
add(FilterColumn) - Method in class org.sonar.api.web.Filter
Add a FilterColumn to the list of columns displayed by this Filter.
addActiveRule(ActiveRule) - Method in class org.sonar.api.profiles.RulesProfile
 
addAll(Map<K, V>) - Method in class org.sonar.api.measures.PropertiesBuilder
 
addAnnotatedChecks(Object...) - Method in class org.sonar.api.batch.rule.Checks
 
addAnnotatedChecks(Collection) - Method in class org.sonar.api.batch.rule.Checks
Deprecated.
addAnnotatedChecks(Iterable) - Method in class org.sonar.api.batch.rule.Checks
 
addArgument(String) - Method in class org.sonar.api.utils.command.Command
 
addArguments(List<String>) - Method in class org.sonar.api.utils.command.Command
 
addArguments(String[]) - Method in class org.sonar.api.utils.command.Command
 
addBinaryDir(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
since 4.5.1 use SonarQube Java specific API
addBinaryDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
since 4.5.1 use SonarQube Java specific API
addCharacteristic(DebtCharacteristic) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
 
addChildrenMeasures(String, Integer...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addChildrenMeasures(String, Double...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addChildrenMeasures(String, Long...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addChildrenMeasures(String, String...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addComment(String) - Method in interface org.sonar.api.issue.action.Function.Context
 
addComment(String) - Method in interface org.sonar.api.issue.IssueHandler.Context
 
addComponent(Object) - Method in class org.sonar.api.config.PropertyDefinitions
 
addComponent(Object, String) - Method in class org.sonar.api.config.PropertyDefinitions
 
addComponent(String, Set<Integer>) - Method in class org.sonar.api.issue.NoSonarFilter
addComponents(Collection) - Method in class org.sonar.api.config.PropertyDefinitions
 
addComponents(Collection, String) - Method in class org.sonar.api.config.PropertyDefinitions
 
addContainerExtension(Object) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Adds an extension, which would be available in PicoContainer during analysis of this project.
addContext(String, Object) - Method in class org.sonar.api.utils.log.Profiler
Context information is removed if value is null.
addDays(Date, int) - Static method in class org.sonar.api.utils.DateUtils
 
addDependency(Dependency) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
since 5.2 No more design features. No op.
addDependency(Node) - Method in class org.sonar.api.utils.dag.Node
 
addEnvironmentVariables() - Method in class org.sonar.api.config.Settings
Deprecated.
since 4.4 For embedding purpose all properties should be provided by the bootstrapper
addErrorText(String) - Method in class org.sonar.api.utils.ValidationMessages
 
addFieldsParam(Collection<?>) - Method in class org.sonar.api.server.ws.WebService.NewAction
Creates the parameter WebService.Param.FIELDS, which is used to restrict the number of fields returned in JSON response.
addFlow(Iterable<NewIssueLocation>) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
addFlow(Iterable<NewIssueLocation>) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
Register a flow for this issue.
addFlow(Iterable<NewIssueLocation>) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
 
addFormatParam(WebService.NewAction) - Static method in class org.sonar.api.server.ws.RailsHandler
 
addInfoText(String) - Method in class org.sonar.api.utils.ValidationMessages
 
addInputMeasure(String, int) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addInputMeasure(String, double) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addInputMeasure(String, long) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addInputMeasure(String, boolean) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addInputMeasure(String, String) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addIssue(Issue) - Method in interface org.sonar.api.issue.Issuable
Register an issue created with Issuable.newIssueBuilder().
additionalProperties() - Method in class org.sonar.api.config.License
Get additional properties available on this license (like threshold conditions)
addJsonOnlyFormatParam(WebService.NewAction) - Static method in class org.sonar.api.server.ws.RailsHandler
 
addLanguages(String, String...) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
Adds a language to the list.
addLibrary(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
since 4.5.1 use SonarQube Java specific API
addLocation(NewIssueLocation) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
addLocation(NewIssueLocation) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
Add a secondary location for this issue.
addLocation(NewIssueLocation) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
 
addMaskedArgument(String) - Method in class org.sonar.api.utils.command.Command
 
addMeasure(Resource, Measure) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
Warning: the resource is automatically indexed for backward-compatibility, but it should be explictly indexed before.
addMeasure(String, int) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
Add a new measure of a given metric which measure type will be int
addMeasure(String, double) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
Add a new measure of a given metric which measure type will be double
addMeasure(String, long) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
Add a new measure of a given metric which measure type will be long
addMeasure(String, String) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
Add a new measure of a given metric which measure type will be string
addMeasure(String, boolean) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
Add a new measure of a given metric which measure type will be boolean
addMeasure(String, int) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addMeasure(String, double) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addMeasure(String, long) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addMeasure(String, String) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addMeasure(String, boolean) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
addPagingParams(int) - Method in class org.sonar.api.server.ws.WebService.NewAction
Add predefined parameters related to pagination of results.
addParam(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
 
addProperties(Map<String, String>) - Method in class org.sonar.api.config.Settings
 
addProperties(Properties) - Method in class org.sonar.api.config.Settings
 
addRelations(String, String...) - Method in class org.sonar.api.resources.ResourceTypeTree.Builder
 
addRequirement(DefaultRequirement) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
addResource(Resource) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
since 2.6. Use methods index()
addResource(Resource, Set<Integer>) - Method in class org.sonar.api.checks.NoSonarFilter
Deprecated.
 
addSearchQuery(String, String...) - Method in class org.sonar.api.server.ws.WebService.NewAction
$ Creates the parameter WebService.Param.TEXT_QUERY, which is used to search for a subset of fields containing the supplied string.
The fields must be in the plural form (ex: "names", "keys")
addSelectionModeParam() - Method in class org.sonar.api.server.ws.WebService.NewAction
Add 'selected=(selected|deselected|all)' for select-list oriented WS.
addSortParams(Collection<V>, V, boolean) - Method in class org.sonar.api.server.ws.WebService.NewAction
Add predefined parameters related to sorting of results.
addSourceDir(File) - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
since 2.6 - ProjectFileSystem should be immutable See http://jira.sonarsource.com/browse/SONAR-2126
addSourceDirs(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
addSourceDirs(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
addSourceFiles(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
addSourceFiles(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
addSources(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
addSources(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
addSubCharacteristic(DebtCharacteristic, String) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
 
addSubProject(ProjectDefinition) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
addSystemProperties() - Method in class org.sonar.api.config.Settings
Deprecated.
since 4.4 For embedding purpose all properties should be provided by the bootstrapper
addTags(String...) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
addTestCase(String) - Method in interface org.sonar.api.test.MutableTestPlan
Add a TestCase to this test file.
addTestDir(File) - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
since 2.6 - ProjectFileSystem should be immutable See http://jira.sonarsource.com/browse/SONAR-2126
addTestDirs(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
addTestDirs(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
addTestFiles(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
addTestFiles(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
addTests(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
addTests(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
addType(ResourceType) - Method in class org.sonar.api.resources.ResourceTypeTree.Builder
 
addWarningText(String) - Method in class org.sonar.api.utils.ValidationMessages
 
addWidget(String, int) - Method in class org.sonar.api.web.Dashboard
Add a widget with the given parameters, and return the newly created Dashboard.Widget object if one wants to add parameters to it.
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
 
ADMINISTRATORS - Static variable in class org.sonar.api.security.DefaultGroups
 
after() - Method in class org.sonar.api.utils.internal.JUnitTempFolder
 
after() - Method in class org.sonar.api.utils.log.LogTester
 
age(Locale, long) - Method in interface org.sonar.api.i18n.I18n
Return the distance in time for a duration in milliseconds.
age(Locale, Date, Date) - Method in interface org.sonar.api.i18n.I18n
Return the distance in time between two dates.
ageFromNow(Locale, Date) - Method in interface org.sonar.api.i18n.I18n
Reports the distance in time a date and now.
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() - Method in interface org.sonar.api.batch.fs.FilePredicates
Predicate that always evaluates to true
all() - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
Returns a predicate that always evaluates to true
all() - Method in class org.sonar.api.batch.rule.Checks
 
ALL - Static variable in interface org.sonar.api.issue.DefaultTransitions
 
all() - Static method in class org.sonar.api.measures.MeasuresFilters
 
all() - Method in class org.sonar.api.resources.Languages
 
ALL - Static variable in class org.sonar.api.rule.Severity
All the supported severity values, ordered from Severity.INFO to Severity.BLOCKER.
ALL_ACTIVES - Static variable in class org.sonar.api.user.UserQuery
 
allCharacteristics() - Method in interface org.sonar.api.batch.debt.DebtModel
Deprecated.
Return characteristics and sub-characteristics
allCharacteristics() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
 
allCharacteristics() - Method in interface org.sonar.api.server.debt.DebtModel
Deprecated.
 
allIssues() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
analyse(Project, SensorContext) - Method in class org.sonar.api.batch.AbstractSourceImporter
Deprecated.
 
analyse(ProjectFileSystem, SensorContext) - Method in class org.sonar.api.batch.AbstractSourceImporter
Deprecated.
 
analyse(Project, SensorContext) - Method in interface org.sonar.api.batch.Sensor
The method that is going to be run when the sensor is called
ANALYSIS_MODE - Static variable in interface org.sonar.api.CoreProperties
 
ANALYSIS_MODE_ANALYSIS - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 5.2 the default mode is publish
ANALYSIS_MODE_INCREMENTAL - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 5.2
ANALYSIS_MODE_ISSUES - Static variable in interface org.sonar.api.CoreProperties
 
ANALYSIS_MODE_PREVIEW - Static variable in interface org.sonar.api.CoreProperties
 
ANALYSIS_MODE_PUBLISH - Static variable in interface org.sonar.api.CoreProperties
 
AnalysisMode - Interface in org.sonar.api.batch
Use this component to find the current running mode.
analysisMode() - Method in interface org.sonar.api.batch.postjob.PostJobContext
Get analysis mode.
analysisMode() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
analysisMode() - Method in interface org.sonar.api.batch.sensor.SensorContext
Get analysis mode.
and(Collection<FilePredicate>) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
and(FilePredicate...) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
and(FilePredicate, FilePredicate) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
and(Collection<FilePredicate>) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
and(FilePredicate...) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
and(FilePredicate, FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
andTotal(int) - Method in class org.sonar.api.utils.Paging.Builder
 
AnnotationCheckFactory - Class in org.sonar.api.checks
Deprecated.
since 4.2 use 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
Deprecated.
AnnotationRuleParser() - Constructor for class org.sonar.api.rules.AnnotationRuleParser
Deprecated.
 
AnnotationUtils - Class in org.sonar.api.utils
A utility class for annotations
ANYONE - Static variable in class org.sonar.api.security.DefaultGroups
 
API_ABUSE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic SECURITY
appendProperty(String, String) - Method in class org.sonar.api.config.Settings
 
apply(InputFile) - Method in interface org.sonar.api.batch.fs.FilePredicate
Test if provided file is valid for this predicate
apply(InputFile) - Method in class org.sonar.api.batch.fs.internal.RelativePathPredicate
 
apply(Statement, Description) - Method in class org.sonar.api.utils.internal.JUnitTempFolder
 
ARCHITECTURE_CHANGEABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic CHANGEABILITY
ARCHITECTURE_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic RELIABILITY
as(Class<P>, Resource) - Method in interface org.sonar.api.component.ResourcePerspectives
Deprecated.
 
as(Class<P>, InputPath) - Method in interface org.sonar.api.component.ResourcePerspectives
Deprecated.
Allow to create perspective from InputPath.
ASC - Static variable in class org.sonar.api.web.FilterColumn
 
ASCENDING - Static variable in class org.sonar.api.server.ws.WebService.Param
 
assign(String) - Method in interface org.sonar.api.issue.IssueHandler.Context
Deprecated.
since 3.7.1
assign(User) - Method in interface org.sonar.api.issue.IssueHandler.Context
 
assignee() - Method in interface org.sonar.api.issue.Issue
Login of the user who is assigned to this issue.
at(NewIssueLocation) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
at(TextRange) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
 
at(NewIssueLocation) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
Primary location for this issue.
at(TextRange) - Method in interface org.sonar.api.batch.sensor.issue.NewIssueLocation
Position in the file.
at(NewIssueLocation) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
 
attribute(String, String) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
No more supported from batch side since 5.2
attribute(String) - Method in interface org.sonar.api.issue.Issue
 
attributes() - Method in interface org.sonar.api.issue.Issue
Empty on batch side since version 5.2.
attributes() - Method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
authenticate(String, String) - Method in interface org.sonar.api.security.LoginPasswordAuthenticator
Deprecated.
 
Authenticator - Class in org.sonar.api.security
 
Authenticator() - Constructor for class org.sonar.api.security.Authenticator
 
Authenticator.Context - Class in org.sonar.api.security
 
Authenticator.Context(String, String, HttpServletRequest) - Constructor for class org.sonar.api.security.Authenticator.Context
 
author() - Method in class org.sonar.api.batch.scm.BlameLine
 
author(String) - Method in class org.sonar.api.batch.scm.BlameLine
 
authorLogin() - Method in interface org.sonar.api.issue.Issue
Login of the SCM account that introduced this issue.
AVAILABLE_FOR_FILTERS - Static variable in class org.sonar.api.resources.ResourceTypes
 
availableForFilters() - Method in class org.sonar.api.resources.ResourceType.Builder
Deprecated.
since 3.0. Use ResourceType.Builder.setProperty(String, String) with "supportsMeasureFilters" set to "true".
AverageFormula - Class in org.sonar.api.measures
Deprecated.
since 5.2 decorators are no more executed on batch side

B

baseDir() - Method in interface org.sonar.api.batch.fs.FileSystem
Absolute base directory of module
baseDir() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
baseDir() - Method in interface org.sonar.api.scan.filesystem.ModuleFileSystem
Deprecated.
Base directory.
baseDirPath() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
BaseIdentifiable<G> - Class in org.sonar.api.database
 
BaseIdentifiable() - Constructor for class org.sonar.api.database.BaseIdentifiable
 
BatchComponent - Interface in org.sonar.api
Deprecated.
since 5.2 use BatchSide annotation
BatchExtension - Interface in org.sonar.api
Deprecated.
since 5.2 replaced by BatchSide and ExtensionPoint annotations
BatchSide - Annotation Type in org.sonar.api.batch
Marker annotation for all the components available in container of batch (code analyzer).
before() - Method in class org.sonar.api.utils.internal.JUnitTempFolder
 
before() - Method in class org.sonar.api.utils.log.LogTester
 
begin(String) - Method in class org.sonar.api.utils.text.XmlWriter
 
beginArray() - Method in class org.sonar.api.utils.text.JsonWriter
Begins encoding a new array.
beginObject() - Method in class org.sonar.api.utils.text.JsonWriter
Begins encoding a new object.
BINARIES_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
since 4.5.1 use SonarQube Java specific API
binaryDirs() - Method in interface org.sonar.api.scan.filesystem.ModuleFileSystem
Deprecated.
since 4.2 sonar.binaries will be converted to java specific property
blame(BlameCommand.BlameInput, BlameCommand.BlameOutput) - Method in class org.sonar.api.batch.scm.BlameCommand
Compute blame of the provided files.
BlameCommand - Class in org.sonar.api.batch.scm
This class should be implemented by SCM providers.
BlameCommand() - Constructor for class org.sonar.api.batch.scm.BlameCommand
 
blameCommand() - Method in class org.sonar.api.batch.scm.ScmProvider
 
BlameCommand.BlameInput - Interface in org.sonar.api.batch.scm
Callback for the provider to report results of blame per file.
BlameCommand.BlameOutput - Interface in org.sonar.api.batch.scm
Callback for the provider to report results of blame per file.
BlameLine - Class in org.sonar.api.batch.scm
 
BlameLine() - Constructor for class org.sonar.api.batch.scm.BlameLine
 
blameResult(InputFile, List<BlameLine>) - Method in interface org.sonar.api.batch.scm.BlameCommand.BlameOutput
Add result of the blame command for a single file.
BLOCK_UNIT - Static variable in class org.sonar.api.resources.Scopes
Deprecated.
since 4.3 resources under FILE level are no more be supported since 4.2.
BLOCKER - Static variable in class org.sonar.api.rule.Severity
 
BLOCKER_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
BLOCKER_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
BOOLEAN - Static variable in class org.sonar.api.server.rule.RuleParamType
 
BRANCH_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
build(ProjectBuilder.Context) - Method in class org.sonar.api.batch.bootstrap.ProjectBuilder
Override this method to change project reactor structure.
build(ProjectReactor) - Method in class org.sonar.api.batch.bootstrap.ProjectBuilder
Deprecated.
since 3.7 override ProjectBuilder.build(Context) instead
build() - Method in class org.sonar.api.batch.rule.internal.ActiveRulesBuilder
 
build() - Method in class org.sonar.api.batch.rule.internal.RulesBuilder
 
build() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition.Builder
 
build() - Method in class org.sonar.api.ce.measure.RangeDistributionBuilder
Used to build a measure from the current object
build() - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
 
build() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition.MeasureComputerDefinitionBuilderImpl
 
build() - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
build(String) - Static method in class org.sonar.api.config.PropertyFieldDefinition
 
build() - Method in class org.sonar.api.config.PropertyFieldDefinition.Builder
 
build() - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
 
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
Deprecated.
Shortcut for build(true)
build(boolean) - Method in class org.sonar.api.measures.RangeDistributionBuilder
Deprecated.
Used to build a measure from the current object
build() - Method in class org.sonar.api.platform.NewUserHandler.Context.Builder
 
build() - Method in class org.sonar.api.resources.ResourceType.Builder
Creates an instance of ResourceType based on all information given to the builder.
build() - Method in class org.sonar.api.resources.ResourceTypeTree.Builder
 
build() - Method in interface org.sonar.api.source.Symbolizable.SymbolTableBuilder
 
build() - Method in class org.sonar.api.task.TaskDefinition.Builder
Deprecated.
 
build() - Method in class org.sonar.api.user.UserQuery.Builder
 
BUILD_DIR_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
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
 
buildDir() - Method in interface org.sonar.api.scan.filesystem.ModuleFileSystem
Deprecated.
Optional directory used by the build tool to generate various kinds of data (test reports, temp files, ...).
builder(String) - Static method in class org.sonar.api.config.PropertyDefinition
 
builder() - Static method in class org.sonar.api.platform.NewUserHandler.Context
 
builder(String) - Static method in class org.sonar.api.resources.ResourceType
Creates a new ResourceType.Builder
builder() - Static method in class org.sonar.api.resources.ResourceTypeTree
 
builder() - Static method in class org.sonar.api.task.TaskDefinition
Deprecated.
 
builder() - Static method in class org.sonar.api.user.UserQuery
 

C

calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.AverageFormula
Deprecated.
calculate(FormulaData, FormulaContext) - Method in interface org.sonar.api.measures.Formula
Deprecated.
 
calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.MeanAggregationFormula
Deprecated.
 
calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.SumChildDistributionFormula
Deprecated.
 
calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.SumChildValuesFormula
Deprecated.
 
calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.WeightedMeanAggregationFormula
Deprecated.
 
canonicalPath() - Method in interface org.sonar.api.scan.filesystem.FileSystemFilter.Context
Deprecated.
Absolute file path.
canonicalPath(File) - Static method in class org.sonar.api.utils.PathUtils
Get canonical path and replace file separators by forward slash.
Category - Class in org.sonar.api.config
 
category(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
category() - Method in class org.sonar.api.config.PropertyDefinition
Category where the property appears in settings pages.
CATEGORY_CODE_COVERAGE - Static variable in interface org.sonar.api.CoreProperties
 
CATEGORY_DIFFERENTIAL_VIEWS - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 4.0. See http://jira.sonarsource.com/browse/SONAR-4660. Do not forget to remove the properties from core bundles
CATEGORY_DUPLICATIONS - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 4.0. See http://jira.sonarsource.com/browse/SONAR-4660. Do not forget to remove the properties from core bundles
CATEGORY_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
 
CATEGORY_GENERAL - Static variable in interface org.sonar.api.CoreProperties
 
CATEGORY_JAVA - Static variable in interface org.sonar.api.CoreProperties
 
CATEGORY_L10N - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 4.0. See http://jira.sonarsource.com/browse/SONAR-4660. Do not forget to remove the properties from core bundles
CATEGORY_LICENSES - Static variable in interface org.sonar.api.CoreProperties
 
CATEGORY_SCM - Static variable in interface org.sonar.api.CoreProperties
 
CATEGORY_SECURITY - Static variable in interface org.sonar.api.CoreProperties
 
CATEGORY_TECHNICAL_DEBT - Static variable in interface org.sonar.api.CoreProperties
 
CHANGEABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic CHANGEABILITY
characteristic - Variable in class org.sonar.api.measures.Measure
 
characteristic(Metric, Characteristic) - Static method in class org.sonar.api.measures.MeasuresFilters
 
Characteristic - Interface in org.sonar.api.technicaldebt.batch
Deprecated.
since 4.3
characteristic() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
characteristic() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
 
Characteristic - Interface in org.sonar.api.technicaldebt.server
Deprecated.
since 4.3.
characteristicById(int) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
 
characteristicByKey(String) - Method in interface org.sonar.api.batch.debt.DebtModel
Deprecated.
Return a characteristic or a sub-characteristic by a key
characteristicByKey(String) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
 
characteristicByKey(String) - Method in interface org.sonar.api.server.debt.DebtModel
Deprecated.
Return a characteristic or a sub-characteristic by its key
characteristics() - Method in interface org.sonar.api.batch.debt.DebtModel
Deprecated.
Return only characteristics
characteristics() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
 
characteristics() - Method in interface org.sonar.api.server.debt.DebtModel
Deprecated.
 
charset() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
Chart - Interface in org.sonar.api.charts
Deprecated.
in 4.5.1, replaced by Javascript charts
ChartParameters - Class in org.sonar.api.charts
Deprecated.
in 4.5.1, replaced by Javascript charts
ChartParameters(Map<String, String>) - Constructor for class org.sonar.api.charts.ChartParameters
Deprecated.
Creates a ChartParameter based on a list of parameters
ChartParameters(String) - Constructor for class org.sonar.api.charts.ChartParameters
Deprecated.
Creates a Chartparameter based on a query string with a format key1=value1&key2=value2...
CheckFactory - Class in org.sonar.api.batch.rule
Creates Checks.
CheckFactory(ActiveRules) - Constructor for class org.sonar.api.batch.rule.CheckFactory
 
CheckFactory<C> - Class in org.sonar.api.checks
Deprecated.
since 4.2 use CheckFactory
CheckFactory(RulesProfile, String) - Constructor for class org.sonar.api.checks.CheckFactory
Deprecated.
 
CheckProject - Interface in org.sonar.api.batch
 
Checks<C> - Class in org.sonar.api.batch.rule
Instantiates checks (objects that provide implementation of coding rules) that use sonar-check-api annotations.
children() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
Deprecated.
 
children() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
CLASS - Static variable in class org.sonar.api.resources.Qualifiers
Deprecated.
since 4.2 now java files are considered as regular files. Use Qualifiers.FILE instead.
CLASS_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
Information about the cyclomatic complexity per class, calculated by divided the complexity in classes by the number of classes.
CLASS_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
in 3.0 - see SONAR-3289
CLASS_COMPLEXITY_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
in 3.0 - see SONAR-3289
CLASS_COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
CLASSES - Static variable in class org.sonar.api.measures.CoreMetrics
 
CLASSES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
clean() - Method in class org.sonar.api.utils.internal.DefaultTempFolder
 
clear() - Method in class org.sonar.api.config.Settings
 
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
Deprecated.
Resets all entries to zero
clear() - Method in class org.sonar.api.utils.log.LogTester
 
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
 
CLOSE - Static variable in interface org.sonar.api.issue.DefaultTransitions
 
close(AutoCloseable) - Method in class org.sonar.api.utils.System2
Closes the object and throws an IllegalStateException on error.
close() - Method in class org.sonar.api.utils.text.CsvWriter
 
close() - Method in class org.sonar.api.utils.text.JsonWriter
 
close() - Method in class org.sonar.api.utils.text.XmlWriter
 
closeDate() - Method in interface org.sonar.api.issue.Issue
Date when status was set to Issue.STATUS_CLOSED, else null.
CodeColorizerFormat - Class in org.sonar.api.web
Deprecated.
since 4.5.2 use Highlightable
CodeColorizerFormat(String) - Constructor for class org.sonar.api.web.CodeColorizerFormat
Deprecated.
 
CODEVIEWER - Static variable in annotation type org.sonar.api.web.UserRole
 
coefficient() - Method in class org.sonar.api.batch.debt.DebtRemediationFunction
 
coefficient() - Method in interface org.sonar.api.server.debt.DebtRemediationFunction
coefficient() - Method in class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
 
COLORS - Static variable in class org.sonar.api.charts.AbstractChart
Deprecated.
 
Command - Class in org.sonar.api.utils.command
 
CommandException - Exception in org.sonar.api.utils.command
 
CommandException(Command, String, Throwable) - Constructor for exception org.sonar.api.utils.command.CommandException
 
CommandException(Command, Throwable) - Constructor for exception org.sonar.api.utils.command.CommandException
 
CommandExecutor - Class in org.sonar.api.utils.command
Synchronously execute a native command line.
COMMENT_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMMENT_LINES_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
Information about comments in file.
COMMENT_LINES_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMMENT_LINES_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
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
Deprecated.
since 4.2 - see SONAR-4990
COMMENTED_OUT_CODE_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.2 - see SONAR-4990
comments() - Method in interface org.sonar.api.issue.Issue
Non-null list of comments, ordered by chronological order.
compareTo(OptimizedFilePredicate) - Method in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
 
compareTo(TextPointer) - Method in class org.sonar.api.batch.fs.internal.DefaultTextPointer
 
compareTo(TaskDefinition) - Method in class org.sonar.api.task.TaskDefinition
Deprecated.
 
compareTo(Node) - Method in class org.sonar.api.utils.dag.Node
 
COMPILER_RELATED_PORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic PORTABILITY
COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMPLEXITY_IN_CLASSES - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMPLEXITY_IN_CLASSES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMPLEXITY_IN_FUNCTIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMPLEXITY_IN_FUNCTIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
Component - Interface in org.sonar.api.ce.measure
Component that can be used in a MeasureComputer
Component - Interface in org.sonar.api.component
Deprecated.
since 5.2
Component.FileAttributes - Interface in org.sonar.api.ce.measure
 
Component.Type - Enum in org.sonar.api.ce.measure
 
componentKey() - Method in interface org.sonar.api.batch.postjob.issue.Issue
Component key like foo:src/Foo.php
componentKey() - Method in interface org.sonar.api.issue.Issue
Components are modules ("my_project"), directories ("my_project:my/dir") or files ("my_project:my/file.c").
componentUuid() - Method in interface org.sonar.api.issue.Issue
 
compute(MeasureComputer.MeasureComputerContext) - Method in interface org.sonar.api.ce.measure.MeasureComputer
This method will be called on each component of the projects.
computeLineHashesForIssueTracking(DefaultInputFile, FileMetadata.LineHashConsumer) - Static method in class org.sonar.api.batch.fs.internal.FileMetadata
Compute a MD5 hash of each line of the file after removing of all blank chars
Condition - Interface in org.sonar.api.issue.condition
 
conditions(int, int, int) - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
conditions() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
conditions(int, int, int) - Method in interface org.sonar.api.batch.sensor.coverage.NewCoverage
Call this method as many time as needed to report coverage of conditions.
conditions(String, CoverageType, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
conditions() - Method in class org.sonar.api.issue.action.Action
 
CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
Use CoverageMeasuresBuilder to build measure for this metric.
CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
conditionsByLine() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
 
conditionsByLine() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
conditionsToCover() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
 
CONFIGURATION - Static variable in annotation type org.sonar.api.web.NavigationSection
 
configureColors(Values2D, CategoryPlot, String[]) - Method in class org.sonar.api.charts.AbstractChart
Deprecated.
Helper to set color of series.
CONFIRM - Static variable in interface org.sonar.api.issue.DefaultTransitions
 
CONFIRMED_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
 
CONFIRMED_ISSUES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
CONSTANT_ISSUE - Static variable in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
constantPerIssue(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.DebtRemediationFunctions
 
consume(int, byte[]) - Method in interface org.sonar.api.batch.fs.internal.FileMetadata.LineHashConsumer
 
consumeLine(String) - Method in interface org.sonar.api.utils.command.StreamConsumer
 
consumeLine(String) - Method in class org.sonar.api.utils.command.StringStreamConsumer
 
controller(String) - Method in class org.sonar.api.server.ws.WebService.Context
 
controllers() - Method in class org.sonar.api.server.ws.WebService.Context
 
convertJavaFileKeyFromSquidFormat(String) - Static method in class org.sonar.api.batch.SquidUtils
Deprecated.
since 4.2 JavaFile is deprecated
convertJavaPackageKeyFromSquidFormat(String) - Static method in class org.sonar.api.batch.SquidUtils
Deprecated.
since 4.2 JavaPackage is deprecated
convertToSquidKeyFormat(JavaFile) - Static method in class org.sonar.api.batch.SquidUtils
Deprecated.
since 4.0
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
Deprecated.
since 2.14. See http://jira.sonarsource.com/browse/SONAR-3153. Replaced by CoreProperties.CORE_AUTHENTICATOR_REALM.
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_AUTHENTICATOR_LOCAL_USERS - Static variable in interface org.sonar.api.CoreProperties
 
CORE_AUTHENTICATOR_REALM - Static variable in interface org.sonar.api.CoreProperties
 
CORE_AUTHENTICATOR_UPDATE_USER_ATTRIBUTES - Static variable in interface org.sonar.api.CoreProperties
 
CORE_COVERAGE_PLUGIN_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
replaced in v3.4 by properties specific to languages, for example sonar.java.coveragePlugin See http://jira.sonarsource.com/browse/SONARJAVA-39 for more details.
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_INCLUDED_MODULES_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 4.3. See http://jira.sonarsource.com/browse/SONAR-5109
CORE_PREVENT_AUTOMATIC_PROJECT_CREATION - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
replaced in 5.2 by the permission 'provisioning'
CORE_SKIPPED_MODULES_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 4.3. See http://jira.sonarsource.com/browse/SONAR-5109
CORE_VIOLATION_LOCALE_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
CORE_VIOLATION_LOCALE_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 4.1. See http://jira.sonarsource.com/browse/SONAR-4875
CoreMetrics - Class in org.sonar.api.measures
 
CoreProperties - Interface in org.sonar.api
Non-exhaustive list of constants of core properties.
countCoveredLines() - Method in interface org.sonar.api.test.TestCase
Deprecated.
 
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
countTestCasesOfLine(Integer) - Method in interface org.sonar.api.test.Testable
Deprecated.
 
COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
COVERAGE_LINE_HITS_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
COVERAGE_LINE_HITS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
CoverageAlreadyExistsException - Exception in org.sonar.api.test.exception
 
CoverageAlreadyExistsException(String) - Constructor for exception org.sonar.api.test.exception.CoverageAlreadyExistsException
 
CoverageBlock - Interface in org.sonar.api.test
 
coverageBlock(TestCase) - Method in interface org.sonar.api.test.Testable
Deprecated.
 
coverageBlock(Testable) - Method in interface org.sonar.api.test.TestCase
Deprecated.
 
coverageBlocks() - Method in interface org.sonar.api.test.Testable
Deprecated.
 
coverageBlocks() - Method in interface org.sonar.api.test.TestCase
Deprecated.
 
CoverageExtension - Interface in org.sonar.api.batch
Deprecated.
since 5.2 not used anymore
CoverageMeasuresBuilder - Class in org.sonar.api.measures
Deprecated.
CoverageType - Enum in org.sonar.api.batch.sensor.coverage
Different coverage categories.
COVERED_CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
COVERED_CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
coveredConditions() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
coveredConditions(String, CoverageType, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
coveredConditionsByLine() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
 
coveredConditionsByLine() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
coveredLines() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
CPD_CROSS_PROJECT - Static variable in interface org.sonar.api.CoreProperties
 
CPD_CROSS_RPOJECT_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
CPD_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
 
CPD_MINIMUM_TOKENS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
in 3.1
CPD_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
 
CPD_SKIP_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
in 5.0
CpdMapping - Interface in org.sonar.api.batch
Implement this extension to get Copy/Paste detection for your language.
CPU_EFFICIENCY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic EFFICIENCY
create(Properties) - Static method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
in 2.12, because it uses external object to represent internal state. To ensure backward-compatibility with Ant task this method cannot clone properties, so other callers must explicitly make clone of properties before passing into this method. Thus better to use ProjectDefinition.create() with combination of other methods like ProjectDefinition.setProperties(Properties) and ProjectDefinition.setProperty(String, String).
create() - Static method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
create(DebtRemediationFunction.Type, Duration, Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
 
create(String) - Static method in class org.sonar.api.batch.fs.internal.PathPattern
 
create(String[]) - Static method in class org.sonar.api.batch.fs.internal.PathPattern
 
create(String) - Method in class org.sonar.api.batch.rule.CheckFactory
 
create(RuleKey) - Method in class org.sonar.api.batch.rule.internal.ActiveRulesBuilder
 
create(TextRange, TypeOfText) - Static method in class org.sonar.api.batch.sensor.highlighting.internal.SyntaxHighlightingRule
 
create(File) - Static method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
create(RulesProfile, String, Collection) - Static method in class org.sonar.api.checks.AnnotationCheckFactory
Deprecated.
 
create(String, String) - Static method in class org.sonar.api.config.GlobalPropertyChangeHandler.PropertyChange
 
create(Metric, Metric) - Static method in class org.sonar.api.measures.AverageFormula
Deprecated.
Creates a new AverageFormula class.
create() - Static method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
create() - Method in class org.sonar.api.measures.Metric.Builder
Creates a new metric definition based on the properties set on this metric builder.
create(String, String) - Static method in class org.sonar.api.profiles.RulesProfile
 
create() - Static method in class org.sonar.api.profiles.RulesProfile
 
create(String) - Static method in class org.sonar.api.resources.Directory
Deprecated.
create(String) - Static method in class org.sonar.api.resources.File
create(String, Language, boolean) - Static method in class org.sonar.api.resources.File
create(File, File) - Static method in class org.sonar.api.resources.InputFileUtils
Deprecated.
For internal and for testing purposes.
create(File, String) - Static method in class org.sonar.api.resources.InputFileUtils
Deprecated.
For internal and for testing purposes.
create(File, Collection<File>) - Static method in class org.sonar.api.resources.InputFileUtils
Deprecated.
For internal and for testing purposes.
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(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(String) - Static method in class org.sonar.api.utils.command.Command
Create a command line without any arguments
create() - Static method in class org.sonar.api.utils.command.CommandExecutor
 
create(long) - Static method in class org.sonar.api.utils.Duration
Create a Duration from a number of minutes.
create(long) - Method in class org.sonar.api.utils.Durations
Create a Duration object from a number of minutes
create(int, int, int, int) - Static method in class org.sonar.api.utils.internal.WorkDuration
 
create(Logger) - Static method in class org.sonar.api.utils.log.Profiler
 
create(int, int, int) - Static method in class org.sonar.api.utils.Paging
Deprecated.
since 5.2 please use the forPageIndex(...) builder method
create() - Static method in class org.sonar.api.utils.ValidationMessages
 
create(String) - Static method in class org.sonar.api.utils.WildcardPattern
Creates pattern with "/" as a directory separator.
create(String[]) - Static method in class org.sonar.api.utils.WildcardPattern
Creates array of patterns with "/" as a directory separator.
create(String, String) - Static method in class org.sonar.api.utils.WildcardPattern
Creates pattern with specified separator for directories.
create(Double, String) - Static method in class org.sonar.api.utils.WorkUnit
Deprecated.
 
create() - Static method in class org.sonar.api.utils.WorkUnit
Deprecated.
 
create() - Static method in class org.sonar.api.violations.ViolationQuery
Deprecated.
Creates a new ViolationQuery object.
create(String, String, String, Float, boolean) - Static method in class org.sonar.api.web.Criterion
Creates a new Criterion with a numerical value.
create(String, String, String, String, boolean) - Static method in class org.sonar.api.web.Criterion
Creates a new Criterion with a text value.
create() - Static method in class org.sonar.api.web.Dashboard
Creates a new Dashboard.
create() - Static method in class org.sonar.api.web.Filter
Creates a new Filter.
create(String, String, String, boolean) - Static method in class org.sonar.api.web.FilterColumn
Creates a new FilterColumn.
create(String) - Static method in class org.sonar.api.web.ServletFilter.UrlPattern
 
createAction(String) - Method in class org.sonar.api.server.ws.WebService.NewController
 
createCheck(ActiveRule) - Method in class org.sonar.api.checks.AnnotationCheckFactory
Deprecated.
 
createClassLoader() - Method in class org.sonar.api.batch.ProjectClasspath
Deprecated.
 
createConstantPerIssue(Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
 
createController(String) - Method in class org.sonar.api.server.ws.WebService.Context
Create a new controller.
createDashboard() - Method in class org.sonar.api.web.DashboardTemplate
Returns the Dashboard object that represents the dashboard to use.
createdAt() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
createdAt() - Method in interface org.sonar.api.issue.ActionPlan
 
createdAt() - Method in interface org.sonar.api.issue.IssueComment
 
createdAt() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
createdAt() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
Deprecated.
 
createdAt() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
createdAt() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
createdAt() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
 
createElements() - Method in class org.sonar.api.batch.ProjectClasspath
Deprecated.
 
createFilter() - Method in class org.sonar.api.web.FilterTemplate
Returns the Filter object that represents the filter to use.
createFor(Resource) - Method in interface org.sonar.api.measures.FileLinesContextFactory
createFor(InputFile) - Method in interface org.sonar.api.measures.FileLinesContextFactory
 
createForCategory(Metric, Integer, Double) - Static method in class org.sonar.api.measures.RuleMeasure
Deprecated.
since 2.5. See SONAR-2007.
createForComponent(Object) - Static method in class org.sonar.api.config.Settings
Create empty settings.
createForMetric(String, String, Float, boolean) - Static method in class org.sonar.api.web.Criterion
Creates a new Criterion on a metric, with a numerical value.
createForMetric(String, String, String, boolean) - Static method in class org.sonar.api.web.Criterion
Creates a new Criterion on a metric, with a text value.
createForPriority(Metric, RulePriority, Double) - Static method in class org.sonar.api.measures.RuleMeasure
Deprecated.
 
createForQualifier(Object...) - Static method in class org.sonar.api.web.Criterion
Creates a new Criterion on a qualifier.
createForRule(Metric, Rule, Double) - Static method in class org.sonar.api.measures.RuleMeasure
createForRule(Metric, RuleKey, Double) - Static method in class org.sonar.api.measures.RuleMeasure
Deprecated.
 
createFromMavenIds(String, String, String) - Static method in class org.sonar.api.resources.Library
Deprecated.
 
createFromMavenIds(String, String) - Static method in class org.sonar.api.resources.Project
 
createFromMavenIds(String, String, String) - Static method in class org.sonar.api.resources.Project
 
createFromValueAndUnit(int, WorkDuration.UNIT, int) - Static method in class org.sonar.api.utils.internal.WorkDuration
 
createIfDebug(Logger) - Static method in class org.sonar.api.utils.log.Profiler
 
createIfTrace(Logger) - Static method in class org.sonar.api.utils.log.Profiler
 
createIssuesForRuleRepositories(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
createIssuesForRuleRepositories(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
List rule repositories this Sensor create issues for.
createIssuesForRuleRepository(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
createIssuesForRuleRepository(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
Rule repository this Sensor create issues for.
createLinear(Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
 
createLinearWithOffset(Duration, Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
 
createMain(String) - Static method in class org.sonar.api.component.mock.MockSourceFile
 
createMeasure(double) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
 
createMeasure(int) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
 
createMeasure(long) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
 
createMeasure(String) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
 
createMeasure(boolean) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
 
createMeasures() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
createMethod(String, Language) - Static method in class org.sonar.api.resources.Method
Deprecated.
 
createParam(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
createParam(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
 
createParam(String, String) - Method in class org.sonar.api.server.ws.WebService.NewAction
Deprecated.
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
 
createRepository(String, String) - Method in class org.sonar.api.server.rule.RulesDefinition.Context
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
Deprecated.
 
createResource(File, List<File>) - Method in interface org.sonar.api.batch.CpdMapping
Deprecated.
since 4.2 not used anymore
createRule(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository
 
createRule(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
 
createRules() - Method in class org.sonar.api.rules.RuleRepository
Deprecated.
 
createTempDirectory() - Static method in class org.sonar.api.utils.TempFileUtils
Deprecated.
Create a temporary directory.
createTempDirectory(String) - Static method in class org.sonar.api.utils.TempFileUtils
Deprecated.
 
creationDate() - Method in interface org.sonar.api.issue.Issue
 
Criterion - Class in org.sonar.api.web
Definition of a criterion to be used to narrow down a Filter.
CRITICAL - Static variable in class org.sonar.api.rule.Severity
 
CRITICAL_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
CRITICAL_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
cssClass() - Method in enum org.sonar.api.batch.sensor.highlighting.TypeOfText
For internal use
CsvWriter - Class in org.sonar.api.utils.text
 
CyclicDependenciesException - Exception in org.sonar.api.utils.dag
 
CyclicDependenciesException(String) - Constructor for exception org.sonar.api.utils.dag.CyclicDependenciesException
 

D

Dashboard - Class in org.sonar.api.web
Definition of a dashboard.
Dashboard.Widget - Class in org.sonar.api.web
Note that this class is an inner class to avoid confusion with the extension point org.sonar.api.web.Widget.
DashboardLayout - Enum in org.sonar.api.web
Possible layouts for a dashboard.
DashboardTemplate - Class in org.sonar.api.web
This extension point must be implemented to define a new dashboard.
DashboardTemplate() - Constructor for class org.sonar.api.web.DashboardTemplate
 
data - Variable in class org.sonar.api.measures.Measure
 
DATA_CHANGEABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic CHANGEABILITY
DATA_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic RELIABILITY
DatabaseProperties - Interface in org.sonar.api.database
 
date() - Method in class org.sonar.api.batch.scm.BlameLine
 
date(Date) - Method in class org.sonar.api.batch.scm.BlameLine
 
date - Variable in class org.sonar.api.measures.Measure
 
DATE_FORMAT - Static variable in class org.sonar.api.utils.DateUtils
 
DATETIME_FORMAT - Static variable in class org.sonar.api.utils.DateUtils
 
dateToLong(Date) - Static method in class org.sonar.api.utils.DateUtils
 
DateUtils - Class in org.sonar.api.utils
Parses and formats ISO 8601 dates.
DAY - Static variable in class org.sonar.api.utils.Duration
 
days() - Method in class org.sonar.api.utils.internal.WorkDuration
 
DAYS - Static variable in class org.sonar.api.utils.WorkUnit
Deprecated.
 
deadLine() - Method in interface org.sonar.api.issue.ActionPlan
 
debt() - Method in interface org.sonar.api.ce.measure.Issue
 
debt() - Method in class org.sonar.api.ce.measure.test.TestIssue
 
debt() - Method in interface org.sonar.api.issue.Issue
 
DebtCharacteristic - Interface in org.sonar.api.batch.debt
 
DebtCharacteristic - Interface in org.sonar.api.server.debt
Deprecated.
in 5.2. It will be dropped in version 6.0 (see https://jira.sonarsource.com/browse/SONAR-6393)
DebtModel - Interface in org.sonar.api.batch.debt
Deprecated.
since 5.1 debt model will soon be unavailable on batch side
DebtModel - Interface in org.sonar.api.server.debt
Deprecated.
in 5.2. It will be dropped in version 6.0 (see https://jira.sonarsource.com/browse/SONAR-6393)
DebtRemediationFunction - Class in org.sonar.api.batch.debt
 
debtRemediationFunction() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
 
debtRemediationFunction() - Method in interface org.sonar.api.batch.rule.Rule
Deprecated.
since 5.2 as any computation of data are moved to server's Compute Engine. Calling this method throws an exception.
DebtRemediationFunction - Interface in org.sonar.api.server.debt
Function used to calculate the remediation cost of an issue.
debtRemediationFunction() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
DebtRemediationFunction.Type - Enum in org.sonar.api.batch.debt
 
DebtRemediationFunction.Type - Enum in org.sonar.api.server.debt
 
debtRemediationFunctions() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
debtSubCharacteristic() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
 
debtSubCharacteristic() - Method in interface org.sonar.api.batch.rule.Rule
Deprecated.
since 5.2 as any computation of data are moved to server's Compute Engine. Calling this method throws an exception.
debtSubCharacteristic() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
debug(String) - Method in interface org.sonar.api.utils.log.Logger
Logs a DEBUG message.
debug(String, Object) - Method in interface org.sonar.api.utils.log.Logger
Logs an DEBUG parameterized message according to the specified format and argument.
debug(String, Object, Object) - Method in interface org.sonar.api.utils.log.Logger
Logs an DEBUG parameterized message according to the specified format and arguments.
debug(String, Object...) - Method in interface org.sonar.api.utils.log.Logger
Logs an DEBUG parameterized message according to the specified format and arguments.
declaration() - Method in class org.sonar.api.utils.text.XmlWriter
 
decode(String, int) - Static method in class org.sonar.api.utils.Duration
Create a Duration from a text duration and the number of hours in a day.
decode(String) - Method in class org.sonar.api.utils.Durations
Convert the text to a Duration
Example : decode("9d 10 h") -> Duration.encode("10d2h") (if sonar.technicalDebt.hoursInDay property is set to 8)
Throws IllegalArgumentException
decorate(Resource, DecoratorContext) - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
Deprecated.
decorate(Resource, DecoratorContext) - Method in interface org.sonar.api.batch.Decorator
Deprecated.
 
Decorator - Interface in org.sonar.api.batch
Deprecated.
since 5.2 there's no more decorator on batch side. Use MeasureComputer instead
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
 
DecoratorExecutionHandler - Interface in org.sonar.api.batch.events
Deprecated.
since 5.2 no more decorator
DecoratorExecutionHandler.DecoratorExecutionEvent - Interface in org.sonar.api.batch.events
Deprecated.
This interface is not intended to be implemented by clients.
DecoratorsPhaseHandler - Interface in org.sonar.api.batch.events
Deprecated.
since 5.2 no more decorator
DecoratorsPhaseHandler.DecoratorsPhaseEvent - Interface in org.sonar.api.batch.events
Deprecated.
This interface is not intended to be implemented by clients.
decrypt(String) - Method in class org.sonar.api.config.Encryption
 
DEFAULT_HEIGHT - Static variable in class org.sonar.api.charts.ChartParameters
Deprecated.
 
DEFAULT_ISSUE_ASSIGNEE - Static variable in interface org.sonar.api.CoreProperties
 
DEFAULT_PACKAGE_NAME - Static variable in class org.sonar.api.resources.Java
Deprecated.
Default package name for classes without package def
DEFAULT_PACKAGE_NAME - Static variable in class org.sonar.api.resources.JavaPackage
Deprecated.
 
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.batch.fs.internal.AbstractFilePredicate
 
DEFAULT_PRIORITY - Static variable in class org.sonar.api.rules.Rule
The default priority given to a rule if not explicitly set
DEFAULT_UNIT - Static variable in class org.sonar.api.utils.WorkUnit
Deprecated.
 
DEFAULT_VALUE - Static variable in class org.sonar.api.utils.WorkUnit
Deprecated.
 
DEFAULT_WIDTH - Static variable in class org.sonar.api.charts.ChartParameters
Deprecated.
 
DefaultActiveRule - Class in org.sonar.api.batch.rule.internal
 
DefaultActiveRules - Class in org.sonar.api.batch.rule.internal
 
DefaultActiveRules(Collection<NewActiveRule>) - Constructor for class org.sonar.api.batch.rule.internal.DefaultActiveRules
 
DefaultCharacteristic - Class in org.sonar.api.technicaldebt.batch.internal
Deprecated.
since 4.3
DefaultCharacteristic() - Constructor for class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
DefaultCharacteristic - Class in org.sonar.api.technicaldebt.server.internal
Deprecated.
since 4.3.
DefaultCharacteristic() - Constructor for class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
DefaultCoverage - Class in org.sonar.api.batch.sensor.coverage.internal
 
DefaultCoverage() - Constructor for class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
DefaultCoverage(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
DefaultDebtCharacteristic - Class in org.sonar.api.batch.debt.internal
 
DefaultDebtCharacteristic() - Constructor for class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
DefaultDebtCharacteristic - Class in org.sonar.api.server.debt.internal
 
DefaultDebtCharacteristic() - Constructor for class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
DefaultDebtModel - Class in org.sonar.api.batch.debt.internal
 
DefaultDebtModel() - Constructor for class org.sonar.api.batch.debt.internal.DefaultDebtModel
 
DefaultDebtRemediationFunction - Class in org.sonar.api.server.debt.internal
 
DefaultDebtRemediationFunction(DebtRemediationFunction.Type, String, String) - Constructor for class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
 
DefaultDuplication - Class in org.sonar.api.batch.sensor.duplication.internal
 
DefaultDuplication() - Constructor for class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
 
DefaultDuplication(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
 
DefaultFilePredicates - Class in org.sonar.api.batch.fs.internal
Factory of FilePredicate
DefaultFileSystem - Class in org.sonar.api.batch.fs.internal
 
DefaultFileSystem(Path) - Constructor for class org.sonar.api.batch.fs.internal.DefaultFileSystem
Only for testing
DefaultFileSystem(File) - Constructor for class org.sonar.api.batch.fs.internal.DefaultFileSystem
Only for testing
DefaultFileSystem(File, DefaultFileSystem.Cache) - Constructor for class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
DefaultFileSystem.Cache - Class in org.sonar.api.batch.fs.internal
 
DefaultFileSystem.Cache() - Constructor for class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
 
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
 
DefaultGroups - Class in org.sonar.api.security
Name of the default user groups
DefaultHighlighting - Class in org.sonar.api.batch.sensor.highlighting.internal
 
DefaultHighlighting(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
 
DefaultInputComponent - Class in org.sonar.api.batch.fs.internal
 
DefaultInputComponent() - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputComponent
 
DefaultInputDir - Class in org.sonar.api.batch.fs.internal
 
DefaultInputDir(String, String) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputDir
 
DefaultInputFile - Class in org.sonar.api.batch.fs.internal
 
DefaultInputFile(String, String) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputFile
 
DefaultInputModule - Class in org.sonar.api.batch.fs.internal
 
DefaultInputModule(String) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputModule
 
DefaultIssue - Class in org.sonar.api.batch.sensor.issue.internal
 
DefaultIssue() - Constructor for class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
DefaultIssue(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
DefaultIssueLocation - Class in org.sonar.api.batch.sensor.issue.internal
 
DefaultIssueLocation() - Constructor for class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
 
DefaultMeasure<G extends Serializable> - Class in org.sonar.api.batch.sensor.measure.internal
 
DefaultMeasure() - Constructor for class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
 
DefaultMeasure(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
 
DefaultPostJobDescriptor - Class in org.sonar.api.batch.postjob.internal
 
DefaultPostJobDescriptor() - Constructor for class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
 
DefaultRequirement - Class in org.sonar.api.technicaldebt.batch.internal
Deprecated.
since 4.3
DefaultRequirement() - Constructor for class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
DefaultRule - Class in org.sonar.api.batch.rule.internal
 
DefaultSensorDescriptor - Class in org.sonar.api.batch.sensor.internal
 
DefaultSensorDescriptor() - Constructor for class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
defaultSeverity() - Static method in class org.sonar.api.rule.Severity
 
defaultStatus() - Static method in enum org.sonar.api.rule.RuleStatus
 
DefaultStorable - Class in org.sonar.api.batch.sensor.internal
 
DefaultStorable() - Constructor for class org.sonar.api.batch.sensor.internal.DefaultStorable
 
DefaultStorable(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.internal.DefaultStorable
 
DefaultTab - Annotation Type in org.sonar.api.web
 
DefaultTempFolder - Class in org.sonar.api.utils.internal
 
DefaultTempFolder(File) - Constructor for class org.sonar.api.utils.internal.DefaultTempFolder
 
DefaultTempFolder(File, boolean) - Constructor for class org.sonar.api.utils.internal.DefaultTempFolder
 
DefaultTextPointer - Class in org.sonar.api.batch.fs.internal
 
DefaultTextPointer(int, int) - Constructor for class org.sonar.api.batch.fs.internal.DefaultTextPointer
 
DefaultTextRange - Class in org.sonar.api.batch.fs.internal
 
DefaultTextRange(TextPointer, TextPointer) - Constructor for class org.sonar.api.batch.fs.internal.DefaultTextRange
 
DefaultTransitions - Interface in org.sonar.api.issue
 
defaultValue(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
defaultValue() - Method in class org.sonar.api.config.PropertyDefinition
 
defaultValue() - Method in class org.sonar.api.server.rule.RulesDefinition.Param
 
defaultValue() - Method in class org.sonar.api.server.ws.WebService.Param
 
Definable<T> - Interface in org.sonar.api.server.ws
 
define(MeasureComputer.MeasureComputerDefinitionContext) - Method in interface org.sonar.api.ce.measure.MeasureComputer
Use to define which metrics are required to compute some measures on some given metrics
define(RulesDefinition.Context) - Method in interface org.sonar.api.server.rule.RulesDefinition
This method is executed when server is started.
define(T) - Method in interface org.sonar.api.server.ws.Definable
 
define(WebService.Context) - Method in interface org.sonar.api.server.ws.WebService
Executed once at server startup.
definitions - Variable in class org.sonar.api.config.Settings
 
deliver(Notification, String) - Method in class org.sonar.api.notifications.NotificationChannel
Implements the delivery of the given notification to the given user.
DependedUpon - Annotation Type in org.sonar.api.batch
 
Dependency - Class in org.sonar.api.design
Deprecated.
since 5.2 No more design features
Dependency(Resource, Resource) - Constructor for class org.sonar.api.design.Dependency
Deprecated.
 
DEPENDENCY_MATRIX - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.0 this is an internal metric that should not be accessed by plugins
DEPENDENCY_MATRIX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.0 this is an internal metric that should not be accessed by plugins
DependsUpon - Annotation Type in org.sonar.api.batch
 
dependsUponMetrics() - Method in class org.sonar.api.measures.AverageFormula
Deprecated.
dependsUponMetrics() - Method in interface org.sonar.api.measures.Formula
Deprecated.
 
dependsUponMetrics() - Method in class org.sonar.api.measures.MeanAggregationFormula
Deprecated.
 
dependsUponMetrics() - Method in class org.sonar.api.measures.SumChildDistributionFormula
Deprecated.
 
dependsUponMetrics() - Method in class org.sonar.api.measures.SumChildValuesFormula
Deprecated.
 
dependsUponMetrics() - Method in class org.sonar.api.measures.WeightedMeanAggregationFormula
Deprecated.
 
deprecatedKey(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
deprecatedKey() - Method in class org.sonar.api.config.PropertyDefinition
 
deprecatedKey() - Method in class org.sonar.api.server.ws.WebService.Action
 
deprecatedKey() - Method in class org.sonar.api.server.ws.WebService.Param
 
DEPTH_IN_TREE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.0. See SONAR-4643
DEPTH_IN_TREE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.0. See SONAR-4643
DESC - Static variable in class org.sonar.api.web.FilterColumn
 
describe(PostJobDescriptor) - Method in interface org.sonar.api.batch.postjob.PostJob
Populate PostJobDescriptor of this PostJob.
describe(SensorDescriptor) - Method in interface org.sonar.api.batch.sensor.Sensor
Populate SensorDescriptor of this sensor.
description() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
 
description() - Method in interface org.sonar.api.batch.rule.Rule
 
description() - Method in interface org.sonar.api.batch.rule.RuleParam
 
description(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
description() - Method in class org.sonar.api.config.PropertyDefinition
 
description(String) - Method in class org.sonar.api.config.PropertyFieldDefinition.Builder
 
description() - Method in class org.sonar.api.config.PropertyFieldDefinition
 
description() - Method in interface org.sonar.api.issue.ActionPlan
 
description - Variable in class org.sonar.api.measures.Measure
 
description() - Method in class org.sonar.api.server.rule.RulesDefinition.Param
 
description() - Method in class org.sonar.api.server.ws.WebService.Action
 
description() - Method in class org.sonar.api.server.ws.WebService.Controller
 
description() - Method in class org.sonar.api.server.ws.WebService.Param
 
description(String) - Method in class org.sonar.api.task.TaskDefinition.Builder
Deprecated.
 
description() - Method in class org.sonar.api.task.TaskDefinition
Deprecated.
 
description(URI) - Method in class org.sonar.api.utils.UriReader
Returns a detailed description of the given uri.
description(URI) - Method in class org.sonar.api.utils.UriReader.SchemeProcessor
 
Description - Annotation Type in org.sonar.api.web
 
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
Indicates whether Java bytecode analysis should be skipped.
DESIGN_SKIP_PACKAGE_DESIGN_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
DESIGN_SKIP_PACKAGE_DESIGN_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
Indicates whether Package Design Analysis should be skipped.
DEVELOPMENT_COST - Static variable in interface org.sonar.api.CoreProperties
 
DEVELOPMENT_COST - Static variable in class org.sonar.api.measures.CoreMetrics
 
DEVELOPMENT_COST_DEF_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
DEVELOPMENT_COST_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
dir() - Method in class org.sonar.api.scan.filesystem.PathResolver.RelativePath
 
DirectAcyclicGraph - Class in org.sonar.api.utils.dag
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
DIRECTIONS - Static variable in class org.sonar.api.web.FilterColumn
 
DIRECTORIES - Static variable in class org.sonar.api.measures.CoreMetrics
 
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
DIRECTORY - Static variable in class org.sonar.api.resources.Qualifiers
 
DIRECTORY - Static variable in class org.sonar.api.resources.Scopes
For example directory or Java package.
DIRECTORY_CYCLES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
DIRECTORY_CYCLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
DIRECTORY_EDGES_WEIGHT - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
DIRECTORY_EDGES_WEIGHT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
DIRECTORY_FEEDBACK_EDGES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
DIRECTORY_FEEDBACK_EDGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
DIRECTORY_TANGLE_INDEX - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
DIRECTORY_TANGLE_INDEX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
DIRECTORY_TANGLES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
DIRECTORY_TANGLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
disabledInIssues() - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
 
disabledInIssues() - Method in interface org.sonar.api.batch.postjob.PostJobDescriptor
Should this PostJob be disabled in issues mode.
disabledInIssues() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
disabledInIssues() - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
Should this sensor be disabled in issues mode.
doAdd(InputFile) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
 
doAdd(InputDir) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
 
doAuthenticate(Authenticator.Context) - Method in class org.sonar.api.security.Authenticator
 
doesCover() - Method in interface org.sonar.api.test.TestCase
Deprecated.
 
doesNotMatchPathPattern(String) - Method in interface org.sonar.api.batch.fs.FilePredicates
Predicate that gets the files that do not match the given wildcard pattern.
doesNotMatchPathPattern(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
doesNotMatchPathPatterns(String[]) - Method in interface org.sonar.api.batch.fs.FilePredicates
Predicate that gets the files that do not match any of the given wildcard patterns.
doesNotMatchPathPatterns(String[]) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
doesOverride() - Method in class org.sonar.api.rules.ActiveRule
 
doGetAuthenticator() - Method in class org.sonar.api.security.SecurityRealm
 
doGetGroups(String) - Method in class org.sonar.api.security.ExternalGroupsProvider
doGetGroups(ExternalGroupsProvider.Context) - Method in class org.sonar.api.security.ExternalGroupsProvider
Override this method in order to load user group information.
doGetPattern() - Method in class org.sonar.api.web.ServletFilter
Override to change URL.
doGetUserDetails(String) - Method in class org.sonar.api.security.ExternalUsersProvider
doGetUserDetails(ExternalUsersProvider.Context) - Method in class org.sonar.api.security.ExternalUsersProvider
Override this method in order load user information.
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_INTEGRATION_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_OVERALL_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_SCM - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_SIZE - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_TECHNICAL_DEBT - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
 
done() - Method in interface org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository
 
done() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
 
done() - Method in class org.sonar.api.server.ws.WebService.NewController
Important - this method must be called in order to apply changes and make the controller available in WebService.Context.controllers()
done() - Method in interface org.sonar.api.source.Highlightable.HighlightingBuilder
 
doOnClearProperties() - Method in class org.sonar.api.config.Settings
 
doOnGetProperties(String) - Method in class org.sonar.api.config.Settings
 
doOnNewUser(NewUserHandler.Context) - Method in interface org.sonar.api.platform.NewUserHandler
 
doOnRemoveProperty(String) - Method in class org.sonar.api.config.Settings
 
doOnSetProperty(String, String) - Method in class org.sonar.api.config.Settings
 
doPreloadFiles() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
This method is called before each search of files.
doSave() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
doSave() - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
 
doSave() - Method in class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
 
doSave() - Method in class org.sonar.api.batch.sensor.internal.DefaultStorable
 
doSave() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
doSave() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
 
download(URI) - Method in class org.sonar.api.utils.HttpDownloader
 
download(URI, File) - Method in class org.sonar.api.utils.HttpDownloader
 
downloadPlainText(URI, String) - Method in class org.sonar.api.utils.HttpDownloader
 
DRY_RUN_READ_TIMEOUT_SEC - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
in 4.0 no more used
DUPLICATED_BLOCKS - Static variable in class org.sonar.api.measures.CoreMetrics
 
DUPLICATED_BLOCKS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
DUPLICATED_FILES - Static variable in class org.sonar.api.measures.CoreMetrics
For files: if it contains duplicates, then 1, otherwise 0.
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_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
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
 
DuplicatedSourceException - Exception in org.sonar.api.resources
 
DuplicatedSourceException(Resource) - Constructor for exception org.sonar.api.resources.DuplicatedSourceException
 
duplicates() - Method in interface org.sonar.api.batch.sensor.duplication.Duplication
 
duplicates() - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
 
Duplication - Interface in org.sonar.api.batch.sensor.duplication

A Duplication is a list of duplicated Duplication.Blocks.

Duplication.Block - Class in org.sonar.api.batch.sensor.duplication
 
Duplication.Block(String, int, int) - Constructor for class org.sonar.api.batch.sensor.duplication.Duplication.Block
 
duplications() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
DUPLICATIONS_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.5. Internal storage of duplication is not an API.
DUPLICATIONS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.5. Internal storage of duplication is not an API.
Duration - Class in org.sonar.api.utils
 
durationInMs() - Method in interface org.sonar.api.test.TestCase
Deprecated.
Duration in milliseconds
Durations - Class in org.sonar.api.utils
Used through ruby code
Durations(Settings, I18n) - Constructor for class org.sonar.api.utils.Durations
 
Durations.DurationFormat - Enum in org.sonar.api.utils
 
DYNAMIC_ANALYSIS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 4.3. See http://jira.sonarsource.com/browse/SONAR-5185

E

EFFICIENCY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic EFFICIENCY
effortToFix() - Method in interface org.sonar.api.batch.postjob.issue.Issue
Effort to fix the issue.
effortToFix(Double) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
effortToFix() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
effortToFix() - Method in interface org.sonar.api.batch.sensor.issue.Issue
Effort to fix the issue.
effortToFix(Double) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
Effort to fix the issue.
effortToFix(Double) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
 
effortToFix() - Method in interface org.sonar.api.issue.Issue
Arbitrary distance to threshold for resolving the issue.
effortToFixDescription() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
email() - Method in interface org.sonar.api.user.User
 
EmailMessage - Class in org.sonar.plugins.emailnotifications.api
 
EmailMessage() - Constructor for class org.sonar.plugins.emailnotifications.api.EmailMessage
 
EmailSettings - Class in org.sonar.api.config
If batch extensions use this component, then batch must be executed with administrator rights (see properties sonar.login and sonar.password)
EmailSettings(Settings) - Constructor for class org.sonar.api.config.EmailSettings
 
EmailTemplate - Class in org.sonar.plugins.emailnotifications.api
 
EmailTemplate() - Constructor for class org.sonar.plugins.emailnotifications.api.EmailTemplate
 
encode(int) - Method in class org.sonar.api.utils.Duration
Return the duration in text, by using the given hours in day parameter to process hours.
encode(Duration) - Method in class org.sonar.api.utils.Durations
Return the string value of the Duration.
encoding() - Method in interface org.sonar.api.batch.fs.FileSystem
Default encoding of input files.
encoding() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
ENCODING_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
To determine value of this property use FileSystem.encoding().
encrypt(String) - Method in class org.sonar.api.config.Encryption
 
Encryption - Class in org.sonar.api.config
 
Encryption(String) - Constructor for class org.sonar.api.config.Encryption
 
ENCRYPTION_SECRET_KEY_PATH - Static variable in interface org.sonar.api.CoreProperties
 
end() - Method in class org.sonar.api.batch.fs.internal.DefaultTextRange
 
end() - Method in interface org.sonar.api.batch.fs.TextRange
End position of the range
end() - Method in class org.sonar.api.utils.text.XmlWriter
 
end(String) - Method in class org.sonar.api.utils.text.XmlWriter
END_OF_TIME_MACHINE - Static variable in interface org.sonar.api.batch.DecoratorBarriers
Any kinds of time machine data are calculated before this barrier.
END_OF_VIOLATION_PERSISTENCE - Static variable in interface org.sonar.api.batch.DecoratorBarriers
Deprecated.
in 3.6. Issues are persisted at the end of analysis
END_OF_VIOLATION_TRACKING - Static variable in interface org.sonar.api.batch.DecoratorBarriers
Deprecated.
END_OF_VIOLATIONS_GENERATION - Static variable in interface org.sonar.api.batch.DecoratorBarriers
Deprecated.
in 3.6. Replaced by DecoratorBarriers.ISSUES_ADDED
endArray() - Method in class org.sonar.api.utils.text.JsonWriter
Ends encoding the current array.
endObject() - Method in class org.sonar.api.utils.text.JsonWriter
Ends encoding the current object.
envVariable(String) - Method in class org.sonar.api.utils.System2
envVariables() - Method in class org.sonar.api.utils.System2
Shortcut for System.getenv()
eof() - Method in class org.sonar.api.batch.fs.internal.FileMetadata.CharHandler
 
EQ - Static variable in class org.sonar.api.web.Criterion
 
equals(Object) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
equals(Object) - Method in class org.sonar.api.batch.debt.DebtRemediationFunction
 
equals(Object) - Method in class org.sonar.api.batch.fs.internal.DefaultInputComponent
 
equals(Object) - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
equals(Object) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
equals(Object) - Method in class org.sonar.api.batch.fs.internal.DefaultTextPointer
 
equals(Object) - Method in class org.sonar.api.batch.fs.internal.DefaultTextRange
 
equals(Object) - Method in class org.sonar.api.batch.scm.BlameLine
 
equals(Object) - Method in class org.sonar.api.batch.sensor.duplication.Duplication.Block
 
equals(Object) - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
 
equals(Object) - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
 
equals(Object) - Method in class org.sonar.api.ce.measure.test.TestComponent
 
equals(Object) - Method in class org.sonar.api.component.mock.MockSourceFile
 
equals(Object) - Method in class org.sonar.api.config.Category
 
equals(Object) - Method in class org.sonar.api.database.model.User
 
equals(Object) - Method in class org.sonar.api.design.Dependency
Deprecated.
 
equals(Object) - Method in class org.sonar.api.issue.action.Action
 
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
Deprecated.
 
equals(Object) - Method in class org.sonar.api.notifications.Notification
 
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.resources.AbstractLanguage
 
equals(Object) - Method in class org.sonar.api.resources.Library
Deprecated.
 
equals(Object) - Method in class org.sonar.api.resources.Method
Deprecated.
 
equals(Object) - Method in class org.sonar.api.resources.Resource
 
equals(Object) - Method in class org.sonar.api.resources.ResourceType
 
equals(Object) - Method in class org.sonar.api.rule.RuleKey
 
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.scan.filesystem.FileQuery
Deprecated.
 
equals(Object) - Method in class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
 
equals(Object) - Method in class org.sonar.api.server.rule.RuleParamType
 
equals(Object) - Method in class org.sonar.api.server.rule.RulesDefinition.Param
 
equals(Object) - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
 
equals(Object) - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
equals(Object) - Method in class org.sonar.api.task.TaskDefinition
Deprecated.
 
equals(Object) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
equals(Object) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
equals(Object) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
equals(Object) - Method in class org.sonar.api.utils.dag.Node
 
equals(Object) - Method in class org.sonar.api.utils.Duration
 
equals(Object) - Method in class org.sonar.api.utils.internal.WorkDuration
 
equals(Object) - Method in class org.sonar.api.utils.WorkUnit
Deprecated.
 
equals(Object) - Method in class org.sonar.api.web.CodeColorizerFormat
Deprecated.
 
error(String) - Method in interface org.sonar.api.utils.log.Logger
Logs an ERROR level message.
error(String, Object) - Method in interface org.sonar.api.utils.log.Logger
Logs an ERROR parameterized message according to the specified format and argument.
error(String, Object, Object) - Method in interface org.sonar.api.utils.log.Logger
Logs a ERROR parameterized message according to the specified format and arguments.
error(String, Object...) - Method in interface org.sonar.api.utils.log.Logger
Logs a ERROR parameterized message according to the specified format and arguments.
error(String, Throwable) - Method in interface org.sonar.api.utils.log.Logger
Logs an exception at the ERROR level with an accompanying message.
ERRORS - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic SECURITY
EventHandler - Interface in org.sonar.api.batch.events
Common interface for event handlers.
exampleValue() - Method in class org.sonar.api.server.ws.WebService.Param
 
EXCEPTION_HANDLING - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic RELIABILITY
exclusions() - Method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
execute(Project) - Method in class org.sonar.api.batch.Initializer
 
execute(PostJobContext) - Method in interface org.sonar.api.batch.postjob.PostJob
The actual sensor code.
execute(SensorContext) - Method in interface org.sonar.api.batch.sensor.Sensor
The actual sensor code.
execute(Function.Context) - Method in interface org.sonar.api.issue.action.Function
 
execute() - Method in interface org.sonar.api.task.Task
Deprecated.
 
execute(Command, StreamConsumer, StreamConsumer, long) - Method in class org.sonar.api.utils.command.CommandExecutor
 
execute(Command, long) - Method in class org.sonar.api.utils.command.CommandExecutor
Execute command and display error and output streams in log.
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
 
exportProfile(RulesProfile, Writer) - Method in class org.sonar.api.profiles.ProfileExporter
 
extendedRepositories(String) - Method in class org.sonar.api.server.rule.RulesDefinition.Context
Deprecated.
returns empty list since 5.2. Concept of "extended repository" was misleading and not valuable. Simply declare repositories and use RulesDefinition.Context.repositories(). See http://jira.sonarsource.com/browse/SONAR-6709
extendedRepositories() - Method in class org.sonar.api.server.rule.RulesDefinition.Context
Deprecated.
returns empty list since 5.2. Concept of "extended repository" was misleading and not valuable. Simply declare repositories and use RulesDefinition.Context.repositories(). See http://jira.sonarsource.com/browse/SONAR-6709
extendRepository(String, String) - Method in class org.sonar.api.server.rule.RulesDefinition.Context
Extension - Interface in org.sonar.api
Deprecated.
since 5.2 replaced by ExtensionPoint annotation
ExtensionPoint - Annotation Type in org.sonar.api
Marker annotation for all the interfaces that are extension point (ie can be implemented by plugins and will be called at some point of time by the platform).
ExtensionProvider - Class in org.sonar.api
Factory of extensions.
ExtensionProvider() - Constructor for class org.sonar.api.ExtensionProvider
 
ExternalGroupsProvider - Class in org.sonar.api.security
Note that prefix "do" for names of methods is reserved for future enhancements, thus should not be used in subclasses.
ExternalGroupsProvider() - Constructor for class org.sonar.api.security.ExternalGroupsProvider
 
ExternalGroupsProvider.Context - Class in org.sonar.api.security
 
ExternalGroupsProvider.Context(String, HttpServletRequest) - Constructor for class org.sonar.api.security.ExternalGroupsProvider.Context
 
ExternalUsersProvider - Class in org.sonar.api.security
Note that prefix "do" for names of methods is reserved for future enhancements, thus should not be used in subclasses.
ExternalUsersProvider() - Constructor for class org.sonar.api.security.ExternalUsersProvider
 
ExternalUsersProvider.Context - Class in org.sonar.api.security
 
ExternalUsersProvider.Context(String, HttpServletRequest) - Constructor for class org.sonar.api.security.ExternalUsersProvider.Context
 

F

FACETS - Static variable in class org.sonar.api.server.ws.WebService.Param
 
factor() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
since 4.2
factor() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
since 4.2
factor() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
since 4.2
factor() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.2
factorUnit() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
factorUnit() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
 
factorUnit() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
 
factorUnit() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
factorValue() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
factorValue() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
 
factorValue() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
 
factorValue() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.3
fail(String) - Method in class org.sonar.api.batch.BuildBreaker
Execute this method to fail the build.
FALSE_POSITIVE - Static variable in interface org.sonar.api.issue.DefaultTransitions
 
FALSE_POSITIVE_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
 
FALSE_POSITIVE_ISSUES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
FAULT_TOLERANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic RELIABILITY
FIELD - Static variable in class org.sonar.api.resources.Qualifiers
Deprecated.
since 4.2 resources under FILE level will no more be supported.
FIELD_SEPARATOR - Static variable in class org.sonar.api.utils.KeyValueFormat
 
fields(PropertyFieldDefinition, PropertyFieldDefinition...) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
fields(List<PropertyFieldDefinition>) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
fields() - Method in class org.sonar.api.config.PropertyDefinition
 
FIELDS - Static variable in class org.sonar.api.server.ws.WebService.Param
 
FieldUtils2 - Class in org.sonar.api.utils
Add features missing in org.apache.commons.lang.reflect.FieldUtils
file() - Method in interface org.sonar.api.batch.fs.InputDir
The underlying absolute File
file() - Method in interface org.sonar.api.batch.fs.InputFile
The underlying absolute File
file() - Method in interface org.sonar.api.batch.fs.InputPath
 
file() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
file() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
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(String, String) - Constructor for class org.sonar.api.resources.File
File(Language, String) - Constructor for class org.sonar.api.resources.File
File(Language, String, String) - Constructor for class org.sonar.api.resources.File
Deprecated.
FILE - Static variable in class org.sonar.api.resources.Qualifiers
 
FILE - Static variable in class org.sonar.api.resources.Scopes
For example a Java file.
FILE_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
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
Deprecated.
since 5.2 No more design features
FILE_CYCLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
FILE_EDGES_WEIGHT - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
FILE_EDGES_WEIGHT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
FILE_FEEDBACK_EDGES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
FILE_FEEDBACK_EDGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
FILE_TANGLE_INDEX - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
FILE_TANGLE_INDEX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
FILE_TANGLES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
FILE_TANGLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 No more design features
FileExclusions - Class in org.sonar.api.scan.filesystem
Configuration of file inclusions and exclusions.
FileExclusions(Settings) - Constructor for class org.sonar.api.scan.filesystem.FileExclusions
 
FileLinesContext - Interface in org.sonar.api.measures
Provides facility to store measures for the lines of file.
FileLinesContextFactory - Interface in org.sonar.api.measures
This interface is not intended to be implemented by clients.
FileMetadata - Class in org.sonar.api.batch.fs.internal
Computes hash of files.
FileMetadata() - Constructor for class org.sonar.api.batch.fs.internal.FileMetadata
 
FileMetadata.CharHandler - Class in org.sonar.api.batch.fs.internal
 
FileMetadata.CharHandler() - Constructor for class org.sonar.api.batch.fs.internal.FileMetadata.CharHandler
 
FileMetadata.LineHashConsumer - Interface in org.sonar.api.batch.fs.internal
 
FileMetadata.Metadata - Class in org.sonar.api.batch.fs.internal
 
FilePredicate - Interface in org.sonar.api.batch.fs
Determines if a file must be kept in search results.
FilePredicates - Interface in org.sonar.api.batch.fs
Factory of FilePredicate
FileQuery - Class in org.sonar.api.scan.filesystem
Deprecated.
in 4.2. Replaced by FileSystem and FilePredicate
files(FilePredicate) - Method in interface org.sonar.api.batch.fs.FileSystem
Files matching the given predicate.
files(FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
FILES - Static variable in class org.sonar.api.measures.CoreMetrics
 
files(FileQuery) - Method in interface org.sonar.api.scan.filesystem.ModuleFileSystem
Deprecated.
Search for files.
FILES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
filesToBlame() - Method in interface org.sonar.api.batch.scm.BlameCommand.BlameInput
List of files that should be blamed.
FileSystem - Interface in org.sonar.api.batch.fs
The FileSystem manages all the source files to be analyzed.
fileSystem() - Method in interface org.sonar.api.batch.scm.BlameCommand.BlameInput
Filesystem of the current (sub )project.
fileSystem() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
fileSystem() - Method in interface org.sonar.api.batch.sensor.SensorContext
Get filesystem of the current module.
fileSystem() - Method in interface org.sonar.api.scan.filesystem.FileSystemFilter.Context
Deprecated.
 
FileSystem.Index - Interface in org.sonar.api.batch.fs
Interface of the underlying file index.
FileSystemFilter - Interface in org.sonar.api.scan.filesystem
Deprecated.
since 4.2 use InputFileFilter
FileSystemFilter.Context - Interface in org.sonar.api.scan.filesystem
Deprecated.
Plugins must not implement this interface.
FileType - Enum in org.sonar.api.scan.filesystem
Deprecated.
in 4.2
fillInStackTrace() - Method in exception org.sonar.api.utils.MessageException
Does not fill in the stack trace
filter(Iterable<InputFile>) - Method in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
 
filter(Iterable<InputFile>) - Method in interface org.sonar.api.batch.fs.internal.OptimizedFilePredicate
Filter provided files to keep only the ones that are valid for this predicate
filter(Collection<Measure>) - Method in interface org.sonar.api.measures.MeasuresFilter
 
Filter - Class in org.sonar.api.web
Definition of a filter.
FilterColumn - Class in org.sonar.api.web
Definition of a Filter column.
filterOnMetricKey() - Method in class org.sonar.api.measures.MeasuresFilters.MetricFilter
 
filters() - Method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
FilterTemplate - Class in org.sonar.api.web
This extension point must be implemented to define a new filter.
FilterTemplate() - Constructor for class org.sonar.api.web.FilterTemplate
 
find(RuleKey) - Method in interface org.sonar.api.batch.rule.ActiveRules
Find a ActiveRule by the associated rule key.
find(RuleKey) - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRules
 
find(RuleKey) - Method in interface org.sonar.api.batch.rule.Rules
Get a rule by its key.
find(RuleQuery) - Method in interface org.sonar.api.rules.RuleFinder
Deprecated.
 
find(Map<String, Object>) - Method in interface org.sonar.api.user.RubyUserService
Search for users

Optional parameters are: s to match all the logins or names containing this search query logins, as an array of strings (['simon', 'julien']) or a comma-separated list of logins ('simon,julien') includeDeactivated as a boolean.

find(UserQuery) - Method in interface org.sonar.api.user.UserFinder
Deprecated.
 
findAll(List<String>) - Method in interface org.sonar.api.batch.measure.MetricFinder
 
findAll() - Method in interface org.sonar.api.batch.measure.MetricFinder
 
findAll() - Method in interface org.sonar.api.batch.rule.ActiveRules
All the active rules, whatever their repository and related language.
findAll() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRules
 
findAll() - Method in interface org.sonar.api.batch.rule.Rules
 
findAll(List<String>) - Method in interface org.sonar.api.measures.MetricFinder
Deprecated.
 
findAll() - Method in interface org.sonar.api.measures.MetricFinder
Deprecated.
 
findAll(RuleQuery) - Method in interface org.sonar.api.rules.RuleFinder
Deprecated.
 
findById(int) - Method in interface org.sonar.api.measures.MetricFinder
Deprecated.
 
findById(int) - Method in interface org.sonar.api.rules.RuleFinder
Deprecated.
findById(int) - Method in interface org.sonar.api.security.UserFinder
Deprecated.
 
findByInternalKey(String, String) - Method in interface org.sonar.api.batch.rule.ActiveRules
Find a ActiveRule by the associated internal key.
findByInternalKey(String, String) - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRules
 
findByInternalKey(String, String) - Method in interface org.sonar.api.batch.rule.Rules
 
findByKey(String) - Method in interface org.sonar.api.batch.measure.MetricFinder
 
findByKey(String) - Method in interface org.sonar.api.component.RubyComponentService
 
findByKey(String) - Method in interface org.sonar.api.measures.MetricFinder
Deprecated.
 
findByKey(String, String) - Method in interface org.sonar.api.rules.RuleFinder
Deprecated.
 
findByKey(RuleKey) - Method in interface org.sonar.api.rules.RuleFinder
Deprecated.
 
findByLanguage(String) - Method in interface org.sonar.api.batch.rule.ActiveRules
The active rules for a given language, like java
findByLanguage(String) - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRules
 
findByLogin(String) - Method in interface org.sonar.api.security.UserFinder
Deprecated.
 
findByLogin(String) - Method in interface org.sonar.api.user.RubyUserService
 
findByLogin(String) - Method in interface org.sonar.api.user.UserFinder
Deprecated.
 
findByLogins(List<String>) - Method in interface org.sonar.api.user.UserFinder
Deprecated.
 
findByRepository(String) - Method in interface org.sonar.api.batch.rule.ActiveRules
The active rules for a given repository, like findbugs
findByRepository(String) - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRules
 
findByRepository(String) - Method in interface org.sonar.api.batch.rule.Rules
Get the rules of the given repository.
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 :
FLOAT - Static variable in class org.sonar.api.server.rule.RuleParamType
 
flows() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
flows() - Method in interface org.sonar.api.batch.sensor.issue.Issue
List of flows for this issue.
FONT_SIZE - Static variable in class org.sonar.api.charts.AbstractChart
Deprecated.
 
Footer - Interface in org.sonar.api.web
 
forCssClass(String) - Static method in enum org.sonar.api.batch.sensor.highlighting.TypeOfText
 
format(Locale, Duration, Durations.DurationFormat) - Method in class org.sonar.api.utils.Durations
Return the formatted work duration.
format(Locale, Duration) - Method in class org.sonar.api.utils.Durations
Return the formatted work duration.
format(Map<K, V>, KeyValueFormat.Converter<K>, KeyValueFormat.Converter<V>) - Static method in class org.sonar.api.utils.KeyValueFormat
 
format(Map) - Static method in class org.sonar.api.utils.KeyValueFormat
 
format(Bag, int) - Static method in class org.sonar.api.utils.KeyValueFormat
Deprecated.
use Multiset from google collections instead of commons-collections bags
format(String, Object...) - Method in class org.sonar.api.utils.LocalizedMessages
 
format(Notification) - Method in class org.sonar.plugins.emailnotifications.api.EmailTemplate
 
formatDate(Locale, Date) - Method in interface org.sonar.api.i18n.I18n
Return the formatted date.
formatDate(Date) - Static method in class org.sonar.api.utils.DateUtils
 
formatDateTime(Locale, Date) - Method in interface org.sonar.api.i18n.I18n
Return the formatted datetime.
formatDateTime(Date) - Static method in class org.sonar.api.utils.DateUtils
 
formatDateTimeNullSafe(Date) - Static method in class org.sonar.api.utils.DateUtils
 
formatDouble(Locale, Double) - Method in interface org.sonar.api.i18n.I18n
Return the formatted decimal, with always one fraction digit.
formatDuration(long) - Static method in class org.sonar.api.utils.TimeUtils
Label for a duration, expressed in numbers of ms, seconds or minutes.
formatIntDate(Map<Integer, Date>) - Static method in class org.sonar.api.utils.KeyValueFormat
 
formatIntDateTime(Map<Integer, Date>) - Static method in class org.sonar.api.utils.KeyValueFormat
 
formatIntDouble(Map<Integer, Double>) - Static method in class org.sonar.api.utils.KeyValueFormat
 
formatInteger(Locale, Integer) - Method in interface org.sonar.api.i18n.I18n
Return the formatted integer.
formatIntString(Map<Integer, String>) - Static method in class org.sonar.api.utils.KeyValueFormat
 
formatQuietly(String, Object...) - Method in class org.sonar.api.utils.LocalizedMessages
 
formatStringInt(Map<String, Integer>) - Static method in class org.sonar.api.utils.KeyValueFormat
 
forMetric(Metric<G>) - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
 
forMetric(Metric<G>) - Method in interface org.sonar.api.batch.sensor.measure.NewMeasure
Set the metric this measure belong to.
Formula - Interface in org.sonar.api.measures
Deprecated.
since 5.2 there's no more decorator on batch side, please use MeasureComputer instead
FormulaContext - Interface in org.sonar.api.measures
 
FormulaData - Interface in org.sonar.api.measures
 
forPageIndex(int) - Static method in class org.sonar.api.utils.Paging
 
forResource(Resource) - Method in class org.sonar.api.violations.ViolationQuery
Deprecated.
Specifies the resource which violations are search from.
forRule(RuleKey) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
forRule(RuleKey) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
The RuleKey of the issue.
FROM - Static variable in class org.sonar.api.config.EmailSettings
 
FROM_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
 
fromAbsolutePath(String, List<File>, boolean) - Static method in class org.sonar.api.resources.JavaFile
Deprecated.
 
fromCheckPriority(Priority) - Static method in enum org.sonar.api.rules.RulePriority
Deprecated.
 
fromIOFile(File, Project) - Static method in class org.sonar.api.resources.Directory
Deprecated.
fromIOFile(File, List<File>) - Static method in class org.sonar.api.resources.File
Deprecated.
fromIOFile(File, Project) - Static method in class org.sonar.api.resources.File
fromIOFile(File, Project, boolean) - Static method in class org.sonar.api.resources.JavaFile
Deprecated.
 
fromIOFile(File, List<File>, boolean) - Static method in class org.sonar.api.resources.JavaFile
Deprecated.
 
fromParam(String) - Static method in enum org.sonar.api.server.ws.WebService.SelectionMode
 
fromRelativePath(String, boolean) - Static method in class org.sonar.api.resources.JavaFile
Deprecated.
 
Function - Interface in org.sonar.api.issue.action
 
function() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
function() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
 
function() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
since 4.3. return null
function() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.2
Function.Context - Interface in org.sonar.api.issue.action
 
FUNCTION_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
Information about the cyclomatic complexity per function, calculated by divided the complexity in functions by the number of functions.
FUNCTION_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
 
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
 
FUNCTION_LINEAR - Static variable in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
FUNCTION_LINEAR_WITH_OFFSET - Static variable in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
functions() - Method in class org.sonar.api.issue.action.Action
 
FUNCTIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
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
 
generateImage(ChartParameters) - Method in class org.sonar.api.charts.AbstractChart
Deprecated.
Generates a JFreeChart chart using a set of parameters
generateImage(ChartParameters) - Method in interface org.sonar.api.charts.Chart
Deprecated.
The method to implement to generate the chart
generateRandomSecretKey() - Method in class org.sonar.api.config.Encryption
 
generatesMetrics() - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
Deprecated.
Each metric is used individually.
get() - Method in interface org.sonar.api.batch.bootstrap.ProjectKey
 
get() - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
 
get(FileSystem.Index) - Method in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
 
get(FileSystem.Index) - Method in interface org.sonar.api.batch.fs.internal.OptimizedFilePredicate
Get all files that are valid for this predicate.
get(FileSystem.Index) - Method in class org.sonar.api.batch.fs.internal.RelativePathPredicate
 
get(String) - Method in class org.sonar.api.config.PropertyDefinitions
 
get(String) - Method in class org.sonar.api.resources.Languages
Return a language from the current object based on its key
get(String) - Method in class org.sonar.api.resources.ResourceTypes
 
get(Class<?>) - Static method in class org.sonar.api.utils.log.Loggers
 
get(String) - Static method in class org.sonar.api.utils.log.Loggers
 
getActiveRule(C) - Method in class org.sonar.api.checks.CheckFactory
Deprecated.
 
getActiveRule(String, String) - Method in class org.sonar.api.profiles.RulesProfile
Note: disabled rules are excluded.
getActiveRule(Rule) - Method in class org.sonar.api.profiles.RulesProfile
Note: disabled rules are excluded.
getActiveRule() - Method in class org.sonar.api.rules.ActiveRuleParam
 
getActiveRuleByConfigKey(String, String) - Method in class org.sonar.api.profiles.RulesProfile
Note: disabled rules are excluded.
getActiveRuleParams() - Method in class org.sonar.api.rules.ActiveRule
 
getActiveRules() - Method in class org.sonar.api.profiles.RulesProfile
 
getActiveRules(boolean) - Method in class org.sonar.api.profiles.RulesProfile
 
getActiveRules(RulePriority) - Method in class org.sonar.api.profiles.RulesProfile
Note: disabled rules are excluded.
getActiveRulesByRepository(String) - Method in class org.sonar.api.profiles.RulesProfile
Get the active rules of a specific repository.
getAlertStatus() - Method in class org.sonar.api.measures.Measure
 
getAlertText() - Method in class org.sonar.api.measures.Measure
 
getAll() - Method in class org.sonar.api.config.PropertyDefinitions
 
getAll() - Method in class org.sonar.api.resources.ResourceTypes
 
getAll(Predicate<ResourceType>) - Method in class org.sonar.api.resources.ResourceTypes
 
getAllWithPropertyKey(String) - Method in class org.sonar.api.resources.ResourceTypes
 
getAllWithPropertyValue(String, String) - Method in class org.sonar.api.resources.ResourceTypes
 
getAllWithPropertyValue(String, boolean) - Method in class org.sonar.api.resources.ResourceTypes
 
getAnalysisDate() - Method in class org.sonar.api.resources.Project
 
getAnalysisType() - Method in class org.sonar.api.resources.Project
Deprecated.
since 4.4 Since 4.3 SQ will no more run tests. So basically it's always reuse report.
getAnalysisVersion() - Method in class org.sonar.api.resources.Project
 
getAnnotation(Object, Class<A>) - Static method in class org.sonar.api.utils.AnnotationUtils
Searches for a class annotation.
getArguments() - Method in class org.sonar.api.utils.command.Command
 
getBaseDir() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getBasedir() - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
Project root directory.
getBestValue() - Method in class org.sonar.api.measures.Metric
 
getBinaries() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
since 4.5.1 use SonarQube Java specific API
getBoolean(String) - Method in class org.sonar.api.config.Settings
 
getBooleanProperty(String) - Method in class org.sonar.api.resources.ResourceType
Returns the value of the property for this resource type.
getBooleanValue() - Method in interface org.sonar.api.ce.measure.Measure
The value of this measure as a boolean.
getBooleanValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
 
getBottomLimits() - Method in class org.sonar.api.measures.RangeDistributionBuilder
Deprecated.
Gives the bottom limits of ranges used
getBranch() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getBranch() - Method in interface org.sonar.api.component.Module
 
getBranch() - Method in class org.sonar.api.resources.Project
 
getBuildDir() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getBuildDir() - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
Build directory.
getBuildOutputDir() - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
Directory where classes are placed.
getCardinality() - Method in class org.sonar.api.rules.Rule
Deprecated.
since 4.4, use Rule.isTemplate()
getCategory(String) - Method in class org.sonar.api.config.PropertyDefinitions
 
getCategory(Property) - Method in class org.sonar.api.config.PropertyDefinitions
 
getCharacteristic() - Method in class org.sonar.api.measures.Measure
 
getCharacteristicId() - Method in class org.sonar.api.rules.Rule
Deprecated.
getCharacteristicKey() - Method in class org.sonar.api.rules.Rule
 
getCheck(ActiveRule) - Method in class org.sonar.api.checks.CheckFactory
Deprecated.
 
getChecks() - Method in class org.sonar.api.checks.CheckFactory
Deprecated.
 
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 interface org.sonar.api.batch.SensorContext
 
getChildren(Resource) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
 
getChildren() - Method in interface org.sonar.api.measures.FormulaData
 
getChildren(String) - Method in class org.sonar.api.resources.ResourceTypes
 
getChildren(String) - Method in class org.sonar.api.resources.ResourceTypeTree
 
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(String) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
Returns measures from a given metric on children of the current component.
getChildrenMeasures(String) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
getChildrenMeasures(MeasuresFilter) - Method in interface org.sonar.api.measures.FormulaData
 
getChildrenMeasures(Metric) - Method in interface org.sonar.api.measures.FormulaData
 
getChildrenQualifiers(String) - Method in class org.sonar.api.resources.ResourceTypes
 
getClassAnnotation(Object, Class<A>) - Static method in class org.sonar.api.utils.AnnotationUtils
Deprecated.
getClassloader() - Method in class org.sonar.api.batch.ProjectClasspath
Deprecated.
 
getClearString(String) - Method in class org.sonar.api.config.Settings
Does not decrypt value.
getCode() - Method in enum org.sonar.api.web.DashboardLayout
 
getColorName() - Method in enum org.sonar.api.measures.Metric.Level
 
getColumns() - Method in enum org.sonar.api.web.DashboardLayout
 
getColumns() - Method in class org.sonar.api.web.Filter
Get the list of FilterColumn displayed by this Filter.
getCommand() - Method in exception org.sonar.api.utils.command.CommandException
 
getComponent() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
Returns the current component.
getComponent() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
getConditions() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
getConditionsByLine() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
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
 
getContainerExtensions() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getContextPath() - Method in class org.sonar.api.platform.Server
 
getCoveredConditions() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
getCoveredConditionsByLine() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
getCoveredLines() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
getCreatedAt() - Method in class org.sonar.api.rules.Rule
 
getCreatedAt() - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
getCriteria() - Method in class org.sonar.api.web.Filter
Get the list of Criterion used to narrow down the results of this Filter.
getData() - Method in class org.sonar.api.measures.Measure
 
getDataAsLevel() - Method in class org.sonar.api.measures.Measure
 
getDate(String) - Method in class org.sonar.api.config.Settings
 
getDate() - Method in class org.sonar.api.measures.Measure
 
getDateTime(String) - Method in class org.sonar.api.config.Settings
 
getDeclarationEndOffset() - Method in interface org.sonar.api.source.Symbol
Deprecated.
in 5.2 not used.
getDeclarationStartOffset() - Method in interface org.sonar.api.source.Symbol
Deprecated.
in 5.2 not used.
getDecorator() - Method in interface org.sonar.api.batch.events.DecoratorExecutionHandler.DecoratorExecutionEvent
Deprecated.
 
getDecorators() - Method in interface org.sonar.api.batch.events.DecoratorsPhaseHandler.DecoratorsPhaseEvent
Deprecated.
 
getDefaultCharacteristicId() - Method in class org.sonar.api.rules.Rule
Deprecated.
getDefaultCharacteristicKey() - Method in class org.sonar.api.rules.Rule
 
getDefaultMessage() - Method in class org.sonar.api.notifications.Notification
Returns the default message to display for this notification.
getDefaultProfile() - Method in class org.sonar.api.profiles.RulesProfile
 
getDefaultSubCharacteristicKey() - Method in class org.sonar.api.rules.Rule
 
getDefaultTimeZone() - Method in class org.sonar.api.utils.System2
 
getDefaultValue(String) - Method in class org.sonar.api.config.PropertyDefinitions
 
getDefaultValue(String) - Method in class org.sonar.api.config.Settings
 
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
 
getDefinitions() - Method in class org.sonar.api.config.Settings
 
getDeleteHistoricalData() - Method in class org.sonar.api.measures.Metric
 
getDependencies() - Method in class org.sonar.api.utils.dag.Node
 
getDeployDir() - Method in class org.sonar.api.platform.Server
 
getDeprecatedKey(String) - Method in class org.sonar.api.config.PropertyDefinitions
 
getDescription() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getDescription() - Method in interface org.sonar.api.component.Module
 
getDescription(String, String, Locale) - Method in interface org.sonar.api.i18n.RuleI18n
Deprecated.
since 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
getDescription(String, String) - Method in interface org.sonar.api.i18n.RuleI18n
Deprecated.
Returns the description of the rule identified by its repository key and rule key.
getDescription() - Method in class org.sonar.api.measures.Measure
 
getDescription() - Method in class org.sonar.api.measures.Metric
 
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
Deprecated.
 
getDescription() - Method in class org.sonar.api.resources.JavaPackage
Deprecated.
 
getDescription() - Method in class org.sonar.api.resources.Library
Deprecated.
 
getDescription() - Method in class org.sonar.api.resources.Method
Deprecated.
 
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.web.Dashboard
Returns the description of the dashboard.
getDirection() - Method in class org.sonar.api.measures.Metric
 
getDirectory() - Method in class org.sonar.api.utils.command.Command
 
getDisplayAs() - Method in class org.sonar.api.web.Filter
Get the type of display used by this Filter.
getDocument() - Method in class org.sonar.api.utils.XpathParser
 
getDomain() - Method in class org.sonar.api.measures.Metric
 
getDouble(String) - Method in class org.sonar.api.config.Settings
 
getDoubleValue() - Method in interface org.sonar.api.ce.measure.Measure
The value of this measure as a double.
getDoubleValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
 
getDurationSinceLocked() - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
getEffectiveKey() - Method in class org.sonar.api.resources.Resource
 
getElements() - Method in class org.sonar.api.batch.ProjectClasspath
Deprecated.
bytecode directory + JARs (dependencies)
getElementValue(Node) - Method in class org.sonar.api.utils.XpathParser
 
getEmail() - Method in class org.sonar.api.database.model.User
 
getEmail() - Method in class org.sonar.api.platform.NewUserHandler.Context
 
getEmail() - Method in class org.sonar.api.security.UserDetails
 
getEnabled() - Method in class org.sonar.api.measures.Metric
 
getEncryption() - Method in class org.sonar.api.config.Settings
 
getEnvironmentVariables() - Method in class org.sonar.api.utils.command.Command
Environment variables that are propagated during command execution.
getErrorKey() - Method in class org.sonar.api.config.PropertyDefinition.Result
 
getErrors() - Method in class org.sonar.api.utils.ValidationMessages
 
getExecutable() - Method in class org.sonar.api.utils.command.Command
 
getExpirationDate() - Method in class org.sonar.api.config.License
 
getExpirationDateAsString() - Method in class org.sonar.api.config.License
 
getExtensions(String, String...) - Method in interface org.sonar.api.platform.ServerFileSystem
Deprecated.
since 4.1
getExtensions() - Method in class org.sonar.api.SonarPlugin
Classes of the implemented extensions.
getFamily() - Method in class org.sonar.api.web.Criterion
Get the the criterion's family.
getFamily() - Method in class org.sonar.api.web.FilterColumn
Get the the column's family.
getFields(Class, boolean) - Static method in class org.sonar.api.utils.FieldUtils2
Get accessible Field breaking scope if requested.
getFieldValue(String) - Method in class org.sonar.api.notifications.Notification
Returns the value of a field.
getFile() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
getFile() - Method in interface org.sonar.api.resources.InputFile
Deprecated.
Get the underlying file.
getFileAttributes() - Method in interface org.sonar.api.ce.measure.Component
The attributes of the Component if it's type is File.
getFileAttributes() - Method in class org.sonar.api.ce.measure.test.TestComponent
 
getFileBaseDir() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
getFileBaseDir() - Method in interface org.sonar.api.resources.InputFile
Deprecated.
The source base directory, different than the project basedir.
getFileFromBuildDirectory(String) - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
 
getFileSuffixes() - Method in class org.sonar.api.resources.Java
Deprecated.
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
Deprecated.
since 3.5 use FileSystem instead
getFloat(String) - Method in class org.sonar.api.config.Settings
 
getFormula() - Method in class org.sonar.api.measures.Metric
Deprecated.
since 5.2 there's no more decorator on batch side, please use MeasureComputer instead
getFrom() - Method in class org.sonar.api.config.EmailSettings
 
getFrom() - Method in class org.sonar.api.design.Dependency
Deprecated.
 
getFrom() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
getFullyQualifiedName() - Method in interface org.sonar.api.source.Symbol
Deprecated.
in 4.3 not used.
getGroupsProvider() - Method in class org.sonar.api.security.SecurityRealm
 
getHeader(String) - Method in interface org.sonar.api.server.ws.Response
 
getHeaderNames() - Method in interface org.sonar.api.server.ws.Response
 
getHeight() - Method in class org.sonar.api.charts.ChartParameters
Deprecated.
Get the chart height
getHitsByLine() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
getHomeDir() - Method in interface org.sonar.api.platform.ServerFileSystem
 
getHtml() - Method in interface org.sonar.api.web.Footer
Static HTML (no Ruby on Rails)
getIconPath() - Method in class org.sonar.api.resources.ResourceType
Returns the relative path of the icon used to represent the resource type
getId() - Method in class org.sonar.api.database.BaseIdentifiable
 
getId() - Method in class org.sonar.api.design.Dependency
Deprecated.
 
getId() - Method in class org.sonar.api.measures.Metric
For internal use only
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.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.rules.RuleParam
 
getId() - Method in class org.sonar.api.web.AbstractDashboardWidget
Deprecated.
 
getId() - Method in class org.sonar.api.web.Dashboard.Widget
Returns the identifier of this widget.
getId() - Method in interface org.sonar.api.web.View
 
getId() - Method in interface org.sonar.api.web.Webservice
Deprecated.
 
getInfos() - Method in class org.sonar.api.utils.ValidationMessages
 
getInheritance() - Method in class org.sonar.api.rules.ActiveRule
For internal use only.
getInitialDbVersion() - Method in interface org.sonar.api.platform.ServerUpgradeStatus
The database version before the server startup.
getInitializer() - Method in interface org.sonar.api.batch.events.InitializerExecutionHandler.InitializerExecutionEvent
 
getInitializers() - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler.InitializersPhaseEvent
 
getInputMetrics() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition
Return the metric keys that can be read using MeasureComputer.MeasureComputerContext.
getInputMetrics() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition
 
getInputStream() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
getInputStream() - Method in interface org.sonar.api.resources.InputFile
Deprecated.
Get an InputStream that reads from the file.
getInt(String) - Method in class org.sonar.api.config.Settings
 
getIntValue() - Method in interface org.sonar.api.ce.measure.Measure
The value of this measure as a integer.
getIntValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
 
getIntValue(String, int) - Method in interface org.sonar.api.measures.FileLinesContext
Deprecated.
since 5.0 sensors should not read data
getIntValue() - Method in class org.sonar.api.measures.Measure
 
getIssues() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
Return list of all issues (open, closed, etc.) of current component.
getIssues() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
getJavaSourceFiles() - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
since 2.6 use ProjectFileSystem.mainFiles(String...) instead. See http://jira.sonarsource.com/browse/SONAR-2126
getKey() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getKey() - Method in interface org.sonar.api.ce.measure.Component
 
getKey() - Method in class org.sonar.api.ce.measure.test.TestComponent
 
getKey() - Method in interface org.sonar.api.charts.Chart
Deprecated.
 
getKey() - Method in class org.sonar.api.config.GlobalPropertyChangeHandler.PropertyChange
 
getKey() - Method in class org.sonar.api.measures.Metric
 
getKey() - Method in class org.sonar.api.notifications.NotificationChannel
Returns the unique key of this channel.
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.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.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
Deprecated.
 
getKey() - Method in class org.sonar.api.web.Criterion
Get the the criterion's key.
getKey() - Method in class org.sonar.api.web.FilterColumn
Get the the column's key.
getKeys() - Method in class org.sonar.api.utils.LocalizedMessages
 
getKeysStartingWith(String) - Method in class org.sonar.api.config.Settings
 
getKeyWithBranch() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getLanguage() - Method in class org.sonar.api.batch.AbstractSourceImporter
Deprecated.
 
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
Deprecated.
 
getLanguage() - Method in class org.sonar.api.resources.JavaPackage
Deprecated.
 
getLanguage() - Method in class org.sonar.api.resources.Library
Deprecated.
 
getLanguage() - Method in class org.sonar.api.resources.Method
Deprecated.
 
getLanguage() - Method in class org.sonar.api.resources.Project
Deprecated.
getLanguage() - Method in class org.sonar.api.resources.Resource
Deprecated.
since 5.1 use Resource.language()
getLanguage() - Method in class org.sonar.api.rules.Rule
 
getLanguage() - Method in class org.sonar.api.rules.RuleRepository
Deprecated.
 
getLanguageKey() - Method in interface org.sonar.api.ce.measure.Component.FileAttributes
 
getLanguageKey() - Method in class org.sonar.api.ce.measure.test.TestComponent.FileAttributesImpl
 
getLanguageKey() - Method in class org.sonar.api.resources.Project
Deprecated.
getLanguageKey() - Method in class org.sonar.api.web.CodeColorizerFormat
Deprecated.
 
getLayout() - Method in class org.sonar.api.web.Dashboard
Returns the layout.
getLeaves() - Method in class org.sonar.api.resources.ResourceTypeTree
 
getLeavesQualifiers(String) - Method in class org.sonar.api.resources.ResourceTypes
 
getLevel() - Method in interface org.sonar.api.utils.log.Logger
 
getLevel() - Method in class org.sonar.api.utils.log.Loggers
 
getLibraries() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
since 4.5.1 use SonarQube Java specific API
getLinesToCover() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
getLocale() - Method in class org.sonar.api.charts.ChartParameters
Deprecated.
Get the Locale
getLocale() - Method in class org.sonar.api.utils.LocalizedMessages
 
getLockedAt() - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
getLogger() - Method in class org.sonar.api.utils.TimeProfiler
Deprecated.
 
getLogin() - Method in class org.sonar.api.database.model.User
 
getLogin() - Method in class org.sonar.api.platform.NewUserHandler.Context
 
getLoginPasswordAuthenticator() - Method in class org.sonar.api.security.SecurityRealm
Deprecated.
replaced by doGetAuthenticator in version 3.1
getLong(String) - Method in class org.sonar.api.config.Settings
 
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
Deprecated.
 
getLongName() - Method in class org.sonar.api.resources.JavaPackage
Deprecated.
 
getLongName() - Method in class org.sonar.api.resources.Library
Deprecated.
 
getLongName() - Method in class org.sonar.api.resources.Method
Deprecated.
 
getLongName() - Method in class org.sonar.api.resources.Project
 
getLongName() - Method in class org.sonar.api.resources.Resource
 
getLongValue() - Method in interface org.sonar.api.ce.measure.Measure
The value of this measure as a long.
getLongValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
 
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<G>) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
since 5.1 Sensors should not read but only save data
getMeasure(Resource, Metric<G>) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
since 5.1 Sensors should not read but only save data
getMeasure(Resource, Metric<?>) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
 
getMeasure(String) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
Returns the measure from a given metric on the current component.
getMeasure(String) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
getMeasure(Metric) - Method in interface org.sonar.api.measures.FormulaData
 
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
Deprecated.
since 5.1 Sensors should not read but only save data
getMeasures(Resource, MeasuresFilter<M>) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
since 5.1 Sensors should not read but only save data
getMeasures(Resource, MeasuresFilter<M>) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
 
getMeasures(MeasuresFilter<M>) - Method in interface org.sonar.api.measures.FormulaData
 
getMediaType() - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
getMediaType() - Method in class org.sonar.api.server.ws.Request
Returns the requested MIME type, or "application/octet-stream" if not specified.
getMessage() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
getMessageId() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
getMetric(String) - Static method in class org.sonar.api.measures.CoreMetrics
 
getMetric() - Method in class org.sonar.api.measures.Measure
 
getMetric() - Method in class org.sonar.api.measures.PropertiesBuilder
 
getMetricKey() - Method in class org.sonar.api.measures.Measure
 
getMetrics() - Static method in class org.sonar.api.measures.CoreMetrics
 
getMetrics() - Method in interface org.sonar.api.measures.Metrics
 
getMimeType() - Method in class org.sonar.api.profiles.ProfileExporter
 
getMinimumScopeToPersist() - Method in class org.sonar.api.measures.SumChildDistributionFormula
Deprecated.
 
getModules() - Method in class org.sonar.api.resources.Project
 
getName() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getName() - Method in class org.sonar.api.database.model.User
 
getName(String, String, Locale) - Method in interface org.sonar.api.i18n.RuleI18n
Deprecated.
since 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
getName(String, String) - Method in interface org.sonar.api.i18n.RuleI18n
Deprecated.
Returns the name of the rule identified by its repository key and rule key.
getName(Rule, Locale) - Method in interface org.sonar.api.i18n.RuleI18n
Deprecated.
since 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
getName(Rule) - Method in interface org.sonar.api.i18n.RuleI18n
Deprecated.
Returns the name of the rule.
getName() - Method in class org.sonar.api.measures.Metric
 
getName() - Method in class org.sonar.api.platform.NewUserHandler.Context
 
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.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
Deprecated.
 
getName() - Method in class org.sonar.api.resources.JavaPackage
Deprecated.
 
getName() - Method in interface org.sonar.api.resources.Language
For example "Java"
getName() - Method in class org.sonar.api.resources.Library
Deprecated.
 
getName() - Method in class org.sonar.api.resources.Method
Deprecated.
 
getName() - Method in class org.sonar.api.resources.Project
 
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
Deprecated.
 
getName(boolean) - Method in class org.sonar.api.rules.RuleRepository
Deprecated.
 
getName() - Method in class org.sonar.api.security.SecurityRealm
 
getName() - Method in class org.sonar.api.security.UserDetails
 
getName() - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
getName() - Method in class org.sonar.api.web.DashboardTemplate
Dashboard name
getName() - Method in class org.sonar.api.web.FilterTemplate
Filter name
getNewKey(String) - Method in class org.sonar.api.config.PropertyDefinitions
 
getNewValue() - Method in class org.sonar.api.config.GlobalPropertyChangeHandler.PropertyChange
 
getNoteCreatedAt() - Method in class org.sonar.api.rules.ActiveRule
Deprecated.
in 4.4. Feature dropped.
getNoteData() - Method in class org.sonar.api.rules.ActiveRule
Deprecated.
in 4.4. Feature dropped.
getNoteUpdatedAt() - Method in class org.sonar.api.rules.ActiveRule
Deprecated.
in 4.4. Feature dropped.
getNoteUserLogin() - Method in class org.sonar.api.rules.ActiveRule
Deprecated.
in 4.4. Feature dropped.
getObject() - Method in class org.sonar.api.utils.dag.Node
 
getOperator() - Method in class org.sonar.api.web.Criterion
Get the the criterion's operator.
getOrganization() - Method in class org.sonar.api.config.License
 
getOutput() - Method in class org.sonar.api.utils.command.StringStreamConsumer
 
getOutputMetrics() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition
Return the metric keys that can be create using MeasureComputer.MeasureComputerContext.
getOutputMetrics() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition
 
getPageSize() - Method in class org.sonar.api.web.Filter
Get the size of a page displayed this Filter.
getParam(String) - Method in class org.sonar.api.rules.Rule
 
getParamDescription(String, String, String, Locale) - Method in interface org.sonar.api.i18n.RuleI18n
Deprecated.
since 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
getParamDescription(String, String, String) - Method in interface org.sonar.api.i18n.RuleI18n
Deprecated.
Returns the name of the rule parameter identified by the rules's key and repository key, and by the parameter key.
getParameter(String) - Method in class org.sonar.api.rules.ActiveRule
 
getParamKey() - Method in class org.sonar.api.rules.ActiveRuleParam
 
getParams() - Method in class org.sonar.api.rules.Rule
 
getParent() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getParent(Resource) - Method in interface org.sonar.api.batch.SensorContext
 
getParent(Resource) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
 
getParent() - Method in class org.sonar.api.design.Dependency
Deprecated.
 
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 files, directories and projects.
getParent() - Method in class org.sonar.api.resources.JavaFile
Deprecated.
 
getParent() - Method in class org.sonar.api.resources.JavaPackage
Deprecated.
 
getParent() - Method in class org.sonar.api.resources.Library
Deprecated.
 
getParent() - Method in class org.sonar.api.resources.Method
Deprecated.
 
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 files, directories and projects.
getParent() - Method in class org.sonar.api.rules.Rule
Deprecated.
since 4.4, use Rule.getTemplate()
getParentName() - Method in class org.sonar.api.profiles.RulesProfile
For internal use only.
getPassword() - Method in class org.sonar.api.security.Authenticator.Context
Password can be null, for example when using CAS.
getPath() - Method in class org.sonar.api.resources.Resource
 
getPermanentServerId() - Method in class org.sonar.api.platform.Server
 
getPersistenceMode() - Method in class org.sonar.api.measures.Measure
Gets the persistence mode of the measure.
getPersonId() - Method in class org.sonar.api.measures.Measure
 
getPlot(ChartParameters) - Method in class org.sonar.api.charts.AbstractChart
Deprecated.
 
getPluginName() - Method in class org.sonar.api.rules.ActiveRule
Deprecated.
since 2.3 use ActiveRule.getRepositoryKey() instead
getPostJob() - Method in interface org.sonar.api.batch.events.PostJobExecutionHandler.PostJobExecutionEvent
 
getPostJobs() - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler.PostJobsPhaseEvent
 
getPrefix() - Method in class org.sonar.api.config.EmailSettings
 
getPriority() - Method in class org.sonar.api.rules.ActiveRule
Deprecated.
since 2.5 use ActiveRule.getSeverity() instead. See http://jira.sonarsource.com/browse/SONAR-1829
getProduct() - Method in class org.sonar.api.config.License
 
getProject(String) - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
 
getProject() - Method in interface org.sonar.api.batch.DecoratorContext
 
getProject() - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler.ProjectAnalysisEvent
 
getProject() - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
 
getProjects() - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
 
getProperties() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
getProperties() - Method in class org.sonar.api.config.Settings
 
getProperties() - Method in class org.sonar.api.web.Dashboard.Widget
Returns the properties of this widget.
getProperty(String) - Method in class org.sonar.api.web.Dashboard.Widget
 
getPropertyKey() - Method in class org.sonar.api.issue.condition.HasIssuePropertyCondition
 
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
 
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
Deprecated.
 
getQualifier() - Method in class org.sonar.api.resources.JavaPackage
Deprecated.
 
getQualifier() - Method in class org.sonar.api.resources.Library
Deprecated.
 
getQualifier() - Method in class org.sonar.api.resources.Method
Deprecated.
 
getQualifier() - Method in class org.sonar.api.resources.Project
 
getQualifier() - Method in class org.sonar.api.resources.Resource
The qualifier tells the type of the resource.
getQualifier() - Method in class org.sonar.api.resources.ResourceType
Qualifier is the unique key.
getQualitative() - Method in class org.sonar.api.measures.Metric
 
getRelativeDirectory(InputFile) - Static method in class org.sonar.api.resources.InputFileUtils
Deprecated.
Extract the directory from relative path.
getRelativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
getRelativePath() - Method in interface org.sonar.api.resources.InputFile
Deprecated.
Path relative to basedir.
getReportOutputDir() - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
 
getRepositoryKey() - Method in class org.sonar.api.checks.CheckFactory
Deprecated.
 
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
 
getRequest() - Method in class org.sonar.api.security.Authenticator.Context
 
getRequest() - Method in class org.sonar.api.security.ExternalGroupsProvider.Context
 
getRequest() - Method in class org.sonar.api.security.ExternalUsersProvider.Context
 
getRequirement() - Method in class org.sonar.api.measures.Measure
Deprecated.
since 4.3.
getResource() - Method in interface org.sonar.api.batch.DecoratorContext
 
getResource() - Method in class org.sonar.api.batch.DefaultFormulaContext
 
getResource(R) - Method in interface org.sonar.api.batch.SensorContext
Search for an indexed resource.
getResource(InputPath) - Method in interface org.sonar.api.batch.SensorContext
Allow to get Resource corresponding to provided InputPath.
getResource(R) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
Search for an indexed resource.
getResource() - Method in interface org.sonar.api.measures.FormulaContext
 
getResource() - Method in class org.sonar.api.violations.ViolationQuery
Deprecated.
Returns the resource which violations are search from.
getResources() - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
 
getResponseCode() - Method in exception org.sonar.api.utils.HttpDownloader.HttpException
 
getResponseContent() - Method in exception org.sonar.api.utils.HttpDownloader.HttpException
 
getRoot() - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
 
getRoot() - Method in class org.sonar.api.resources.Project
 
getRoot(String) - Method in class org.sonar.api.resources.ResourceTypes
 
getRoot() - Method in class org.sonar.api.utils.XpathParser
 
getRootDir() - Method in class org.sonar.api.platform.Server
 
getRoots() - Method in class org.sonar.api.resources.ResourceTypes
 
getRootType() - Method in class org.sonar.api.resources.ResourceTypeTree
 
getRule() - Method in class org.sonar.api.measures.RuleMeasure
Deprecated.
since 4.4 use RuleMeasure.ruleKey()
getRule() - Method in class org.sonar.api.rules.ActiveRule
 
getRule() - Method in class org.sonar.api.rules.RuleParam
 
getRuleKey() - Method in class org.sonar.api.rules.ActiveRule
 
getRuleKey(Class) - Static method in class org.sonar.api.rules.RuleAnnotationUtils
 
getRuleParam() - Method in class org.sonar.api.rules.ActiveRuleParam
 
getRulePriority() - Method in class org.sonar.api.measures.RuleMeasure
Deprecated.
since 2.14 use RuleMeasure.getSeverity() instead. See SONAR-1829.
getRulesProfile() - Method in class org.sonar.api.rules.ActiveRule
 
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
Deprecated.
 
getScope() - Method in class org.sonar.api.resources.JavaPackage
Deprecated.
 
getScope() - Method in class org.sonar.api.resources.Library
Deprecated.
 
getScope() - Method in class org.sonar.api.resources.Method
Deprecated.
 
getScope() - Method in class org.sonar.api.resources.Project
 
getScope() - Method in class org.sonar.api.resources.Resource
 
getSecureConnection() - Method in class org.sonar.api.config.EmailSettings
 
getSensor() - Method in interface org.sonar.api.batch.events.SensorExecutionHandler.SensorExecutionEvent
 
getSensors() - Method in interface org.sonar.api.batch.events.SensorsPhaseHandler.SensorsPhaseEvent
 
getServer() - Method in class org.sonar.api.config.License
 
getServerBaseURL() - Method in class org.sonar.api.config.EmailSettings
 
getSettings() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
Returns settings of the current component.
getSettings() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
getSettings() - Method in class org.sonar.api.resources.Project
Deprecated.
since 5.0
getSeverity() - Method in class org.sonar.api.measures.RuleMeasure
Deprecated.
 
getSeverity() - Method in class org.sonar.api.rules.ActiveRule
 
getSeverity() - Method in class org.sonar.api.rules.Rule
 
getSmtpHost() - Method in class org.sonar.api.config.EmailSettings
 
getSmtpPassword() - Method in class org.sonar.api.config.EmailSettings
 
getSmtpPort() - Method in class org.sonar.api.config.EmailSettings
 
getSmtpUsername() - Method in class org.sonar.api.config.EmailSettings
 
getSonarWorkingDirectory() - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
 
getSortDirection() - Method in class org.sonar.api.web.FilterColumn
Get the the column's sort direction.
getSource(Resource) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
since 5.0 sources are no more stored in SQ as a single blob. Use InputFile.file() to read file content from disk.
getSourceCharset() - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
Source encoding.
getSourceDirs() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
getSourceDirs() - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
The list of existing directories with sources
getSourceFiles() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
getSourceFiles(Language...) - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
since 2.6 use ProjectFileSystem.mainFiles(String...) instead. See http://jira.sonarsource.com/browse/SONAR-2126
getStartedAt() - Method in class org.sonar.api.platform.Server
 
getStatus() - Method in class org.sonar.api.rules.Rule
 
getString(String) - Method in interface org.sonar.api.ce.measure.Settings
Returns the property as a string Matching on key is case sensitive
getString(String) - Method in class org.sonar.api.ce.measure.test.TestSettings
 
getString(String) - Method in class org.sonar.api.config.Settings
 
getStringArray(String) - Method in interface org.sonar.api.ce.measure.Settings
Returns the property as a an array Returns an empty array if no property is found for this key Matching on key is case sensitive
getStringArray(String) - Method in class org.sonar.api.ce.measure.test.TestSettings
 
getStringArray(String) - Method in class org.sonar.api.config.Settings
Value is split by comma and trimmed.
getStringArrayBySeparator(String, String) - Method in class org.sonar.api.config.Settings
Value is splitted and trimmed.
getStringLines(String) - Method in class org.sonar.api.config.Settings
Value is split by carriage returns.
getStringProperty(String) - Method in class org.sonar.api.resources.ResourceType
Returns the value of the property for this resource type.
getStringValue() - Method in interface org.sonar.api.ce.measure.Measure
The value of this measure as a string.
getStringValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
 
getStringValue(String, int) - Method in interface org.sonar.api.measures.FileLinesContext
Deprecated.
since 5.0 sensors should not read data
getSubCategory(String) - Method in class org.sonar.api.config.PropertyDefinitions
 
getSubCharacteristicKey() - Method in class org.sonar.api.rules.Rule
 
getSubject() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
getSubProjects() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
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
 
getSupportedSchemes() - Method in class org.sonar.api.utils.UriReader.SchemeProcessor
 
getSwitchMode() - Method in class org.sonar.api.violations.ViolationQuery
Deprecated.
 
getSyntaxHighlightingRuleSet() - Method in class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
 
getSystemTags() - Method in class org.sonar.api.rules.Rule
For internal use
getTags() - Method in class org.sonar.api.rules.Rule
For definition of rule only
getTargetMetric() - Method in class org.sonar.api.batch.DefaultFormulaContext
 
getTargetMetric() - Method in interface org.sonar.api.measures.FormulaContext
 
getTempDir() - Method in interface org.sonar.api.platform.ServerFileSystem
 
getTemplate() - Method in class org.sonar.api.rules.Rule
 
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
Deprecated.
 
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.measures.Measure
Deprecated.
since 5.2. See https://jira.sonarsource.com/browse/SONAR-6392
getTestDirs() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
getTestDirs() - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
The list of existing directories with tests
getTestFiles() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
getTestFiles(Language...) - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
since 2.6 use ProjectFileSystem.testFiles(String...) instead. See http://jira.sonarsource.com/browse/SONAR-2126
getTextType() - Method in class org.sonar.api.batch.sensor.highlighting.internal.SyntaxHighlightingRule
 
getTextValue() - Method in class org.sonar.api.web.Criterion
Get the the criterion's value as text.
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.design.Dependency
Deprecated.
 
getTo() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
getTokenizer() - Method in interface org.sonar.api.batch.CpdMapping
 
getTokenizers() - Method in class org.sonar.api.web.CodeColorizerFormat
Deprecated.
sonar-colorizer tokenizers for HTML output.
getTree(String) - Method in class org.sonar.api.resources.ResourceTypes
 
getType() - Method in interface org.sonar.api.ce.measure.Component
 
getType() - Method in class org.sonar.api.ce.measure.test.TestComponent
 
getType() - Method in class org.sonar.api.config.License
 
getType() - Method in class org.sonar.api.measures.Metric
 
getType() - Method in class org.sonar.api.notifications.Notification
Returns the type of the notification
getType() - Method in class org.sonar.api.rules.RuleParam
 
getTypes() - Method in class org.sonar.api.resources.ResourceTypeTree
 
getUnit() - Method in class org.sonar.api.utils.WorkUnit
Deprecated.
 
getUpdatedAt() - Method in class org.sonar.api.rules.Rule
 
getUpdatedAt() - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
getUri() - Method in exception org.sonar.api.utils.HttpDownloader.HttpException
 
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.web.ServletFilter.UrlPattern
 
getUsage() - Method in class org.sonar.api.design.Dependency
Deprecated.
 
getUsed() - Method in class org.sonar.api.profiles.RulesProfile
Deprecated.
profile versioning is dropped in 4.4. Always returns null.
getUserId() - Method in class org.sonar.api.security.UserDetails
 
getUserManaged() - Method in class org.sonar.api.measures.Metric
 
getUsername() - Method in class org.sonar.api.security.Authenticator.Context
Username can be null, for example when using CAS.
getUsername() - Method in class org.sonar.api.security.ExternalGroupsProvider.Context
 
getUsername() - Method in class org.sonar.api.security.ExternalUsersProvider.Context
 
getUsersProvider() - Method in class org.sonar.api.security.SecurityRealm
 
getUuid() - Method in class org.sonar.api.resources.Resource
 
getValue(String) - Method in class org.sonar.api.charts.ChartParameters
Deprecated.
Shortcut to getValue with no decoding and no default value
getValue(String, String, boolean) - Method in class org.sonar.api.charts.ChartParameters
Deprecated.
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.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.rules.ActiveRuleParam
 
getValue() - Method in class org.sonar.api.utils.WorkUnit
Deprecated.
 
getValue() - Method in class org.sonar.api.web.Criterion
Get the the criterion's value.
getValueAsLong(Measure, Long) - Static method in class org.sonar.api.measures.MeasureUtils
 
getValues(String, String) - Method in class org.sonar.api.charts.ChartParameters
Deprecated.
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
Deprecated.
Returns an array of a param values, given its key and the values delimiter Values can be decoded or not
getVariation(int) - Method in class org.sonar.api.measures.Measure
 
getVariation(Measure, int) - Static method in class org.sonar.api.measures.MeasureUtils
 
getVariation(Measure, int, Double) - Static method in class org.sonar.api.measures.MeasureUtils
 
getVariation1() - Method in class org.sonar.api.measures.Measure
 
getVariation2() - Method in class org.sonar.api.measures.Measure
 
getVariation3() - Method in class org.sonar.api.measures.Measure
 
getVariation4() - Method in class org.sonar.api.measures.Measure
 
getVariation5() - Method in class org.sonar.api.measures.Measure
 
getVariationAsLong(Measure, int) - Static method in class org.sonar.api.measures.MeasureUtils
 
getVariationAsLong(Measure, int, Long) - Static method in class org.sonar.api.measures.MeasureUtils
 
getVersion() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getVersion() - Method in class org.sonar.api.platform.Server
 
getVersion() - Method in class org.sonar.api.profiles.RulesProfile
Deprecated.
profile versioning is dropped in 4.4. Always returns -1.
getVersion() - Method in class org.sonar.api.resources.Library
Deprecated.
 
getWarnings() - Method in class org.sonar.api.utils.ValidationMessages
 
getWeight() - Method in class org.sonar.api.design.Dependency
Deprecated.
 
getWidgets() - Method in class org.sonar.api.web.Dashboard
 
getWidgetsOfColumn(int) - Method in class org.sonar.api.web.Dashboard
 
getWidth() - Method in class org.sonar.api.charts.ChartParameters
Deprecated.
Get the chart width
getWorkDir() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getWorstValue() - Method in class org.sonar.api.measures.Metric
 
global() - Method in class org.sonar.api.config.PropertyDefinition
Is the property displayed in global settings page ?
GLOBAL - Static variable in annotation type org.sonar.api.web.WidgetScope
 
GLOBAL_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
GLOBAL_TEST_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
GLOBAL_WORKING_DIRECTORY - Static variable in interface org.sonar.api.CoreProperties
 
GLOBAL_WORKING_DIRECTORY_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
GlobalPropertyChangeHandler - Class in org.sonar.api.config
Observe changes of global properties done from web application.
GlobalPropertyChangeHandler() - Constructor for class org.sonar.api.config.GlobalPropertyChangeHandler
 
GlobalPropertyChangeHandler.PropertyChange - Class in org.sonar.api.config
 
GOOGLE_ANALYTICS_ACCOUNT_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
GOOGLE_ANALYTICS_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
 
grantDefaultRoles(Resource) - Method in interface org.sonar.api.security.ResourcePermissions
Limitation - the resource id is used instead of logical key.
grantGroupRole(Resource, String, String) - Method in interface org.sonar.api.security.ResourcePermissions
Limitation - the resource id is used instead of logical key.
grantUserRole(Resource, String, String) - Method in interface org.sonar.api.security.ResourcePermissions
Limitation - the resource id is used instead of logical key.
GRID_COLOR - Static variable in class org.sonar.api.charts.AbstractChart
Deprecated.
 
GT - Static variable in class org.sonar.api.web.Criterion
 
GTE - Static variable in class org.sonar.api.web.Criterion
 

H

handle(Request, Response) - Method in class org.sonar.api.server.ws.RailsHandler
 
handle(Request, Response) - Method in interface org.sonar.api.server.ws.RequestHandler
 
handleAll(char) - Method in class org.sonar.api.batch.fs.internal.FileMetadata.CharHandler
 
handleGetObject(String) - Method in class org.sonar.api.utils.LocalizedMessages
 
handleIgnoreEoL(char) - Method in class org.sonar.api.batch.fs.internal.FileMetadata.CharHandler
 
handler() - Method in class org.sonar.api.server.ws.WebService.Action
 
HARDWARE_RELATED_PORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic PORTABILITY
hasAbsolutePath(String) - Method in interface org.sonar.api.batch.fs.FilePredicates
Predicate that gets a file by its absolute path.
hasAbsolutePath(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
hasData() - Method in class org.sonar.api.measures.Measure
 
hasData(Measure) - Static method in class org.sonar.api.measures.MeasureUtils
Tests if a measure has a data field
hasDefaultValue(String) - Method in class org.sonar.api.config.Settings
 
hasErrors() - Method in class org.sonar.api.utils.ValidationMessages
 
hasFiles(FilePredicate) - Method in interface org.sonar.api.batch.fs.FileSystem
Returns true if at least one InputFile matches the given predicate.
hasFiles(FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
hash() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
Digest hash of the file.
hashCode() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
hashCode() - Method in class org.sonar.api.batch.debt.DebtRemediationFunction
 
hashCode() - Method in class org.sonar.api.batch.fs.internal.DefaultInputComponent
 
hashCode() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
hashCode() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
hashCode() - Method in class org.sonar.api.batch.fs.internal.DefaultTextPointer
 
hashCode() - Method in class org.sonar.api.batch.fs.internal.DefaultTextRange
 
hashCode() - Method in class org.sonar.api.batch.scm.BlameLine
 
hashCode() - Method in class org.sonar.api.batch.sensor.duplication.Duplication.Block
 
hashCode() - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
 
hashCode() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
 
hashCode() - Method in class org.sonar.api.ce.measure.test.TestComponent
 
hashCode() - Method in class org.sonar.api.component.mock.MockSourceFile
 
hashCode() - Method in class org.sonar.api.config.Category
 
hashCode() - Method in class org.sonar.api.database.model.User
 
hashCode() - Method in class org.sonar.api.design.Dependency
Deprecated.
 
hashCode() - Method in class org.sonar.api.issue.action.Action
 
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
Deprecated.
 
hashCode() - Method in class org.sonar.api.notifications.Notification
 
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.resources.AbstractLanguage
 
hashCode() - Method in class org.sonar.api.resources.Library
Deprecated.
 
hashCode() - Method in class org.sonar.api.resources.Method
Deprecated.
 
hashCode() - Method in class org.sonar.api.resources.Resource
 
hashCode() - Method in class org.sonar.api.resources.ResourceType
 
hashCode() - Method in class org.sonar.api.rule.RuleKey
 
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.server.debt.internal.DefaultDebtRemediationFunction
 
hashCode() - Method in class org.sonar.api.server.rule.RuleParamType
 
hashCode() - Method in class org.sonar.api.server.rule.RulesDefinition.Param
 
hashCode() - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
 
hashCode() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
hashCode() - Method in class org.sonar.api.task.TaskDefinition
Deprecated.
 
hashCode() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
hashCode() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
hashCode() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
hashCode() - Method in class org.sonar.api.utils.dag.Node
 
hashCode() - Method in class org.sonar.api.utils.Duration
 
hashCode() - Method in class org.sonar.api.utils.internal.WorkDuration
 
hashCode() - Method in class org.sonar.api.utils.WorkUnit
Deprecated.
 
hashCode() - Method in class org.sonar.api.web.CodeColorizerFormat
Deprecated.
 
hasInfos() - Method in class org.sonar.api.utils.ValidationMessages
 
HasIssuePropertyCondition - Class in org.sonar.api.issue.condition
 
HasIssuePropertyCondition(String) - Constructor for class org.sonar.api.issue.condition.HasIssuePropertyCondition
 
hasJavaSourceFiles() - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
since 2.6 - API should be language agnostic
hasKey(String) - Method in class org.sonar.api.config.Settings
 
hasLanguage(String) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
hasLanguage(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
hasLanguages(Collection<String>) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
hasLanguages(String...) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
hasLanguages(Collection<String>) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
hasLanguages(String...) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
hasLegend() - Method in class org.sonar.api.charts.AbstractChart
Deprecated.
 
hasNextPage() - Method in class org.sonar.api.utils.Paging
 
hasParam(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
hasParam(String) - Method in class org.sonar.api.server.ws.Request
Return true of the parameter is set.
hasPath(String) - Method in interface org.sonar.api.batch.fs.FilePredicates
if the parameter represents an absolute path for the running environment, then returns FilePredicates.hasAbsolutePath(String), else FilePredicates.hasRelativePath(String)
hasPath(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
hasProperty(String) - Method in class org.sonar.api.resources.ResourceType
 
hasRelativePath(String) - Method in interface org.sonar.api.batch.fs.FilePredicates
Predicate that gets a file by its relative path.
hasRelativePath(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
non-normalized path and Windows-style path are supported
HasResolution - Class in org.sonar.api.issue.condition
 
HasResolution(String, String...) - Constructor for class org.sonar.api.issue.condition.HasResolution
 
hasRoles(Resource) - Method in interface org.sonar.api.security.ResourcePermissions
Limitation - the resource id is used instead of logical key.
hasSecretKey() - Method in class org.sonar.api.config.Encryption
Checks the availability of the secret key, that is required to encrypt and decrypt.
hasSourceCode() - Method in class org.sonar.api.resources.ResourceType.Builder
Tells that the resources of this type will have source code.
hasSourceCode() - Method in class org.sonar.api.resources.ResourceType
Tells whether resources of this type has source code or not.
hasStatus(InputFile.Status) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
hasStatus(InputFile.Status) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
HasStatus - Class in org.sonar.api.issue.condition
 
HasStatus(String, String...) - Constructor for class org.sonar.api.issue.condition.HasStatus
 
hasTestFiles(Language) - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
since 2.6 - use language key instead of Language object
hasType(InputFile.Type) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
hasType(InputFile.Type) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
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
hidden() - Method in class org.sonar.api.config.PropertyDefinition.Builder
Flag the property as hidden.
highlight(int, int, TypeOfText) - Method in class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
 
highlight(int, int, TypeOfText) - Method in interface org.sonar.api.batch.sensor.highlighting.NewHighlighting
Call this method to indicate the type of text in a range.
highlight(int, int, String) - Method in interface org.sonar.api.source.Highlightable.HighlightingBuilder
 
Highlightable - Interface in org.sonar.api.source
Use this perspective to save syntax highlighting on files.
Highlightable.HighlightingBuilder - Interface in org.sonar.api.source
 
highlightingTypeAt(String, int, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
hitsByLine() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
HOME - Static variable in annotation type org.sonar.api.web.NavigationSection
 
HOUR - Static variable in class org.sonar.api.utils.Duration
 
hours() - Method in class org.sonar.api.utils.internal.WorkDuration
 
HOURS - Static variable in class org.sonar.api.utils.WorkUnit
Deprecated.
 
HOURS_IN_DAY - Static variable in interface org.sonar.api.CoreProperties
 
htmlDescription() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
HttpDownloader - Class in org.sonar.api.utils
This component is available in IoC container, so it should be injected through a constructor parameter.
HttpDownloader() - Constructor for class org.sonar.api.utils.HttpDownloader
 
HttpDownloader.HttpException - Exception in org.sonar.api.utils
 
HttpDownloader.HttpException(URI, int) - Constructor for exception org.sonar.api.utils.HttpDownloader.HttpException
 
HttpDownloader.HttpException(URI, int, String) - Constructor for exception org.sonar.api.utils.HttpDownloader.HttpException
 

I

I18n - Interface in org.sonar.api.i18n
Main component that provides translation facilities.
id() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
id() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
 
id() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
id() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
Deprecated.
 
id() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
id() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
id() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
 
id() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
 
id() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
IllegalDurationException - Exception in org.sonar.api.test.exception
 
IllegalDurationException(String) - Constructor for exception org.sonar.api.test.exception.IllegalDurationException
 
IMPORT_UNKNOWN_FILES_KEY - Static variable in interface org.sonar.api.CoreProperties
 
importProfile(Reader, ValidationMessages) - Method in class org.sonar.api.profiles.ProfileImporter
 
includeDeactivated() - Method in class org.sonar.api.user.UserQuery.Builder
 
includeDeactivated() - Method in class org.sonar.api.user.UserQuery
 
inclusions() - Method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
index(Resource) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
since 4.2 Resource indexing is done by the platform for all physical resources.
index(Resource, Resource) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
since 4.2 Resource indexing is done by the platform for all physical resources.
index(Resource) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
Indexes a resource as a direct child of project.
index(Resource, Resource) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
Indexes a resource.
index(int) - Method in class org.sonar.api.config.PropertyDefinition.Builder
Set the order index in Settings pages.
index() - Method in class org.sonar.api.config.PropertyDefinition
Order to display properties in Sonar UI.
indicativeSize(int) - Method in class org.sonar.api.config.PropertyFieldDefinition.Builder
 
indicativeSize() - Method in class org.sonar.api.config.PropertyFieldDefinition
 
INFO - Static variable in class org.sonar.api.rule.Severity
 
info(String) - Method in interface org.sonar.api.utils.log.Logger
Logs an INFO level message.
info(String, Object) - Method in interface org.sonar.api.utils.log.Logger
Logs an INFO parameterized message according to the specified format and argument.
info(String, Object, Object) - Method in interface org.sonar.api.utils.log.Logger
Logs an INFO parameterized message according to the specified format and arguments.
info(String, Object...) - Method in interface org.sonar.api.utils.log.Logger
Logs an INFO parameterized message according to the specified format and arguments.
INFO_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
INFO_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
INHERITED - Static variable in class org.sonar.api.rules.ActiveRule
 
init() - Method in class org.sonar.api.checks.CheckFactory
Deprecated.
 
init() - Method in interface org.sonar.api.security.LoginPasswordAuthenticator
Deprecated.
in 2.14, but was left for backward compatibility - when this authenticator is not a part of SecurityRealm, otherwise has no effect and not invoked
init() - Method in class org.sonar.api.security.SecurityRealm
Invoked during server startup and can be used to initialize internal state.
Initializer - Class in org.sonar.api.batch
Initializer can execute external tool (like a Maven plugin), change project configuration.
Initializer() - Constructor for class org.sonar.api.batch.Initializer
 
InitializerExecutionHandler - Interface in org.sonar.api.batch.events
 
InitializerExecutionHandler.InitializerExecutionEvent - Interface in org.sonar.api.batch.events
This interface is not intended to be implemented by clients.
InitializersPhaseHandler - Interface in org.sonar.api.batch.events
 
InitializersPhaseHandler.InitializersPhaseEvent - Interface in org.sonar.api.batch.events
This interface is not intended to be implemented by clients.
initMetadata(FileMetadata.Metadata) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
INPUT_VALIDATION_AND_REPRESENTATION - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic SECURITY
InputComponent - Interface in org.sonar.api.batch.fs
Common interface for all input components.
inputComponent() - Method in interface org.sonar.api.batch.postjob.issue.Issue
The InputComponent this issue belongs to.
inputComponent() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
 
inputComponent() - Method in interface org.sonar.api.batch.sensor.issue.IssueLocation
The InputComponent this location belongs to.
inputComponent() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
 
inputComponent() - Method in interface org.sonar.api.batch.sensor.measure.Measure
The InputComponent this measure belongs to.
inputDir(String) - Method in interface org.sonar.api.batch.fs.FileSystem.Index
 
inputDir(File) - Method in interface org.sonar.api.batch.fs.FileSystem
Returns InputDir matching the current File.
InputDir - Interface in org.sonar.api.batch.fs
Layer over File for directories.
inputDir(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
 
inputDir(File) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
inputFile(String) - Method in interface org.sonar.api.batch.fs.FileSystem.Index
 
inputFile(FilePredicate) - Method in interface org.sonar.api.batch.fs.FileSystem
Returns the single element matching the predicate.
InputFile - Interface in org.sonar.api.batch.fs
This layer over File adds information for code analyzers.
inputFile(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
 
inputFile(FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
inputFile() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
inputFile() - Method in class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
 
InputFile - Interface in org.sonar.api.resources
Deprecated.
in 4.2. Replaced by InputFile
InputFile.Status - Enum in org.sonar.api.batch.fs
Status regarding previous analysis
InputFile.Type - Enum in org.sonar.api.batch.fs
 
InputFileFilter - Interface in org.sonar.api.batch.fs
Extension point to exclude some files from inspection
inputFiles() - Method in interface org.sonar.api.batch.fs.FileSystem.Index
 
inputFiles(FilePredicate) - Method in interface org.sonar.api.batch.fs.FileSystem
Input files matching the given attributes.
inputFiles() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
 
inputFiles(FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
InputFileUtils - Class in org.sonar.api.resources
Deprecated.
since 5.0 as InputFile is deprecated
InputModule - Interface in org.sonar.api.batch.fs
Used to create issues and measures on modules.
InputPath - Interface in org.sonar.api.batch.fs
Layer over File for files or directories.
INSTANCE - Static variable in class org.sonar.api.resources.Java
Deprecated.
 
INSTANCE - Static variable in class org.sonar.api.server.ws.RailsHandler
 
INSTANCE - Static variable in class org.sonar.api.utils.System2
 
InstantiationStrategy - Annotation Type in org.sonar.api.batch
Define instantiation strategy of batch IoC components.
INSTRUCTION_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic RELIABILITY
INTEGER - Static variable in class org.sonar.api.server.rule.RuleParamType
 
INTEGRATION_TESTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic TESTABILITY
internalKey() - Method in interface org.sonar.api.batch.rule.ActiveRule
Optional key declared and used by the underlying rule engine.
internalKey() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
 
internalKey() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
 
internalKey() - Method in interface org.sonar.api.batch.rule.Rule
 
internalKey() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
is(File) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
is(File) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
isActivated() - Method in class org.sonar.api.web.Dashboard
A dashboard can be activated for all anonymous users or users who haven't configured their own dashboards.
isAnyone(String) - Static method in class org.sonar.api.security.DefaultGroups
 
isBestValue() - Method in class org.sonar.api.measures.Measure
 
isBlockUnit(Resource) - Static method in class org.sonar.api.resources.Scopes
Deprecated.
since 4.3 resources under FILE level are no more be supported since 4.2.
isClass(Resource) - Static method in class org.sonar.api.resources.Qualifiers
Deprecated.
since 4.2 CLA qualifier is deprecated
isClass(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
since 4.2 CLA qualifier is deprecated
isDataType() - Method in class org.sonar.api.measures.Metric
 
isDebugEnabled() - Method in interface org.sonar.api.utils.log.Logger
 
isDebugEnabled() - Method in class org.sonar.api.utils.log.Profiler
 
isDefault() - Method in class org.sonar.api.resources.JavaPackage
Deprecated.
 
isDefaultJvmEncoding() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
isDirectory(Resource) - Static method in class org.sonar.api.resources.Qualifiers
 
isDirectory(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
isDirectory(Resource) - Static method in class org.sonar.api.resources.Scopes
 
isDisabledInIssues() - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
 
isDisabledInIssues() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
isDuplicatedBy(InputFile, int, int) - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
 
isDuplicatedBy(String, int, int) - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
For internal use.
isDuplicatedBy(InputFile, int, int) - Method in interface org.sonar.api.batch.sensor.duplication.NewDuplication
Declare duplicate block of the previously declared #originBlock(int, int).
isDynamic(boolean) - Method in enum org.sonar.api.resources.Project.AnalysisType
Deprecated.
 
isEmpty() - Method in interface org.sonar.api.batch.fs.InputFile
Check if the file content is empty (ignore potential BOM).
isEmpty() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
isEmpty() - Method in class org.sonar.api.ce.measure.RangeDistributionBuilder
 
isEmpty() - Method in class org.sonar.api.measures.CountDistributionBuilder
 
isEmpty() - Method in class org.sonar.api.measures.RangeDistributionBuilder
Deprecated.
 
isEnabled(Project) - Method in class org.sonar.api.batch.AbstractSourceImporter
Deprecated.
 
isEnabled() - Method in class org.sonar.api.rules.ActiveRule
 
isEnabled() - Method in class org.sonar.api.rules.Rule
 
isEncrypted(String) - Method in class org.sonar.api.config.Encryption
 
isEnd() - Method in interface org.sonar.api.batch.events.DecoratorExecutionHandler.DecoratorExecutionEvent
Deprecated.
 
isEnd() - Method in interface org.sonar.api.batch.events.DecoratorsPhaseHandler.DecoratorsPhaseEvent
Deprecated.
 
isEnd() - Method in interface org.sonar.api.batch.events.InitializerExecutionHandler.InitializerExecutionEvent
 
isEnd() - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler.InitializersPhaseEvent
 
isEnd() - Method in interface org.sonar.api.batch.events.PostJobExecutionHandler.PostJobExecutionEvent
 
isEnd() - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler.PostJobsPhaseEvent
 
isEnd() - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler.ProjectAnalysisEvent
 
isEnd() - Method in interface org.sonar.api.batch.events.SensorExecutionHandler.SensorExecutionEvent
 
isEnd() - Method in interface org.sonar.api.batch.events.SensorsPhaseHandler.SensorsPhaseEvent
 
isEnd() - Method in interface org.sonar.api.scan.event.ProjectScanHandler.ProjectScanEvent
 
isEndOfLife() - Method in interface org.sonar.api.issue.IssueHandler.Context
 
isEntity(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isExcluded(Resource) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
since 4.2 Excluded resources are not indexed.
isExcluded(Resource) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
Returns true if the referenced resource is excluded.
isExcluded() - Method in class org.sonar.api.resources.Resource
Deprecated.
since 2.6.
isExpired() - Method in class org.sonar.api.config.License
 
isFavouritesOnly() - Method in class org.sonar.api.web.Filter
The Filter can be configured to return only favourites.
isFile() - Method in interface org.sonar.api.batch.fs.InputComponent
Is the component an InputFile
isFile() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
isFile() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
isFile() - Method in class org.sonar.api.batch.fs.internal.DefaultInputModule
 
isFile(Resource) - Static method in class org.sonar.api.resources.Qualifiers
 
isFile(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
isFile(Resource) - Static method in class org.sonar.api.resources.Scopes
This scope is sometimes called a "compilation unit".
isFreshInstall() - Method in interface org.sonar.api.platform.ServerUpgradeStatus
Has the database been created from scratch during the current startup ?
isFromCore() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
For internal use.
isFromCore() - Method in class org.sonar.api.measures.Measure
For internal use
isGlobal() - Method in class org.sonar.api.web.Dashboard
A dashboard is global when it doesn't display information from a projet but rather more general information.
isGreaterThan(Duration) - Method in class org.sonar.api.utils.Duration
Return true if the given duration is greater than the current one.
isHidden() - Method in class org.sonar.api.measures.Metric
 
isHigherThan(Resource, String) - Static method in class org.sonar.api.resources.Scopes
 
isHigherThan(String, String) - Static method in class org.sonar.api.resources.Scopes
 
isHigherThanOrEquals(Resource, String) - Static method in class org.sonar.api.resources.Scopes
 
isHigherThanOrEquals(String, String) - Static method in class org.sonar.api.resources.Scopes
 
isIgnored(Resource) - Method in interface org.sonar.api.batch.ResourceFilter
Deprecated.
Return true if the resource must be ignored, else it's saved into database.
isIndexed(Resource, boolean) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
since 4.2 Excluded resources are not indexed.
isIndexed(Resource, boolean) - Method in class org.sonar.api.batch.SonarIndex
Deprecated.
 
isInherited() - Method in class org.sonar.api.rules.ActiveRule
 
isInternal() - Method in class org.sonar.api.server.ws.WebService.Action
 
isInternal() - Method in class org.sonar.api.server.ws.WebService.Controller
Returns true if all the actions are for internal use
isIssues() - Method in interface org.sonar.api.batch.AnalysisMode
 
isIssues() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester.MockAnalysisMode
 
isJavaAtLeast17() - Method in class org.sonar.api.utils.System2
True if Java 7 or Java 8 runtime environment
isJavaFile(File) - Static method in class org.sonar.api.resources.Java
Deprecated.
 
isLatestAnalysis() - Method in class org.sonar.api.resources.Project
Deprecated.
in 3.6. The analysis is now always the latest one (past analysis must be done in a chronological order). See http://jira.sonarsource.com/browse/SONAR-4334
isLibrary(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
since 5.2 No more design features
isLocked() - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
isManual() - Method in class org.sonar.api.rule.RuleKey
 
isMethod(Resource) - Static method in class org.sonar.api.resources.Qualifiers
 
isModule() - Method in class org.sonar.api.resources.Project
 
isModule(Resource) - Static method in class org.sonar.api.resources.Qualifiers
 
isModuleProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isNew() - Method in interface org.sonar.api.batch.postjob.issue.Issue
If the issue a new one.
isNew() - Method in interface org.sonar.api.issue.Issue
During a scan return if the current issue is a new one.
isNew() - Method in interface org.sonar.api.issue.IssueHandler.Context
 
isNewShell() - Method in class org.sonar.api.utils.command.Command
true if a new shell should be used to execute the command.
isNumericType() - Method in class org.sonar.api.measures.Metric
 
isOptimizedBestValue() - Method in class org.sonar.api.measures.Metric
 
isOsWindows() - Method in class org.sonar.api.utils.System2
True if this is MS Windows.
isPackage(Resource) - Static method in class org.sonar.api.resources.Qualifiers
Deprecated.
since 4.2 Package is now a directory. Use Qualifiers.isDirectory(Resource)
isPackage(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
since 4.2 Package are now directory. Use ResourceUtils.isDirectory(Resource)
isParagraph(Resource) - Static method in class org.sonar.api.resources.Qualifiers
 
isPercentageType() - Method in class org.sonar.api.measures.Metric
 
isPersistable(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isPost() - Method in class org.sonar.api.server.ws.WebService.Action
 
isPreview() - Method in interface org.sonar.api.batch.AnalysisMode
 
isPreview() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester.MockAnalysisMode
 
isProgramUnit(Resource) - Static method in class org.sonar.api.resources.Scopes
Deprecated.
since 4.3 resources under FILE level are no more be supported since 4.2.
isProject(Resource, boolean) - Static method in class org.sonar.api.resources.Qualifiers
 
isProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
This method equal isRootProject(resource) or isModuleProject(resource) or isView(resource) or isSubview(resource)
isProject(Resource) - Static method in class org.sonar.api.resources.Scopes
 
isPublish() - Method in interface org.sonar.api.batch.AnalysisMode
 
isPublish() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester.MockAnalysisMode
 
isRequired() - Method in class org.sonar.api.server.ws.WebService.Param
Is the parameter required or optional ?
isRequirement() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
since 4.3
isRequirement() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.3
isRoot() - Method in class org.sonar.api.resources.Project
 
isRoot() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
Deprecated.
 
isRoot() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
isRoot() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
 
isRoot() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
isRootProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isSet(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isSpace(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
isSpecial() - Method in class org.sonar.api.config.Category
 
isStart() - Method in interface org.sonar.api.batch.events.DecoratorExecutionHandler.DecoratorExecutionEvent
Deprecated.
 
isStart() - Method in interface org.sonar.api.batch.events.DecoratorsPhaseHandler.DecoratorsPhaseEvent
Deprecated.
 
isStart() - Method in interface org.sonar.api.batch.events.InitializerExecutionHandler.InitializerExecutionEvent
 
isStart() - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler.InitializersPhaseEvent
 
isStart() - Method in interface org.sonar.api.batch.events.PostJobExecutionHandler.PostJobExecutionEvent
 
isStart() - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler.PostJobsPhaseEvent
 
isStart() - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler.ProjectAnalysisEvent
 
isStart() - Method in interface org.sonar.api.batch.events.SensorExecutionHandler.SensorExecutionEvent
 
isStart() - Method in interface org.sonar.api.batch.events.SensorsPhaseHandler.SensorsPhaseEvent
 
isStart() - Method in interface org.sonar.api.scan.event.ProjectScanHandler.ProjectScanEvent
 
Issuable - Interface in org.sonar.api.issue
This perspective allows to add and get issues related to the selected component.
Issuable.IssueBuilder - Interface in org.sonar.api.issue
 
isSub() - Method in interface org.sonar.api.batch.debt.DebtCharacteristic
 
isSub() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
isSub() - Method in interface org.sonar.api.server.debt.DebtCharacteristic
Deprecated.
 
isSub() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
isSubview(Resource) - Static method in class org.sonar.api.resources.Qualifiers
 
isSubview(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
Issue - Interface in org.sonar.api.batch.postjob.issue
Represents an issue state at the end of the batch analysis.
Issue - Interface in org.sonar.api.batch.sensor.issue
Represents an issue detected by a Sensor.
Issue - Interface in org.sonar.api.ce.measure
Issue that can be used in a MeasureComputer
issue() - Method in interface org.sonar.api.issue.action.Function.Context
 
Issue - Interface in org.sonar.api.issue
 
issue() - Method in interface org.sonar.api.issue.IssueHandler.Context
 
Issue.Flow - Interface in org.sonar.api.batch.sensor.issue
 
ISSUE_ADMIN - Static variable in annotation type org.sonar.api.web.UserRole
 
IssueComment - Interface in org.sonar.api.issue
 
IssueFilter - Interface in org.sonar.api.issue.batch
An issue filter is an object that allows filtering of Issues on batch side, preventing them from being persisted.
IssueFilter - Interface in org.sonar.api.issue
Deprecated.
since 4.0 use IssueFilter
IssueFilterChain - Interface in org.sonar.api.issue.batch
A filter chain is an object provided to issues filters for fine control over the filtering logic.
IssueHandler - Interface in org.sonar.api.issue
 
IssueHandler.Context - Interface in org.sonar.api.issue
 
issueKey() - Method in interface org.sonar.api.issue.IssueComment
 
IssueLocation - Interface in org.sonar.api.batch.sensor.issue
Represents an issue location.
issues() - Method in interface org.sonar.api.batch.postjob.PostJobContext
All the unresolved issues of the project, including the issues reported by end-users.
issues() - Method in interface org.sonar.api.issue.Issuable
Deprecated.
since 5.2 no more decorators on batch side
issues() - Method in interface org.sonar.api.issue.ProjectIssues
All the unresolved issues of the project, including the issues reported by end-users.
ISSUES_ADDED - Static variable in interface org.sonar.api.batch.DecoratorBarriers
This barrier is before DecoratorBarriers.ISSUES_TRACKED.
ISSUES_TRACKED - Static variable in interface org.sonar.api.batch.DecoratorBarriers
This barrier is after DecoratorBarriers.ISSUES_ADDED.
isSwitchedOff() - Method in class org.sonar.api.violations.ViolationQuery
Deprecated.
Tells if the query should return only switched-off violations.
isTemplate() - Method in class org.sonar.api.rules.Rule
 
isTraceEnabled() - Method in interface org.sonar.api.utils.log.Logger
 
isTraceEnabled() - Method in class org.sonar.api.utils.log.Profiler
 
isUnitTest() - Method in interface org.sonar.api.ce.measure.Component.FileAttributes
 
isUnitTest() - Method in class org.sonar.api.ce.measure.test.TestComponent.FileAttributesImpl
 
isUnitTest() - Method in class org.sonar.api.resources.JavaFile
Deprecated.
 
isUnitTestClass(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
isUnitTestFile(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
IsUnResolved - Class in org.sonar.api.issue.condition
 
IsUnResolved() - Constructor for class org.sonar.api.issue.condition.IsUnResolved
 
isUpgraded() - Method in interface org.sonar.api.platform.ServerUpgradeStatus
Has the database been upgraded during the current startup ? Return false when ServerUpgradeStatus.isFreshInstall() is true.
isValid() - Method in class org.sonar.api.config.PropertyDefinition.Result
 
isValid(String) - Static method in class org.sonar.api.server.rule.RuleTagFormat
 
isVariation() - Method in class org.sonar.api.web.Criterion
A criterion can be based on the varation of a value rather than on the value itself.
isVariation() - Method in class org.sonar.api.web.FilterColumn
A column can be based on the variation of a value rather than on the value itself.
isView(Resource, boolean) - Static method in class org.sonar.api.resources.Qualifiers
 
isView(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
 
IT_BRANCH_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
IT_CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
IT_CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_COVERAGE_LINE_HITS_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
IT_COVERAGE_LINE_HITS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
IT_COVERED_CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
IT_COVERED_CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
IT_LINE_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
IT_UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 

J

Java - Class in org.sonar.api.resources
Deprecated.
in 3.6
Java() - Constructor for class org.sonar.api.resources.Java
Deprecated.
Default constructor
JavaFile - Class in org.sonar.api.resources
Deprecated.
since 4.2 use File. See http://docs.codehaus.org/display/SONAR/API+Changes for more details
JavaFile(String, String) - Constructor for class org.sonar.api.resources.JavaFile
Deprecated.
 
JavaFile(String, String, boolean) - Constructor for class org.sonar.api.resources.JavaFile
Deprecated.
 
JavaFile(String) - Constructor for class org.sonar.api.resources.JavaFile
Deprecated.
 
JavaFile(String, boolean) - Constructor for class org.sonar.api.resources.JavaFile
Deprecated.
 
JavaPackage - Class in org.sonar.api.resources
Deprecated.
since 4.2 use Directory instead
JavaPackage() - Constructor for class org.sonar.api.resources.JavaPackage
Deprecated.
 
JavaPackage(String) - Constructor for class org.sonar.api.resources.JavaPackage
Deprecated.
 
JsonWriter - Class in org.sonar.api.utils.text
Writes JSON as a stream.
JUnitTempFolder - Class in org.sonar.api.utils.internal
Implementation of TempFolder to be used only in JUnit tests.
JUnitTempFolder() - Constructor for class org.sonar.api.utils.internal.JUnitTempFolder
 

K

key() - Method in interface org.sonar.api.batch.debt.DebtCharacteristic
 
key() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
key() - Method in interface org.sonar.api.batch.fs.InputComponent
Component key shared by all part of SonarQube (batch, server, WS...)
key() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
key() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
Component key.
key() - Method in class org.sonar.api.batch.fs.internal.DefaultInputModule
 
key() - Method in interface org.sonar.api.batch.measure.Metric
 
key() - Method in interface org.sonar.api.batch.postjob.issue.Issue
Key of the issue.
key() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
 
key() - Method in interface org.sonar.api.batch.rule.Rule
 
key() - Method in interface org.sonar.api.batch.rule.RuleParam
 
key() - Method in class org.sonar.api.batch.scm.ScmProvider
Unique identifier of the provider.
key() - Method in interface org.sonar.api.ce.measure.Issue
 
key() - Method in class org.sonar.api.ce.measure.test.TestIssue
 
key() - Method in interface org.sonar.api.component.Component
Deprecated.
 
key() - Method in class org.sonar.api.component.mock.MockSourceFile
 
key() - Method in class org.sonar.api.config.Category
 
key() - Method in class org.sonar.api.config.PropertyDefinition
Unique key within all plugins.
key() - Method in class org.sonar.api.config.PropertyFieldDefinition
 
key() - Method in class org.sonar.api.issue.action.Action
 
key() - Method in interface org.sonar.api.issue.ActionPlan
Unique generated key
key() - Method in interface org.sonar.api.issue.Issue
Unique generated key.
key() - Method in interface org.sonar.api.issue.IssueComment
 
key() - Method in class org.sonar.api.measures.Metric
 
KEY - Static variable in class org.sonar.api.resources.Java
Deprecated.
Java key
key() - Method in class org.sonar.api.resources.Project
 
key() - Method in interface org.sonar.api.server.debt.DebtCharacteristic
Deprecated.
 
key() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
key() - Method in interface org.sonar.api.server.rule.RulesDefinition.ExtendedRepository
 
key() - Method in interface org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository
 
key() - Method in class org.sonar.api.server.rule.RulesDefinition.NewParam
 
key() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
 
key() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
key() - Method in class org.sonar.api.server.rule.RulesDefinition.Param
 
key() - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
 
key() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
key() - Method in class org.sonar.api.server.ws.WebService.Action
 
key() - Method in class org.sonar.api.server.ws.WebService.Param
 
key(String) - Method in class org.sonar.api.task.TaskDefinition.Builder
Deprecated.
 
key() - Method in class org.sonar.api.task.TaskDefinition
Deprecated.
 
key() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
Deprecated.
 
key() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
key() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
 
key() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
KeyValueFormat - Class in org.sonar.api.utils
Formats and parses key/value pairs with the text representation : "key1=value1;key2=value2".
KeyValueFormat.Converter<T> - Class in org.sonar.api.utils
 
KeyValueFormat.Converter() - Constructor for class org.sonar.api.utils.KeyValueFormat.Converter
 
KeyValueFormat.DateConverter - Class in org.sonar.api.utils
 
KeyValueFormat.DoubleConverter - Class in org.sonar.api.utils
 
KeyValueFormat.IntegerConverter - Class in org.sonar.api.utils
 
KeyValueFormat.PriorityConverter - Class in org.sonar.api.utils
 
KeyValueFormat.StringConverter - Class in org.sonar.api.utils
 
KeyValueFormat.ToStringConverter - Class in org.sonar.api.utils
 

L

l10nKey() - Method in exception org.sonar.api.utils.MessageException
 
l10nParams() - Method in exception org.sonar.api.utils.MessageException
 
language() - Method in interface org.sonar.api.batch.fs.InputFile
Language, for example "java" or "php".
language() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
language() - Method in interface org.sonar.api.batch.rule.ActiveRule
Language of rule, for example java
language() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
 
language() - Method in class org.sonar.api.component.mock.MockSourceFile
 
language() - Method in interface org.sonar.api.issue.Issue
 
Language - Interface in org.sonar.api.resources
The extension point to define a new language

Instantiation strategy changed to PER_BATCH in version 4.2.

language - Variable in class org.sonar.api.resources.Method
Deprecated.
 
language() - Method in class org.sonar.api.resources.Resource
 
language() - Method in interface org.sonar.api.server.rule.RulesDefinition.ExtendedRepository
 
language() - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
 
LANGUAGE_RELATED_PORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic PORTABILITY
LANGUAGE_SPECIFIC_PARAMETERS - Static variable in interface org.sonar.api.CoreProperties
 
LANGUAGE_SPECIFIC_PARAMETERS_LANGUAGE_KEY - Static variable in interface org.sonar.api.CoreProperties
 
LANGUAGE_SPECIFIC_PARAMETERS_MAN_DAYS_KEY - Static variable in interface org.sonar.api.CoreProperties
 
LANGUAGE_SPECIFIC_PARAMETERS_SIZE_METRIC_KEY - Static variable in interface org.sonar.api.CoreProperties
 
languages() - Method in interface org.sonar.api.batch.fs.FileSystem
Languages detected in all files, whatever their type (main or test)
languages() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
languages() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
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
Languages() - Constructor for class org.sonar.api.resources.Languages
No languages are installed
languages() - Method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
LAST_COMMIT_DATE - Static variable in class org.sonar.api.measures.CoreMetrics
Date of the most recent commit.
LAST_COMMIT_DATE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
lastValidOffset() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
LCOM4 - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
LCOM4_BLOCKS - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
LCOM4_BLOCKS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
LCOM4_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
LCOM4_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
LCOM4_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
length() - Method in class org.sonar.api.batch.sensor.duplication.Duplication.Block
 
LIBRARIES_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
since 4.5.1 use SonarQube Java specific API
Library - Class in org.sonar.api.resources
Deprecated.
since 5.2 No more design features
Library(String, String) - Constructor for class org.sonar.api.resources.Library
Deprecated.
 
LIBRARY - Static variable in class org.sonar.api.resources.Qualifiers
Deprecated.
since 5.2 No more design features
License - Class in org.sonar.api.config
SonarSource license.
line() - Method in class org.sonar.api.batch.fs.internal.DefaultTextPointer
 
line() - Method in interface org.sonar.api.batch.fs.TextPointer
The logical line where this pointer is located.
line() - Method in interface org.sonar.api.batch.postjob.issue.Issue
Line of the issue.
line(Integer) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
line() - Method in interface org.sonar.api.issue.Issue
Optional line number.
LINE_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
linear(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.DebtRemediationFunctions
 
linearWithOffset(String, String) - Method in interface org.sonar.api.server.rule.RulesDefinition.DebtRemediationFunctions
 
lineHits(int, int) - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
lineHits(int, int) - Method in interface org.sonar.api.batch.sensor.coverage.NewCoverage
Call this method as many time as needed to report coverage hits per line.
lineHits(String, CoverageType, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
lineHitsData() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
 
lineOffset() - Method in class org.sonar.api.batch.fs.internal.DefaultTextPointer
 
lineOffset() - Method in interface org.sonar.api.batch.fs.TextPointer
The offset of this pointer in the current line.
lines() - Method in interface org.sonar.api.batch.fs.InputFile
Number of physical lines.
lines() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
lines() - Method in interface org.sonar.api.test.CoverageBlock
 
LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Computed by the platform since SQ 5.1
LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
Use CoverageMeasuresBuilder to build measure for this metric.
LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
linesToCover() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
 
linesToCover() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
LINKS_CI - Static variable in interface org.sonar.api.CoreProperties
 
LINKS_HOME_PAGE - Static variable in interface org.sonar.api.CoreProperties
 
LINKS_ISSUE_TRACKER - Static variable in interface org.sonar.api.CoreProperties
 
LINKS_SOURCES - Static variable in interface org.sonar.api.CoreProperties
 
LINKS_SOURCES_DEV - Static variable in interface org.sonar.api.CoreProperties
 
list() - Method in class org.sonar.api.issue.action.Actions
 
LIST - Static variable in class org.sonar.api.web.Filter
 
load(RulesDefinition.NewExtendedRepository, Class...) - Method in class org.sonar.api.server.rule.RulesDefinitionAnnotationLoader
 
load(RulesDefinition.NewRepository) - Method in class org.sonar.api.server.rule.RulesDefinitionI18nLoader
Loads descriptions of rules and related rule parameters.
load(RulesDefinition.NewRepository, InputStream, String) - Method in class org.sonar.api.server.rule.RulesDefinitionXmlLoader
 
load(RulesDefinition.NewRepository, InputStream, Charset) - Method in class org.sonar.api.server.rule.RulesDefinitionXmlLoader
 
load(RulesDefinition.NewRepository, Reader) - Method in class org.sonar.api.server.rule.RulesDefinitionXmlLoader
 
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.
locations() - Method in interface org.sonar.api.batch.sensor.issue.Issue.Flow
 
log(Logger) - Method in class org.sonar.api.utils.ValidationMessages
 
log(Logger) - Method in class org.sonar.api.utils.ValidationMessages
Deprecated.
replaced by ValidationMessages.log(org.sonar.api.utils.log.Logger) since deprecation of slf4j in 5.1
Logger - Interface in org.sonar.api.utils.log
SonarQube plugins are not coupled with external logging libraries like SLF4J or Logback.
LoggerLevel - Enum in org.sonar.api.utils.log
 
Loggers - Class in org.sonar.api.utils.log
 
Loggers() - Constructor for class org.sonar.api.utils.log.Loggers
 
LOGIC_CHANGEABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic CHANGEABILITY
LOGIC_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic RELIABILITY
LOGIN - Static variable in interface org.sonar.api.CoreProperties
 
login() - Method in interface org.sonar.api.user.User
 
LoginPasswordAuthenticator - Interface in org.sonar.api.security
Deprecated.
replaced by Authenticator in version 3.1
logins(Collection<String>) - Method in class org.sonar.api.user.UserQuery.Builder
 
logins(String...) - Method in class org.sonar.api.user.UserQuery.Builder
 
logins() - Method in class org.sonar.api.user.UserQuery
 
logs() - Method in class org.sonar.api.utils.log.LogTester
Logs in chronological order (item at index 0 is the oldest one)
logs(LoggerLevel) - Method in class org.sonar.api.utils.log.LogTester
Logs in chronological order (item at index 0 is the oldest one) for a given level
LogTester - Class in org.sonar.api.utils.log
For tests only

This JUnit rule allows to configure and access logs in tests.

LogTester() - Constructor for class org.sonar.api.utils.log.LogTester
 
longName() - Method in interface org.sonar.api.component.Component
Deprecated.
 
longName() - Method in class org.sonar.api.component.mock.MockSourceFile
 
longName() - Method in class org.sonar.api.resources.Project
 
longToDate(Long) - Static method in class org.sonar.api.utils.DateUtils
 
LT - Static variable in class org.sonar.api.web.Criterion
 
LTE - Static variable in class org.sonar.api.web.Criterion
 

M

mainFiles(String...) - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
Source files, excluding unit tests and files matching project exclusion patterns.
MAINTAINABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic MAINTAINABILITY
MAJOR - Static variable in class org.sonar.api.rule.Severity
 
MAJOR_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
MAJOR_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
mandatoryParam(String) - Method in class org.sonar.api.server.ws.Request
Returns a non-null value.
mandatoryParamAsBoolean(String) - Method in class org.sonar.api.server.ws.Request
Returns a boolean value.
mandatoryParamAsEnum(String, Class<E>) - Method in class org.sonar.api.server.ws.Request
 
mandatoryParamAsInt(String) - Method in class org.sonar.api.server.ws.Request
Returns an int value.
mandatoryParamAsLong(String) - Method in class org.sonar.api.server.ws.Request
Returns a long value.
mandatoryParamAsStrings(String) - Method in class org.sonar.api.server.ws.Request
 
ManifestUtils - Class in org.sonar.api.utils
 
MANUAL_REPOSITORY_KEY - Static variable in class org.sonar.api.rule.RuleKey
 
markdownDescription() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
markdownText() - Method in interface org.sonar.api.issue.IssueComment
 
match(InputFile) - Method in class org.sonar.api.batch.fs.internal.PathPattern
 
match(InputFile, boolean) - Method in class org.sonar.api.batch.fs.internal.PathPattern
 
match(String) - Method in class org.sonar.api.utils.WildcardPattern
Returns true if specified value matches this pattern.
match(WildcardPattern[], String) - Static method in class org.sonar.api.utils.WildcardPattern
Returns true if specified value matches one of specified patterns.
matches(Issue) - Method in interface org.sonar.api.issue.condition.Condition
 
matches(Issue) - Method in class org.sonar.api.issue.condition.HasIssuePropertyCondition
 
matches(Issue) - Method in class org.sonar.api.issue.condition.HasResolution
 
matches(Issue) - Method in class org.sonar.api.issue.condition.HasStatus
 
matches(Issue) - Method in class org.sonar.api.issue.condition.IsUnResolved
 
matches(Issue) - Method in class org.sonar.api.issue.condition.NotCondition
 
matches(String) - Method in class org.sonar.api.web.ServletFilter.UrlPattern
 
matchesPathPattern(String) - Method in interface org.sonar.api.batch.fs.FilePredicates
Predicate that gets the files which relative or absolute path matches a wildcard pattern.
matchesPathPattern(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
matchesPathPatterns(String[]) - Method in interface org.sonar.api.batch.fs.FilePredicates
Predicate that gets the files matching at least one wildcard pattern.
matchesPathPatterns(String[]) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
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
Deprecated.
 
matchFilePattern(String) - Method in class org.sonar.api.resources.JavaPackage
Deprecated.
 
matchFilePattern(String) - Method in class org.sonar.api.resources.Library
Deprecated.
 
matchFilePattern(String) - Method in class org.sonar.api.resources.Method
Deprecated.
 
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.
MAX_HEIGHT - Static variable in class org.sonar.api.charts.ChartParameters
Deprecated.
 
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
Deprecated.
 
MeanAggregationFormula - Class in org.sonar.api.measures
Deprecated.
since 5.2 decorators are no more executed on batch side
MeanAggregationFormula(boolean) - Constructor for class org.sonar.api.measures.MeanAggregationFormula
Deprecated.
 
MeanAggregationFormula() - Constructor for class org.sonar.api.measures.MeanAggregationFormula
Deprecated.
 
measure(String, Metric<G>) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
measure(String, String) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
Measure<G extends Serializable> - Interface in org.sonar.api.batch.sensor.measure
Measure on File, Directory or Project.
Measure - Interface in org.sonar.api.ce.measure
Measure used in MeasureComputer
Measure<G extends Serializable> - Class in org.sonar.api.measures
A class to handle measures.
Measure(String) - Constructor for class org.sonar.api.measures.Measure
 
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
 
MeasureBuilder - Interface in org.sonar.api.measures
MeasureBuilder helps to build complex measures.
MeasureComputer - Interface in org.sonar.api.ce.measure
Define how to compute new measures on some metrics declared by Metrics.
MeasureComputer.MeasureComputerContext - Interface in org.sonar.api.ce.measure
Context specific to the computation of the measure(s) of a given component
MeasureComputer.MeasureComputerDefinition - Interface in org.sonar.api.ce.measure
 
MeasureComputer.MeasureComputerDefinition.Builder - Interface in org.sonar.api.ce.measure
 
MeasureComputer.MeasureComputerDefinitionContext - Interface in org.sonar.api.ce.measure
Context specific to the definition of the measure computer
measures(String) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
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
 
MeasuresFilters.MetricFilter(String) - Constructor for class org.sonar.api.measures.MeasuresFilters.MetricFilter
 
MeasureUtils - Class in org.sonar.api.measures
An utility class to manipulate measures
MEMORY_EFFICIENCY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic EFFICIENCY
merge(Metric) - Method in class org.sonar.api.measures.Metric
Merge with fields from other metric.
message() - Method in interface org.sonar.api.batch.postjob.issue.Issue
Message of the issue.
message(String) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
 
message() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
 
message() - Method in interface org.sonar.api.batch.sensor.issue.IssueLocation
Message of the issue.
message(String) - Method in interface org.sonar.api.batch.sensor.issue.NewIssueLocation
Optional, but recommended, plain-text message for this location.
message(Locale, String, String, Object...) - Method in interface org.sonar.api.i18n.I18n
Searches the message of the key for the locale in the list of available bundles.
message(String) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
message() - Method in interface org.sonar.api.issue.Issue
 
message() - Method in interface org.sonar.api.test.TestCase
Deprecated.
 
MESSAGE_MAX_SIZE - Static variable in interface org.sonar.api.batch.sensor.issue.NewIssueLocation
Maximum number of characters in the message.
MESSAGE_MAX_SIZE - Static variable in interface org.sonar.api.issue.Issue
Maximum number of characters in the message.
MessageException - Exception in org.sonar.api.utils
Runtime exception for "functional" error.
Method - Class in org.sonar.api.resources
Deprecated.
in 4.2. Only file system components are managed by SQ core (files/directories).
Method(String, String, Language) - Constructor for class org.sonar.api.resources.Method
Deprecated.
 
METHOD - Static variable in class org.sonar.api.resources.Qualifiers
Deprecated.
since 4.2 resources under FILE level will no more be supported.
method() - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
method() - Method in class org.sonar.api.server.ws.Request
Returns the name of the HTTP method with which this request was made.
Metric<G extends Serializable> - Interface in org.sonar.api.batch.measure
 
metric() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
 
metric() - Method in interface org.sonar.api.batch.sensor.measure.Measure
The metric this measure belong to.
metric - Variable in class org.sonar.api.measures.Measure
 
metric(Metric<?>) - Static method in class org.sonar.api.measures.MeasuresFilters
 
metric(String) - Static method in class org.sonar.api.measures.MeasuresFilters
 
Metric<G extends Serializable> - Class in org.sonar.api.measures
 
Metric() - Constructor for class org.sonar.api.measures.Metric
Deprecated.
in 1.12. Use the Metric.Builder factory.
Metric(String) - Constructor for class org.sonar.api.measures.Metric
Deprecated.
since 2.7 use the Metric.Builder factory.
Metric(String, Metric.ValueType) - Constructor for class org.sonar.api.measures.Metric
Deprecated.
since 2.7 use the Metric.Builder factory.
Metric(String, String, String, Metric.ValueType, Integer, Boolean, String) - Constructor for class org.sonar.api.measures.Metric
Deprecated.
since 2.7 use the Metric.Builder factory.
Metric.Builder - Class in org.sonar.api.measures
Metric.Builder is used to create metric definitions.
Metric.Builder(String, String, Metric.ValueType) - Constructor for class org.sonar.api.measures.Metric.Builder
Creates a new Metric.Builder object.
Metric.Level - Enum in org.sonar.api.measures
 
Metric.ValueType - Enum in org.sonar.api.measures
 
MetricFinder - Interface in org.sonar.api.batch.measure
 
MetricFinder - Interface in org.sonar.api.measures
Deprecated.
since 5.1 use MetricFinder on batch side
metricKey - Variable in class org.sonar.api.measures.Measure
 
METRICS - Static variable in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
Metrics of generated measures
Metrics - Interface in org.sonar.api.measures
 
MINOR - Static variable in class org.sonar.api.rule.Severity
 
MINOR_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
MINOR_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
MINUTE - Static variable in class org.sonar.api.utils.Duration
 
minutes() - Method in class org.sonar.api.utils.internal.WorkDuration
 
MINUTES - Static variable in class org.sonar.api.utils.WorkUnit
Deprecated.
 
MockSourceFile - Class in org.sonar.api.component.mock
 
MODULARITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic REUSABILITY
Module - Interface in org.sonar.api.component
 
MODULE - Static variable in class org.sonar.api.resources.Qualifiers
Module of a multi-modules project.
ModuleFileSystem - Interface in org.sonar.api.scan.filesystem
Deprecated.
in 4.2. Replaced by FileSystem
moduleKey() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
moduleKey() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
ModuleScanPhaseHandler - Interface in org.sonar.api.scan.event
 
ModuleScanPhaseHandler.ModuleScanPhaseEvent - Interface in org.sonar.api.scan.event
 
multiple() - Method in class org.sonar.api.server.rule.RuleParamType
 
multipleListOfValues(String...) - Static method in class org.sonar.api.server.rule.RuleParamType
 
multiply(int) - Method in class org.sonar.api.utils.Duration
Multiply the duration with the given factor.
multiply(int) - Method in class org.sonar.api.utils.internal.WorkDuration
 
multiValues(boolean) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
multiValues() - Method in class org.sonar.api.config.PropertyDefinition
 
MutableTestable - Interface in org.sonar.api.test
 
MutableTestCase - Interface in org.sonar.api.test
 
MutableTestPlan - Interface in org.sonar.api.test
 

N

name() - Method in interface org.sonar.api.batch.debt.DebtCharacteristic
 
name() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
name() - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
 
name(String) - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
 
name(String) - Method in interface org.sonar.api.batch.postjob.PostJobDescriptor
Displayable name of the PostJob.
name() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
 
name() - Method in interface org.sonar.api.batch.rule.Rule
 
name() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
name(String) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
name(String) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
Displayable name of the Sensor.
name() - Method in interface org.sonar.api.component.Component
Deprecated.
 
name() - Method in class org.sonar.api.component.mock.MockSourceFile
 
name(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
name() - Method in class org.sonar.api.config.PropertyDefinition
 
name(String) - Method in class org.sonar.api.config.PropertyFieldDefinition.Builder
 
name() - Method in class org.sonar.api.config.PropertyFieldDefinition
 
name() - Method in interface org.sonar.api.issue.ActionPlan
 
NAME - Static variable in class org.sonar.api.resources.Java
Deprecated.
Java name
name() - Method in class org.sonar.api.resources.Project
 
name() - Method in interface org.sonar.api.server.debt.DebtCharacteristic
Deprecated.
 
name() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
name() - Method in class org.sonar.api.server.rule.RulesDefinition.Param
 
name() - Method in interface org.sonar.api.server.rule.RulesDefinition.Repository
 
name() - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
 
name() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
name() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
Deprecated.
 
name() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
name() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
 
name() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
name() - Method in interface org.sonar.api.test.TestCase
Deprecated.
 
name() - Method in interface org.sonar.api.user.User
 
name(String) - Method in class org.sonar.api.utils.text.JsonWriter
Encodes the property name.
names() - Static method in enum org.sonar.api.measures.Metric.Level
 
names() - Static method in enum org.sonar.api.measures.Metric.ValueType
 
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_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
Information about lines of code in file.
NCLOC_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NCLOC_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NCLOC_LANGUAGE_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
 
NCLOC_LANGUAGE_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NETWORK_USE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic EFFICIENCY
NEW_BLOCKER_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_BLOCKER_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_BRANCH_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_CRITICAL_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_CRITICAL_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_INFO_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_INFO_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_BRANCH_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_LINE_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_IT_UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_LINE_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_MAJOR_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_MAJOR_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_MINOR_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_MINOR_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_BRANCH_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_LINE_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_OVERALL_UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_SQALE_DEBT_RATIO - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_SQALE_DEBT_RATIO_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_TECHNICAL_DEBT - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_TECHNICAL_DEBT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NewActiveRule - Class in org.sonar.api.batch.rule.internal
 
NewCoverage - Interface in org.sonar.api.batch.sensor.coverage
This builder is used to define code coverage by tests of a given type (UT/IT/Overall) on files.
newCoverage() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
newCoverage() - Method in interface org.sonar.api.batch.sensor.SensorContext
Builder to define coverage in a file.
newDate() - Method in class org.sonar.api.utils.System2
Deprecated.
in 5.2. Please use System2.now()
newDateConverter() - Static method in class org.sonar.api.utils.KeyValueFormat
 
newDateConverter(String) - Static method in class org.sonar.api.utils.KeyValueFormat
 
newDateTimeConverter() - Static method in class org.sonar.api.utils.KeyValueFormat
 
newDefinitionBuilder() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinitionContext
 
newDefinitionBuilder() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinitionContext
 
newDir() - Method in class org.sonar.api.utils.internal.DefaultTempFolder
 
newDir(String) - Method in class org.sonar.api.utils.internal.DefaultTempFolder
 
newDir() - Method in class org.sonar.api.utils.internal.JUnitTempFolder
 
newDir(String) - Method in class org.sonar.api.utils.internal.JUnitTempFolder
 
newDir() - Method in interface org.sonar.api.utils.TempFolder
Create a directory in temp folder with a random unique name.
newDir(String) - Method in interface org.sonar.api.utils.TempFolder
Create a directory in temp folder using provided name.
newDoubleConverter() - Static method in class org.sonar.api.utils.KeyValueFormat
 
NewDuplication - Interface in org.sonar.api.batch.sensor.duplication

This builder is used to declare duplications on files of the project.

newDuplication() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
newDuplication() - Method in interface org.sonar.api.batch.sensor.SensorContext
Builder to manually register duplication in a file.
newFile() - Method in class org.sonar.api.utils.internal.DefaultTempFolder
 
newFile(String, String) - Method in class org.sonar.api.utils.internal.DefaultTempFolder
 
newFile() - Method in class org.sonar.api.utils.internal.JUnitTempFolder
 
newFile(String, String) - Method in class org.sonar.api.utils.internal.JUnitTempFolder
 
newFile() - Method in interface org.sonar.api.utils.TempFolder
 
newFile(String, String) - Method in interface org.sonar.api.utils.TempFolder
 
NewHighlighting - Interface in org.sonar.api.batch.sensor.highlighting
This builder is used to define syntax highlighting (aka code coloration) on files.
newHighlighting() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
newHighlighting() - Method in interface org.sonar.api.batch.sensor.SensorContext
Builder to define highlighting of a file.
newHighlighting() - Method in interface org.sonar.api.source.Highlightable
 
newInstance(String) - Method in class org.sonar.api.utils.log.Loggers
 
newIntegerConverter() - Static method in class org.sonar.api.utils.KeyValueFormat
 
newIssue() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
NewIssue - Interface in org.sonar.api.batch.sensor.issue
Represents an issue detected by a Sensor.
newIssue() - Method in interface org.sonar.api.batch.sensor.SensorContext
Fluent builder to create a new Issue.
newIssueBuilder() - Method in interface org.sonar.api.issue.Issuable
Builder is used to create the issue to be passed to Issuable.addIssue(Issue)
NewIssueLocation - Interface in org.sonar.api.batch.sensor.issue
Represents one issue location.
newJsonWriter() - Method in interface org.sonar.api.server.ws.Response
 
newLine() - Method in class org.sonar.api.batch.fs.internal.FileMetadata.CharHandler
 
newLocation() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
newLocation() - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
Create a new location for this issue.
newLocation() - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
 
newMeasure() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
NewMeasure<G extends Serializable> - Interface in org.sonar.api.batch.sensor.measure
Builder to create new Measure.
newMeasure() - Method in interface org.sonar.api.batch.sensor.SensorContext
Fluent builder to create a new Measure.
newPointer(int, int) - Method in interface org.sonar.api.batch.fs.InputFile
Returns a TextPointer in the given file.
newPointer(int, int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
newPointer(int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
newPriorityConverter() - Static method in class org.sonar.api.utils.KeyValueFormat
 
newRange(TextPointer, TextPointer) - Method in interface org.sonar.api.batch.fs.InputFile
Returns a TextRange in the given file.
newRange(int, int, int, int) - Method in interface org.sonar.api.batch.fs.InputFile
Returns a TextRange in the given file.
newRange(TextPointer, TextPointer) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
newRange(int, int, int, int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
newRange(int, int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
Create Range from global offsets.
newReference(Symbol, int) - Method in interface org.sonar.api.source.Symbolizable.SymbolTableBuilder
 
NewRule - Class in org.sonar.api.batch.rule.internal
 
NewRuleParam - Class in org.sonar.api.batch.rule.internal
 
newStringConverter() - Static method in class org.sonar.api.utils.KeyValueFormat
 
newSymbol(int, int) - Method in interface org.sonar.api.source.Symbolizable.SymbolTableBuilder
 
newSymbolTableBuilder() - Method in interface org.sonar.api.source.Symbolizable
 
newToStringConverter() - Static method in class org.sonar.api.utils.KeyValueFormat
 
NewUserHandler - Interface in org.sonar.api.platform
 
NewUserHandler.Context - Class in org.sonar.api.platform
 
NewUserHandler.Context.Builder - Class in org.sonar.api.platform
 
newXmlWriter() - Method in interface org.sonar.api.server.ws.Response
 
noContent() - Method in interface org.sonar.api.server.ws.Response
 
Node - Class in org.sonar.api.utils.dag
 
Node(Object) - Constructor for class org.sonar.api.utils.dag.Node
 
nonBlankLines() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
none() - Method in interface org.sonar.api.batch.fs.FilePredicates
Predicate that always evaluates to false
none() - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
Returns a predicate that always evaluates to false
NONE - Static variable in interface org.sonar.api.server.debt.DebtCharacteristic
Deprecated.
Only used when a characteristic is disabled (id is -1 in dto) by the user.
NONE_LANGUAGE - Static variable in class org.sonar.api.resources.Project
Internal use
normalize(String) - Static method in class org.sonar.api.resources.Resource
 
NoSonarFilter - Class in org.sonar.api.checks
Deprecated.
in 3.6. Replaced by NoSonarFilter
NoSonarFilter(SonarIndex) - Constructor for class org.sonar.api.checks.NoSonarFilter
Deprecated.
 
NoSonarFilter - Class in org.sonar.api.issue
Issue filter used to ignore issues created on lines commented with the tag "NOSONAR".
NoSonarFilter() - Constructor for class org.sonar.api.issue.NoSonarFilter
 
noSonarInFile(InputFile, Set<Integer>) - Method in class org.sonar.api.issue.NoSonarFilter
Register lines in a file that contains the NOSONAR flag.
not(FilePredicate) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
not(FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
NotCondition - Class in org.sonar.api.issue.condition
 
NotCondition(Condition) - Constructor for class org.sonar.api.issue.condition.NotCondition
 
Notification - Class in org.sonar.api.notifications
This class represents a notification that will be delivered to users.
Notification(String) - Constructor for class org.sonar.api.notifications.Notification
Create a new Notification of the given type.
NotificationChannel - Class in org.sonar.api.notifications
Plugins should extend this class to provide implementation on a specific way to deliver notifications.
NotificationChannel() - Constructor for class org.sonar.api.notifications.NotificationChannel
 
now() - Method in class org.sonar.api.utils.internal.TestSystem2
 
now() - Method in class org.sonar.api.utils.System2
NUMBER_OF_CHILDREN - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.0. See SONAR-4643
NUMBER_OF_CHILDREN_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.0. See SONAR-4643

O

of(RuleKey) - Method in class org.sonar.api.batch.rule.Checks
 
of(String, String) - Static method in class org.sonar.api.rule.RuleKey
Create a key.
of(String) - Static method in enum org.sonar.api.test.TestCase.Status
Deprecated.
 
of(String) - Static method in exception org.sonar.api.utils.MessageException
 
of(Writer) - Static method in class org.sonar.api.utils.text.CsvWriter
 
of(Writer) - Static method in class org.sonar.api.utils.text.JsonWriter
 
of(Writer) - Static method in class org.sonar.api.utils.text.XmlWriter
 
offset() - Method in class org.sonar.api.batch.debt.DebtRemediationFunction
 
offset() - Method in interface org.sonar.api.server.debt.DebtRemediationFunction
offset() - Method in class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
 
offset() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
since 4.2
offset() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
since 4.2
offset() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
since 4.2
offset() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.2
offset() - Method in class org.sonar.api.utils.Paging
 
offsetUnit() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
offsetUnit() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
 
offsetUnit() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
 
offsetUnit() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.3
offsetValue() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
offsetValue() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
 
offsetValue() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
 
offsetValue() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.3
ofL10n(String, Object...) - Static method in exception org.sonar.api.utils.MessageException
 
ofType(CoverageType) - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
ofType(CoverageType) - Method in interface org.sonar.api.batch.sensor.coverage.NewCoverage
 
on(InputComponent) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
 
on(InputComponent) - Method in interface org.sonar.api.batch.sensor.issue.NewIssueLocation
The InputComponent the issue location belongs to.
on(InputComponent) - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
 
on(InputComponent) - Method in interface org.sonar.api.batch.sensor.measure.NewMeasure
The InputComponent the measure belongs to.
on(FileType...) - Static method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
on(String, String...) - Method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
onChange(GlobalPropertyChangeHandler.PropertyChange) - Method in class org.sonar.api.config.GlobalPropertyChangeHandler
This method gets called when a property is changed.
onDecoratorExecution(DecoratorExecutionHandler.DecoratorExecutionEvent) - Method in interface org.sonar.api.batch.events.DecoratorExecutionHandler
Deprecated.
Called before and after execution of Decorator.
onDecoratorsPhase(DecoratorsPhaseHandler.DecoratorsPhaseEvent) - Method in interface org.sonar.api.batch.events.DecoratorsPhaseHandler
Deprecated.
Called before and after execution of all Decorators.
onFile(InputFile) - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
onFile(InputFile) - Method in interface org.sonar.api.batch.sensor.coverage.NewCoverage
The covered file.
onFile(InputFile) - Method in class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
 
onFile(InputFile) - Method in interface org.sonar.api.batch.sensor.highlighting.NewHighlighting
The file the highlighting belongs to.
onFinished() - Method in class org.sonar.api.batch.AbstractSourceImporter
Deprecated.
 
onInitializerExecution(InitializerExecutionHandler.InitializerExecutionEvent) - Method in interface org.sonar.api.batch.events.InitializerExecutionHandler
Called before and after execution of Initializer.
onInitializersPhase(InitializersPhaseHandler.InitializersPhaseEvent) - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler
Called before and after execution of all Initializerss.
onIssue(IssueHandler.Context) - Method in interface org.sonar.api.issue.IssueHandler
 
onLanguage(String...) - Method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
onlyOnFileType(InputFile.Type) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
onlyOnFileType(InputFile.Type) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
InputFile.Type this Sensor work on.
onlyOnLanguage(String) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
onlyOnLanguage(String) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
Language this Sensor work on.
onlyOnLanguages(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
onlyOnLanguages(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
List languages this Sensor work on.
onlyOnQualifiers(String, String...) - Method in class org.sonar.api.config.PropertyDefinition.Builder
The property will be available in the components with the given qualifiers, but NOT in General Settings.
onlyOnQualifiers(List<String>) - Method in class org.sonar.api.config.PropertyDefinition.Builder
The property will be available in the components with the given qualifiers, but NOT in General Settings.
onMain() - Static method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
onModuleScanPhase(ModuleScanPhaseHandler.ModuleScanPhaseEvent) - Method in interface org.sonar.api.scan.event.ModuleScanPhaseHandler
 
onPostJobExecution(PostJobExecutionHandler.PostJobExecutionEvent) - Method in interface org.sonar.api.batch.events.PostJobExecutionHandler
Called before and after execution of PostJob.
onPostJobsPhase(PostJobsPhaseHandler.PostJobsPhaseEvent) - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler
Called before and after execution of all PostJobs.
onProjectAnalysis(ProjectAnalysisHandler.ProjectAnalysisEvent) - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler
Called before and after analysis of project.
onProjectScan(ProjectScanHandler.ProjectScanEvent) - Method in interface org.sonar.api.scan.event.ProjectScanHandler
 
onQualifiers(String, String...) - Method in class org.sonar.api.config.PropertyDefinition.Builder
The property will be available in General Settings AND in the components with the given qualifiers.
onQualifiers(List<String>) - Method in class org.sonar.api.config.PropertyDefinition.Builder
The property will be available in General Settings AND in the components with the given qualifiers.
onSensorExecution(SensorExecutionHandler.SensorExecutionEvent) - Method in interface org.sonar.api.batch.events.SensorExecutionHandler
Called before and after execution of Sensor.
onSensorsPhase(SensorsPhaseHandler.SensorsPhaseEvent) - Method in interface org.sonar.api.batch.events.SensorsPhaseHandler
Called before and after execution of all Sensors.
onServerStart(Server) - Method in interface org.sonar.api.platform.ServerStartHandler
 
onServerStop(Server) - Method in interface org.sonar.api.platform.ServerStopHandler
 
onSource() - Static method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
onTest() - Static method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
OPEN_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
 
OPEN_ISSUES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
openStream(URI) - Method in class org.sonar.api.utils.HttpDownloader
 
OPERATORS - Static variable in class org.sonar.api.web.Criterion
 
OptimizedFilePredicate - Interface in org.sonar.api.batch.fs.internal
Optimized version of FilePredicate allowing to speed up query by looking at InputFile by index.
options(String, String...) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
options(List<String>) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
options() - Method in class org.sonar.api.config.PropertyDefinition
Options for *_LIST types

Options for property of type PropertyType.SINGLE_SELECT_LIST For example {"property_1", "property_3", "property_3"}).

options(String...) - Method in class org.sonar.api.config.PropertyFieldDefinition.Builder
 
options(List<String>) - Method in class org.sonar.api.config.PropertyFieldDefinition.Builder
 
options() - Method in class org.sonar.api.config.PropertyFieldDefinition
 
or(Collection<FilePredicate>) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
or(FilePredicate...) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
or(FilePredicate, FilePredicate) - Method in interface org.sonar.api.batch.fs.FilePredicates
 
or(Collection<FilePredicate>) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
or(FilePredicate...) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
or(FilePredicate, FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
order() - Method in interface org.sonar.api.batch.debt.DebtCharacteristic
 
order() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
order() - Method in interface org.sonar.api.server.debt.DebtCharacteristic
Deprecated.
 
order() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
order() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
Deprecated.
 
order() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
order() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
 
order() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
org.sonar.api - package org.sonar.api
 
org.sonar.api.batch - package org.sonar.api.batch
 
org.sonar.api.batch.bootstrap - package org.sonar.api.batch.bootstrap
 
org.sonar.api.batch.bootstrap.internal - package org.sonar.api.batch.bootstrap.internal
 
org.sonar.api.batch.debt - package org.sonar.api.batch.debt
 
org.sonar.api.batch.debt.internal - package org.sonar.api.batch.debt.internal
 
org.sonar.api.batch.events - package org.sonar.api.batch.events
 
org.sonar.api.batch.fs - package org.sonar.api.batch.fs
 
org.sonar.api.batch.fs.internal - package org.sonar.api.batch.fs.internal
 
org.sonar.api.batch.measure - package org.sonar.api.batch.measure
 
org.sonar.api.batch.postjob - package org.sonar.api.batch.postjob
 
org.sonar.api.batch.postjob.internal - package org.sonar.api.batch.postjob.internal
 
org.sonar.api.batch.postjob.issue - package org.sonar.api.batch.postjob.issue
 
org.sonar.api.batch.rule - package org.sonar.api.batch.rule
 
org.sonar.api.batch.rule.internal - package org.sonar.api.batch.rule.internal
 
org.sonar.api.batch.scm - package org.sonar.api.batch.scm
 
org.sonar.api.batch.sensor - package org.sonar.api.batch.sensor
 
org.sonar.api.batch.sensor.coverage - package org.sonar.api.batch.sensor.coverage
 
org.sonar.api.batch.sensor.coverage.internal - package org.sonar.api.batch.sensor.coverage.internal
 
org.sonar.api.batch.sensor.duplication - package org.sonar.api.batch.sensor.duplication
 
org.sonar.api.batch.sensor.duplication.internal - package org.sonar.api.batch.sensor.duplication.internal
 
org.sonar.api.batch.sensor.highlighting - package org.sonar.api.batch.sensor.highlighting
 
org.sonar.api.batch.sensor.highlighting.internal - package org.sonar.api.batch.sensor.highlighting.internal
 
org.sonar.api.batch.sensor.internal - package org.sonar.api.batch.sensor.internal
 
org.sonar.api.batch.sensor.issue - package org.sonar.api.batch.sensor.issue
 
org.sonar.api.batch.sensor.issue.internal - package org.sonar.api.batch.sensor.issue.internal
 
org.sonar.api.batch.sensor.measure - package org.sonar.api.batch.sensor.measure
 
org.sonar.api.batch.sensor.measure.internal - package org.sonar.api.batch.sensor.measure.internal
 
org.sonar.api.ce.measure - package org.sonar.api.ce.measure
 
org.sonar.api.ce.measure.test - package org.sonar.api.ce.measure.test
 
org.sonar.api.charts - package org.sonar.api.charts
 
org.sonar.api.checks - package org.sonar.api.checks
 
org.sonar.api.component - package org.sonar.api.component
 
org.sonar.api.component.mock - package org.sonar.api.component.mock
 
org.sonar.api.config - package org.sonar.api.config
 
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.i18n - package org.sonar.api.i18n
 
org.sonar.api.issue - package org.sonar.api.issue
 
org.sonar.api.issue.action - package org.sonar.api.issue.action
 
org.sonar.api.issue.batch - package org.sonar.api.issue.batch
 
org.sonar.api.issue.condition - package org.sonar.api.issue.condition
 
org.sonar.api.measures - package org.sonar.api.measures
 
org.sonar.api.notifications - package org.sonar.api.notifications
 
org.sonar.api.platform - package org.sonar.api.platform
 
org.sonar.api.profiles - package org.sonar.api.profiles
 
org.sonar.api.resources - package org.sonar.api.resources
 
org.sonar.api.rule - package org.sonar.api.rule
 
org.sonar.api.rules - package org.sonar.api.rules
 
org.sonar.api.scan.event - package org.sonar.api.scan.event
 
org.sonar.api.scan.filesystem - package org.sonar.api.scan.filesystem
org.sonar.api.security - package org.sonar.api.security
 
org.sonar.api.server - package org.sonar.api.server
 
org.sonar.api.server.debt - package org.sonar.api.server.debt
 
org.sonar.api.server.debt.internal - package org.sonar.api.server.debt.internal
 
org.sonar.api.server.rule - package org.sonar.api.server.rule
 
org.sonar.api.server.ws - package org.sonar.api.server.ws
 
org.sonar.api.server.ws.internal - package org.sonar.api.server.ws.internal
 
org.sonar.api.source - package org.sonar.api.source
 
org.sonar.api.task - package org.sonar.api.task
 
org.sonar.api.technicaldebt.batch - package org.sonar.api.technicaldebt.batch
 
org.sonar.api.technicaldebt.batch.internal - package org.sonar.api.technicaldebt.batch.internal
 
org.sonar.api.technicaldebt.server - package org.sonar.api.technicaldebt.server
 
org.sonar.api.technicaldebt.server.internal - package org.sonar.api.technicaldebt.server.internal
 
org.sonar.api.test - package org.sonar.api.test
 
org.sonar.api.test.exception - package org.sonar.api.test.exception
 
org.sonar.api.user - package org.sonar.api.user
 
org.sonar.api.utils - package org.sonar.api.utils
 
org.sonar.api.utils.command - package org.sonar.api.utils.command
 
org.sonar.api.utils.dag - package org.sonar.api.utils.dag
 
org.sonar.api.utils.internal - package org.sonar.api.utils.internal
 
org.sonar.api.utils.log - package org.sonar.api.utils.log
 
org.sonar.api.utils.text - package org.sonar.api.utils.text
 
org.sonar.api.violations - package org.sonar.api.violations
 
org.sonar.api.web - package org.sonar.api.web
 
org.sonar.plugins.emailnotifications.api - package org.sonar.plugins.emailnotifications.api
 
ORGANISATION - Static variable in interface org.sonar.api.CoreProperties
 
originalKey() - Method in class org.sonar.api.config.Category
 
originalLineOffsets() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
originBlock() - Method in interface org.sonar.api.batch.sensor.duplication.Duplication
 
originBlock(InputFile, int, int) - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
 
originBlock() - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
 
originBlock(InputFile, int, int) - Method in interface org.sonar.api.batch.sensor.duplication.NewDuplication
Declare duplication origin block.
OS_RELATED_PORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic PORTABILITY
OUTLINE_COLOR - Static variable in class org.sonar.api.charts.AbstractChart
Deprecated.
 
output() - Method in interface org.sonar.api.server.ws.Response.Stream
 
OVERALL_BRANCH_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
OVERALL_CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
OVERALL_CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_COVERAGE_LINE_HITS_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
OVERALL_COVERAGE_LINE_HITS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
OVERALL_COVERED_CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
OVERALL_COVERED_CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 soon to be removed
OVERALL_LINE_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
OVERALL_UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
overlap(TextRange) - Method in class org.sonar.api.batch.fs.internal.DefaultTextRange
 
overlap(TextRange) - Method in interface org.sonar.api.batch.fs.TextRange
Test if the current range has some common area with another range.
overriddenSeverity() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
overriddenSeverity() - Method in interface org.sonar.api.batch.sensor.issue.Issue
Overridden severity.
OVERRIDES - Static variable in class org.sonar.api.rules.ActiveRule
 
overrideSeverity(Severity) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
overrideSeverity(Severity) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
Override severity of the issue.

P

PACKAGE - Static variable in class org.sonar.api.resources.Qualifiers
Deprecated.
since 4.2 now packages are considered as regular directories. Use Qualifiers.DIRECTORY instead.
PACKAGE_CYCLES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
PACKAGE_CYCLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
PACKAGE_EDGES_WEIGHT - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
PACKAGE_EDGES_WEIGHT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
PACKAGE_FEEDBACK_EDGES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
PACKAGE_FEEDBACK_EDGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
PACKAGE_TANGLE_INDEX - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
PACKAGE_TANGLE_INDEX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
PACKAGE_TANGLES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
PACKAGE_TANGLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
PACKAGES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.2 there is now only directory
PACKAGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.2 there is now only directory
PAGE - Static variable in class org.sonar.api.server.ws.WebService.Param
 
Page - Interface in org.sonar.api.web
 
PAGE_SIZE - Static variable in class org.sonar.api.server.ws.WebService.Param
 
PageDecoration - Class in org.sonar.api.web
Adds content to HTML pages.
PageDecoration() - Constructor for class org.sonar.api.web.PageDecoration
 
pageIndex() - Method in class org.sonar.api.utils.Paging
Page index, starting with 1.
pages() - Method in class org.sonar.api.utils.Paging
Number of pages.
pageSize() - Method in class org.sonar.api.utils.Paging
Maximum number of items per page.
Paging - Class in org.sonar.api.utils
 
Paging.Builder - Class in org.sonar.api.utils
 
PAIR_SEPARATOR - Static variable in class org.sonar.api.utils.KeyValueFormat
 
PARAGRAPH - Static variable in class org.sonar.api.resources.Qualifiers
Deprecated.
since 4.2 resources under FILE level will no more be supported.
param(String) - Method in interface org.sonar.api.batch.rule.ActiveRule
Value of given parameter.
param(String) - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
 
param(String) - Method in class org.sonar.api.batch.rule.internal.DefaultRule
 
param(String) - Method in interface org.sonar.api.batch.rule.Rule
 
param(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
param(String) - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
param(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
param(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
param(String) - Method in class org.sonar.api.server.ws.Request
 
param(String, String) - Method in class org.sonar.api.server.ws.Request
Deprecated.
to be dropped in 4.4. Default values are declared in ws metadata
param(String) - Method in class org.sonar.api.server.ws.WebService.Action
 
PARAM_BACKGROUND_COLOR - Static variable in class org.sonar.api.charts.ChartParameters
Deprecated.
 
PARAM_HEIGHT - Static variable in class org.sonar.api.charts.ChartParameters
Deprecated.
 
PARAM_LOCALE - Static variable in class org.sonar.api.charts.ChartParameters
Deprecated.
 
PARAM_WIDTH - Static variable in class org.sonar.api.charts.ChartParameters
Deprecated.
 
paramAsBoolean(String, boolean) - Method in class org.sonar.api.server.ws.Request
Deprecated.
to be dropped in 4.4. Default values must be declared in WebService then this method can be replaced by Request.mandatoryParamAsBoolean(String).
paramAsBoolean(String) - Method in class org.sonar.api.server.ws.Request
 
paramAsDate(String) - Method in class org.sonar.api.server.ws.Request
 
paramAsDateTime(String) - Method in class org.sonar.api.server.ws.Request
 
paramAsEnum(String, Class<E>) - Method in class org.sonar.api.server.ws.Request
 
paramAsEnums(String, Class<E>) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
paramAsEnums(String, Class<E>) - Method in class org.sonar.api.server.ws.Request
 
paramAsInputStream(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
paramAsInputStream(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
paramAsInputStream(String) - Method in class org.sonar.api.server.ws.Request
 
paramAsInt(String, int) - Method in class org.sonar.api.server.ws.Request
Deprecated.
to be dropped in 4.4. Default values must be declared in WebService then this method can be replaced by Request.mandatoryParamAsInt(String).
paramAsInt(String) - Method in class org.sonar.api.server.ws.Request
 
paramAsLong(String, long) - Method in class org.sonar.api.server.ws.Request
Deprecated.
to be dropped in 4.4. Default values must be declared in WebService then this method can be replaced by Request.mandatoryParamAsLong(String).
paramAsLong(String) - Method in class org.sonar.api.server.ws.Request
 
paramAsStrings(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
paramAsStrings(String) - Method in class org.sonar.api.server.ws.Request
 
params() - Method in interface org.sonar.api.batch.rule.ActiveRule
Immutable parameter values.
params() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
 
params() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
 
params() - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
 
params() - Method in interface org.sonar.api.batch.rule.Rule
 
params() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
params() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
params() - Method in class org.sonar.api.server.ws.WebService.Action
 
parent() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
Deprecated.
 
parent() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
parentId() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
parentId() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
parentId() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
 
parentId() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
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) - Static method in class org.sonar.api.rule.RuleKey
Create a key from a string representation (see RuleKey.toString().
parse(String, Collection<Class>) - Method in class org.sonar.api.rules.AnnotationRuleParser
Deprecated.
 
parse(File) - Method in class org.sonar.api.rules.XMLRuleParser
Deprecated.
 
parse(InputStream) - Method in class org.sonar.api.rules.XMLRuleParser
Deprecated.
Warning : the input stream is closed in this method
parse(Reader) - Method in class org.sonar.api.rules.XMLRuleParser
Deprecated.
 
parse(String) - Static method in class org.sonar.api.server.rule.RuleParamType
 
parse(String, KeyValueFormat.Converter<K>, KeyValueFormat.Converter<V>) - Static method in class org.sonar.api.utils.KeyValueFormat
If input is null, then an empty map is returned.
parse(String) - Static method in class org.sonar.api.utils.KeyValueFormat
 
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
 
parseDate(String) - Static method in class org.sonar.api.utils.DateUtils
 
parseDateQuietly(String) - Static method in class org.sonar.api.utils.DateUtils
Parse format DateUtils.DATE_FORMAT.
parseDateTime(String) - Static method in class org.sonar.api.utils.DateUtils
 
parseDateTimeQuietly(String) - Static method in class org.sonar.api.utils.DateUtils
parseDirs(SensorContext, List<File>, List<File>, boolean, Charset) - Method in class org.sonar.api.batch.AbstractSourceImporter
Deprecated.
 
parseIntDate(String) - Static method in class org.sonar.api.utils.KeyValueFormat
 
parseIntDateTime(String) - Static method in class org.sonar.api.utils.KeyValueFormat
 
parseIntDouble(String) - Static method in class org.sonar.api.utils.KeyValueFormat
 
parseIntInt(String) - Static method in class org.sonar.api.utils.KeyValueFormat
 
parseIntString(String) - Static method in class org.sonar.api.utils.KeyValueFormat
 
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
 
parseStringDouble(String) - Static method in class org.sonar.api.utils.KeyValueFormat
 
parseStringInt(String) - Static method in class org.sonar.api.utils.KeyValueFormat
 
ParsingUtils - Class in org.sonar.api.utils
Utility to parse various inputs
PASSWORD - Static variable in interface org.sonar.api.CoreProperties
 
path() - Method in interface org.sonar.api.batch.fs.InputDir
The underlying absolute Path
path() - Method in interface org.sonar.api.batch.fs.InputFile
The underlying absolute Path
path() - Method in interface org.sonar.api.batch.fs.InputPath
 
path() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
path() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
path() - Method in class org.sonar.api.batch.fs.internal.RelativePathPredicate
 
path() - Method in interface org.sonar.api.component.Component
Deprecated.
Path of the component relative to basedir of the parent module.
path() - Method in class org.sonar.api.component.mock.MockSourceFile
 
path() - Method in class org.sonar.api.resources.Project
 
path() - Method in class org.sonar.api.scan.filesystem.PathResolver.RelativePath
 
path() - Method in class org.sonar.api.server.ws.WebService.Action
 
path() - Method in class org.sonar.api.server.ws.WebService.Controller
 
PathPattern - Class in org.sonar.api.batch.fs.internal
 
PathResolver - Class in org.sonar.api.scan.filesystem
 
PathResolver() - Constructor for class org.sonar.api.scan.filesystem.PathResolver
 
PathResolver.RelativePath - Class in org.sonar.api.scan.filesystem
 
PathResolver.RelativePath(File, String) - Constructor for class org.sonar.api.scan.filesystem.PathResolver.RelativePath
 
PathUtils - Class in org.sonar.api.utils
 
PER_BATCH - Static variable in annotation type org.sonar.api.batch.InstantiationStrategy
Shared extension.
PER_PROJECT - Static variable in annotation type org.sonar.api.batch.InstantiationStrategy
Created and initialized for each project and sub-project (a project is a module in Maven terminology).
PERMANENT_SERVER_ID - Static variable in interface org.sonar.api.CoreProperties
 
persistenceMode - Variable in class org.sonar.api.measures.Measure
 
PersistenceMode - Enum in org.sonar.api.measures
Mode of persistence for resources and measures.
personId - Variable in class org.sonar.api.measures.Measure
 
Perspective - Interface in org.sonar.api.component
Deprecated.
since 5.2
Phase - Annotation Type in org.sonar.api.batch
 
Phase.Name - Enum in org.sonar.api.batch
 
PORTABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic PORTABILITY
possibleValues() - Method in class org.sonar.api.server.ws.WebService.Param
 
possibleValues() - Static method in enum org.sonar.api.server.ws.WebService.SelectionMode
 
PostJob - Interface in org.sonar.api.batch
PostJobs are executed at the very end of batch analysis.
PostJob - Interface in org.sonar.api.batch.postjob
PostJobs are executed at the very end of batch analysis.
PostJobContext - Interface in org.sonar.api.batch.postjob
PostJobDescriptor - Interface in org.sonar.api.batch.postjob
Describe what a PostJob is doing.
PostJobExecutionHandler - Interface in org.sonar.api.batch.events
 
PostJobExecutionHandler.PostJobExecutionEvent - Interface in org.sonar.api.batch.events
This interface is not intended to be implemented by clients.
PostJobsPhaseHandler - Interface in org.sonar.api.batch.events
 
PostJobsPhaseHandler.PostJobsPhaseEvent - Interface in org.sonar.api.batch.events
This interface is not intended to be implemented by clients.
predicates() - Method in interface org.sonar.api.batch.fs.FileSystem
Factory of FilePredicate
predicates() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
PREFIX - Static variable in class org.sonar.api.config.EmailSettings
 
PREFIX_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
 
PREVIEW_EXCLUDE_PLUGINS - Static variable in interface org.sonar.api.CoreProperties
 
PREVIEW_EXCLUDE_PLUGINS_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
PREVIEW_INCLUDE_PLUGINS - Static variable in interface org.sonar.api.CoreProperties
 
PREVIEW_INCLUDE_PLUGINS_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
PREVIEW_READ_TIMEOUT_SEC - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
in 5.1 no more used
primaryLocation() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
primaryLocation() - Method in interface org.sonar.api.batch.sensor.issue.Issue
Primary locations for this issue.
println(String) - Method in class org.sonar.api.utils.System2
 
priority() - Method in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
 
priority() - Method in interface org.sonar.api.batch.fs.internal.OptimizedFilePredicate
For optimization.
priority() - Method in class org.sonar.api.batch.fs.internal.RelativePathPredicate
 
PROFILE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.4 doesn't support multi-language. See CoreMetrics.QUALITY_PROFILES_KEY
PROFILE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.4 doesn't support multi-language. See CoreMetrics.QUALITY_PROFILES_KEY
PROFILE_VERSION - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.4 doesn't support multi-language. See CoreMetrics.QUALITY_PROFILES_KEY
PROFILE_VERSION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.4 doesn't support multi-language. See CoreMetrics.QUALITY_PROFILES_KEY
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
 
Profiler - Class in org.sonar.api.utils.log
 
Profiler() - Constructor for class org.sonar.api.utils.log.Profiler
 
PROFILING_LOG_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
PROGRAM_UNIT - Static variable in class org.sonar.api.resources.Scopes
Deprecated.
since 4.3 resources under FILE level are no more be supported since 4.2.
Project - Class in org.sonar.api.resources
A class that manipulates Projects in the Sonar way.
Project(String) - Constructor for class org.sonar.api.resources.Project
 
Project(String, String, String) - Constructor for class org.sonar.api.resources.Project
 
PROJECT - Static variable in class org.sonar.api.resources.Qualifiers
Single project or root of multi-modules projects Scope is Scopes.PROJECT
PROJECT - Static variable in class org.sonar.api.resources.Scopes
For example view, subview, project, module or library.
PROJECT - Static variable in annotation type org.sonar.api.web.WidgetScope
 
Project.AnalysisType - Enum in org.sonar.api.resources
Deprecated.
since 4.4 Since 4.3 SQ will no more run tests. So basically it's always reuse report.
PROJECT_BRANCH_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
PROJECT_COVERAGE_EXCLUSIONS_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_DESCRIPTION_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
PROJECT_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
PROJECT_INCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
PROJECT_KEY_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
PROJECT_LANGUAGE_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 4.2 projects are now multi-language
PROJECT_NAME_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
PROJECT_TEST_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
PROJECT_TEST_INCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
PROJECT_VERSION_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
 
ProjectAnalysisHandler - Interface in org.sonar.api.batch.events
 
ProjectAnalysisHandler.ProjectAnalysisEvent - Interface in org.sonar.api.batch.events
This interface is not intended to be implemented by clients.
ProjectBuilder - Class in org.sonar.api.batch.bootstrap
This extension point allows to change project structure at runtime.
ProjectBuilder(ProjectReactor) - Constructor for class org.sonar.api.batch.bootstrap.ProjectBuilder
Deprecated.
ProjectBuilder() - Constructor for class org.sonar.api.batch.bootstrap.ProjectBuilder
 
ProjectBuilder.Context - Interface in org.sonar.api.batch.bootstrap
Plugins can use the implementation ProjectBuilderContext for their unit tests.
ProjectBuilderContext - Class in org.sonar.api.batch.bootstrap.internal
Context that is passed to ProjectBuilder as parameter.
ProjectBuilderContext(ProjectReactor) - Constructor for class org.sonar.api.batch.bootstrap.internal.ProjectBuilderContext
 
ProjectClasspath - Class in org.sonar.api.batch
Deprecated.
since 4.5 this is some Java specific stuff that should by handled by SQ Java plugin
ProjectClasspath(ProjectDefinition, ProjectFileSystem) - Constructor for class org.sonar.api.batch.ProjectClasspath
Deprecated.
 
ProjectDefinition - Class in org.sonar.api.batch.bootstrap
Defines project metadata (key, name, source directories, ...).
ProjectFileSystem - Interface in org.sonar.api.resources
Deprecated.
since 3.5 replaced by FileSystem
ProjectIssues - Interface in org.sonar.api.issue
Used by batch components to get all project issues.
ProjectKey - Interface in org.sonar.api.batch.bootstrap
 
projectKey() - Method in interface org.sonar.api.issue.ActionPlan
 
projectKey() - Method in interface org.sonar.api.issue.Issue
 
projectReactor() - Method in class org.sonar.api.batch.bootstrap.internal.ProjectBuilderContext
 
projectReactor() - Method in interface org.sonar.api.batch.bootstrap.ProjectBuilder.Context
 
ProjectReactor - Class in org.sonar.api.batch.bootstrap
Mutable project definitions that can be modified by ProjectBuilder extensions.
ProjectReactor(ProjectDefinition) - Constructor for class org.sonar.api.batch.bootstrap.ProjectReactor
 
PROJECTS - Static variable in class org.sonar.api.measures.CoreMetrics
 
PROJECTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
ProjectScanHandler - Interface in org.sonar.api.scan.event
 
ProjectScanHandler.ProjectScanEvent - Interface in org.sonar.api.scan.event
 
projectSettings() - Method in interface org.sonar.api.issue.action.Function.Context
 
ProjectUtils - Class in org.sonar.api.resources
Deprecated.
see method comments
projectUuid() - Method in interface org.sonar.api.issue.Issue
 
prop(String, Number) - Method in class org.sonar.api.utils.text.JsonWriter
Encodes the property name and value.
prop(String, String) - Method in class org.sonar.api.utils.text.JsonWriter
 
prop(String, boolean) - Method in class org.sonar.api.utils.text.JsonWriter
 
prop(String, long) - Method in class org.sonar.api.utils.text.JsonWriter
 
prop(String, double) - Method in class org.sonar.api.utils.text.JsonWriter
 
prop(String, String) - Method in class org.sonar.api.utils.text.XmlWriter
 
prop(String, Number) - Method in class org.sonar.api.utils.text.XmlWriter
 
prop(String, boolean) - Method in class org.sonar.api.utils.text.XmlWriter
 
prop(String, long) - Method in class org.sonar.api.utils.text.XmlWriter
 
prop(String, double) - Method in class org.sonar.api.utils.text.XmlWriter
 
PROP_DIALECT - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_DRIVER - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_EMBEDDED_PORT - Static variable in interface org.sonar.api.database.DatabaseProperties
 
PROP_EMBEDDED_PORT_DEFAULT_VALUE - Static variable in interface org.sonar.api.database.DatabaseProperties
 
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_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
Deprecated.
not documented for a while (before version 3.6) and not supported since version 5.2.
propDate(String, Date) - Method in class org.sonar.api.utils.text.JsonWriter
Encodes the property name and date value (ISO format).
propDateTime(String, Date) - Method in class org.sonar.api.utils.text.JsonWriter
Encodes the property name and datetime value (ISO format).
properties() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
properties() - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
 
properties() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
properties - Variable in class org.sonar.api.config.Settings
 
Properties - Annotation Type in org.sonar.api
Plugin properties.
properties() - Method in class org.sonar.api.utils.System2
PropertiesBuilder<K,V> - Class in org.sonar.api.measures
 
PropertiesBuilder(Metric, Map<K, V>) - 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
 
propertiesByCategory(String) - Method in class org.sonar.api.config.PropertyDefinitions
 
Property - Annotation Type in org.sonar.api
Property value can be set in different ways : System property Batch command-line (-Dfoo=bar in Maven or sonar-runner) Maven pom.xml (element ) Maven settings.xml SonarQube web administration console
property(String) - Method in class org.sonar.api.utils.System2
PropertyDefinition - Class in org.sonar.api.config
Declare a plugin property.
PropertyDefinition.Builder - Class in org.sonar.api.config
 
PropertyDefinition.Result - Class in org.sonar.api.config
 
PropertyDefinitions - Class in org.sonar.api.config
Metadata of all the properties declared by plugins
PropertyDefinitions(Object...) - Constructor for class org.sonar.api.config.PropertyDefinitions
 
PropertyDefinitions(Collection<PropertyDefinition>) - Constructor for class org.sonar.api.config.PropertyDefinitions
 
PropertyField - Annotation Type in org.sonar.api
Property field.
PropertyFieldDefinition - Class in org.sonar.api.config
 
PropertyFieldDefinition.Builder - Class in org.sonar.api.config
 
propertySetKey(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
propertySetKey() - Method in class org.sonar.api.config.PropertyDefinition
 
PropertyType - Enum in org.sonar.api
 
provide() - Method in class org.sonar.api.ExtensionProvider
 
PUBLIC_API - Static variable in class org.sonar.api.measures.CoreMetrics
 
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_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_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 

Q

qualifier() - Method in interface org.sonar.api.component.Component
Deprecated.
 
qualifier() - Method in class org.sonar.api.component.mock.MockSourceFile
 
qualifier - Variable in class org.sonar.api.resources.Method
Deprecated.
 
qualifier() - Method in class org.sonar.api.resources.Project
 
QUALIFIER_CLASS - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.CLASS.
QUALIFIER_DIRECTORY - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.DIRECTORY.
QUALIFIER_FIELD - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.FIELD.
QUALIFIER_FILE - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.FILE.
QUALIFIER_LIB - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.LIBRARY.
QUALIFIER_METHOD - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.METHOD.
QUALIFIER_MODULE - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.MODULE.
QUALIFIER_PACKAGE - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.PACKAGE.
QUALIFIER_PROJECT - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.PROJECT.
QUALIFIER_SUBVIEW - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.SUBVIEW.
QUALIFIER_UNIT_TEST_CLASS - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.UNIT_TEST_FILE.
QUALIFIER_VIEW - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.VIEW.
qualifiers() - Method in class org.sonar.api.config.PropertyDefinition
Qualifiers that can display this property
Qualifiers - Class in org.sonar.api.resources
The qualifier determines the exact type of a resource.
QUALITY_GATE_DETAILS - Static variable in class org.sonar.api.measures.CoreMetrics
The project detailed status with regard to its quality gate.
QUALITY_GATE_DETAILS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
QUALITY_PROFILES - Static variable in class org.sonar.api.measures.CoreMetrics
 
QUALITY_PROFILES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 

R

RailsHandler - Class in org.sonar.api.server.ws
Used to declare web services that are still implemented in Ruby on Rails.
range() - Method in class org.sonar.api.batch.sensor.highlighting.internal.SyntaxHighlightingRule
 
RangeDistributionBuilder - Class in org.sonar.api.ce.measure
Utility to build a distribution based on defined ranges

RangeDistributionBuilder() - Constructor for class org.sonar.api.ce.measure.RangeDistributionBuilder
 
RangeDistributionBuilder(Number[]) - Constructor for class org.sonar.api.ce.measure.RangeDistributionBuilder
RangeDistributionBuilder for a defined range Each entry is initialized at zero
RangeDistributionBuilder - Class in org.sonar.api.measures
Deprecated.
since 5.2 use instead
RangeDistributionBuilder(Metric<String>, Number[]) - Constructor for class org.sonar.api.measures.RangeDistributionBuilder
Deprecated.
RangeDistributionBuilder for a metric and a defined range Each entry is initialized at zero
RangeDistributionBuilder(Metric<String>) - Constructor for class org.sonar.api.measures.RangeDistributionBuilder
Deprecated.
 
RATING_GRID - Static variable in interface org.sonar.api.CoreProperties
 
RATING_GRID_DEF_VALUES - Static variable in interface org.sonar.api.CoreProperties
 
READABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic MAINTAINABILITY
readBase64(String) - Static method in class org.sonar.api.config.License
 
readBytes(URI) - Method in class org.sonar.api.utils.UriReader
Reads all bytes from uri.
readBytes(URI) - Method in class org.sonar.api.utils.UriReader.SchemeProcessor
 
readFile(File, Charset, FileMetadata.CharHandler...) - Static method in class org.sonar.api.batch.fs.internal.FileMetadata
 
readInputStreamParam(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
readMetadata(File, Charset) - Method in class org.sonar.api.batch.fs.internal.FileMetadata
Compute hash of a file ignoring line ends differences.
readMetadata(Reader) - Method in class org.sonar.api.batch.fs.internal.FileMetadata
For testing purpose
readParam(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
readString(URI, Charset) - Method in class org.sonar.api.utils.UriReader
Reads all characters from uri, using the given character set.
readString(URI, Charset) - Method in class org.sonar.api.utils.UriReader.SchemeProcessor
 
references(Symbol) - Method in interface org.sonar.api.source.Symbolizable.SymbolTable
Deprecated.
since 5.2 not used
relativeFile(File, String) - Method in class org.sonar.api.scan.filesystem.PathResolver
 
relativeFiles(File, List<String>) - Method in class org.sonar.api.scan.filesystem.PathResolver
 
relativePath() - Method in interface org.sonar.api.batch.fs.InputDir
Path relative to module base directory.
relativePath() - Method in interface org.sonar.api.batch.fs.InputFile
Path relative to module base directory.
relativePath() - Method in interface org.sonar.api.batch.fs.InputPath
 
relativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
relativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
relativePath() - Method in interface org.sonar.api.scan.filesystem.FileSystemFilter.Context
Deprecated.
Changed in 5.1 as we don't keep track of relative path to source dir File path relative to module base directory.
relativePath(Collection<File>, File) - Method in class org.sonar.api.scan.filesystem.PathResolver
 
relativePath(File, File) - Method in class org.sonar.api.scan.filesystem.PathResolver
 
relativePathFromSourceDir() - Method in class org.sonar.api.resources.Directory
Internal.
relativePathFromSourceDir() - Method in class org.sonar.api.resources.File
Internal.
RelativePathPredicate - Class in org.sonar.api.batch.fs.internal
 
release(String) - Method in interface org.sonar.api.utils.Semaphores
Deprecated.
Release the lock on a semaphore by its name.
RELIABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic RELIABILITY
remove() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
removeActiveRule(ActiveRule) - Method in class org.sonar.api.profiles.RulesProfile
 
removeFromParent() - Method in class org.sonar.api.resources.Project
For internal use only.
removeProperty(String) - Method in class org.sonar.api.config.Settings
 
REOPEN - Static variable in interface org.sonar.api.issue.DefaultTransitions
 
REOPENED_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
 
REOPENED_ISSUES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
reporter(String) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
Login of the user who reported the issue.
reporter() - Method in interface org.sonar.api.issue.Issue
Login of the user who reported this issue.
repositories() - Method in class org.sonar.api.server.rule.RulesDefinition.Context
 
repository() - Method in class org.sonar.api.rule.RuleKey
Never null
repository(String) - Method in class org.sonar.api.server.rule.RulesDefinition.Context
 
repository() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
Request - Class in org.sonar.api.server.ws
 
Request() - Constructor for class org.sonar.api.server.ws.Request
 
RequestHandler - Interface in org.sonar.api.server.ws
 
RequiredMeasures - Annotation Type in org.sonar.api.web
Deprecated.
in 4.5. Not supported anymore in source viewer as Ruby on Rails is being dropped.
requirement - Variable in class org.sonar.api.measures.Measure
 
requirement(Metric, Requirement) - Static method in class org.sonar.api.measures.MeasuresFilters
Deprecated.
since 4.3
Requirement - Interface in org.sonar.api.technicaldebt.batch
Deprecated.
since 4.3
requirements() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
requireProperties(String...) - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
 
requireProperties(String...) - Method in interface org.sonar.api.batch.postjob.PostJobDescriptor
List properties this PostJob depends on.
requireProperties(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
requireProperties(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
List properties this Sensor depends on.
requireProperty(String...) - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
 
requireProperty(String...) - Method in interface org.sonar.api.batch.postjob.PostJobDescriptor
Property this PostJob depends on.
requireProperty(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
requireProperty(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
Property this Sensor depends on.
reset() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
reset() - Method in class org.sonar.api.utils.dag.Node
 
resetSourceDirs() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
resetSources() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
resetTestDirs() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
resetTests() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
resolution() - Method in interface org.sonar.api.ce.measure.Issue
Available list of resolutions can be found in Issue.RESOLUTIONS
resolution() - Method in class org.sonar.api.ce.measure.test.TestIssue
 
resolution() - Method in interface org.sonar.api.issue.Issue
The type of resolution, or null if the issue is not resolved.
RESOLUTION_FALSE_POSITIVE - Static variable in interface org.sonar.api.issue.Issue
Resolution when issue is flagged as false positive.
RESOLUTION_FIXED - Static variable in interface org.sonar.api.issue.Issue
 
RESOLUTION_REMOVED - Static variable in interface org.sonar.api.issue.Issue
Resolution when rule has been uninstalled or disabled in the Quality profile.
RESOLUTION_WONT_FIX - Static variable in interface org.sonar.api.issue.Issue
Issue is irrelevant in the context and was muted by user.
RESOLUTIONS - Static variable in interface org.sonar.api.issue.Issue
 
RESOLVE - Static variable in interface org.sonar.api.issue.DefaultTransitions
 
resolvedIssues() - Method in interface org.sonar.api.batch.postjob.PostJobContext
All the issues of this project that have been marked as resolved during this scan
resolvedIssues() - Method in interface org.sonar.api.issue.Issuable
Deprecated.
since 5.2 no more decorators on batch side
resolvedIssues() - Method in interface org.sonar.api.issue.ProjectIssues
All the issues of this project that have been marked as resolved during this scan
resolveOrder() - Method in class org.sonar.api.utils.dag.Node
 
resolvePath(String) - Method in interface org.sonar.api.batch.fs.FileSystem
Utility method mainly used to resolve location of reports.
resolvePath(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
resolvePath(String) - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
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 - Static variable in annotation type org.sonar.api.web.NavigationSection
 
RESOURCE_CONFIGURATION - Static variable in annotation type org.sonar.api.web.NavigationSection
Only Ruby and rails application.
RESOURCE_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic RELIABILITY
RESOURCE_TAB - Static variable in annotation type org.sonar.api.web.NavigationSection
Deprecated.
in 4.5, as it costs too much to maintain and update.
ResourceFilter - Interface in org.sonar.api.batch
Deprecated.
since 4.2. Analysis is file-system oriented. See org.sonar.api.scan.filesystem.InputFileFilter
resourceKey() - Method in class org.sonar.api.batch.sensor.duplication.Duplication.Block
 
ResourceLanguage - Annotation Type in org.sonar.api.web
The view is displayed only if the selected resource has the same language.
ResourcePermissions - Interface in org.sonar.api.security
Grant access to newly created projects.
ResourcePerspectives - Interface in org.sonar.api.component
Deprecated.
since 5.2. Use appropriate methods on SensorContext.
ResourceQualifier - Annotation Type in org.sonar.api.web
The view is displayed only if the selected resource has the same qualifier.
ResourceScope - Annotation Type in org.sonar.api.web
The view is displayed only if the selected resource has the same qualifier.
ResourceType - Class in org.sonar.api.resources
Experimental extension to declare types of resources.
ResourceType.Builder - Class in org.sonar.api.resources
Builder used to create ResourceType objects.
ResourceType.Builder(String) - Constructor for class org.sonar.api.resources.ResourceType.Builder
Creates a new ResourceType.Builder
ResourceTypes - Class in org.sonar.api.resources
 
ResourceTypes() - Constructor for class org.sonar.api.resources.ResourceTypes
 
ResourceTypes(ResourceTypeTree[]) - Constructor for class org.sonar.api.resources.ResourceTypes
 
ResourceTypeTree - Class in org.sonar.api.resources
 
ResourceTypeTree.Builder - Class in org.sonar.api.resources
 
ResourceUtils - Class in org.sonar.api.resources
 
Response - Interface in org.sonar.api.server.ws
HTTP response
Response.Stream - Interface in org.sonar.api.server.ws
 
responseExample() - Method in class org.sonar.api.server.ws.WebService.Action
 
responseExampleAsString() - Method in class org.sonar.api.server.ws.WebService.Action
 
responseExampleFormat() - Method in class org.sonar.api.server.ws.WebService.Action
 
REUSABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic REUSABILITY
revision() - Method in class org.sonar.api.batch.scm.BlameLine
 
revision(String) - Method in class org.sonar.api.batch.scm.BlameLine
 
RFC - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.2. See SONAR-5042
RFC_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.2. See SONAR-5042
RFC_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.2. See SONAR-5042
RFC_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 4.2. See SONAR-5042
ROOT - Static variable in class org.sonar.api.resources.Directory
 
root() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
rootCharacteristic() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
rootCharacteristic() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
 
rootId() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
since 4.3. return null
rootId() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
RubyComponentService - Interface in org.sonar.api.component
 
RubyRailsPage - Interface in org.sonar.api.web
 
RubyRailsWebservice - Interface in org.sonar.api.web
Deprecated.
in 4.2. Replaced by WebService
RubyRailsWidget - Interface in org.sonar.api.web
Widget in project dashboard page.
RubyUserService - Interface in org.sonar.api.user
 
Rule - Interface in org.sonar.api.batch.rule
 
rule(Metric, RuleKey) - Static method in class org.sonar.api.measures.MeasuresFilters
 
rule(Metric, Rule) - Static method in class org.sonar.api.measures.MeasuresFilters
 
rule() - Method in class org.sonar.api.rule.RuleKey
Never null
Rule - Class in org.sonar.api.rules
 
Rule() - Constructor for class org.sonar.api.rules.Rule
Deprecated.
since 2.3. Use the factory method Rule.create()
Rule(String, String) - Constructor for class org.sonar.api.rules.Rule
Deprecated.
since 2.3. Use the factory method Rule.create()
rule(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.ExtendedRepository
 
rule(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository
 
rule(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
 
rule(String) - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
 
RuleAnnotationUtils - Class in org.sonar.api.rules
 
RuleFinder - Interface in org.sonar.api.rules
Deprecated.
since 5.1. Use ActiveRules on batch side.
RuleI18n - Interface in org.sonar.api.i18n
Deprecated.
in 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
ruleKey() - Method in interface org.sonar.api.batch.postjob.issue.Issue
The RuleKey of this issue.
ruleKey() - Method in interface org.sonar.api.batch.rule.ActiveRule
 
ruleKey(C) - Method in class org.sonar.api.batch.rule.Checks
 
ruleKey() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
 
ruleKey() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
ruleKey() - Method in interface org.sonar.api.batch.sensor.issue.Issue
The RuleKey of this issue.
ruleKey() - Method in interface org.sonar.api.ce.measure.Issue
 
ruleKey() - Method in class org.sonar.api.ce.measure.test.TestIssue
 
ruleKey(RuleKey) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
The rule key is mandatory.
ruleKey() - Method in interface org.sonar.api.issue.Issue
 
ruleKey() - Method in class org.sonar.api.measures.RuleMeasure
Deprecated.
 
RuleKey - Class in org.sonar.api.rule
Key of a rule.
RuleKey(String, String) - Constructor for class org.sonar.api.rule.RuleKey
 
ruleKey() - Method in class org.sonar.api.rules.Rule
 
ruleKey() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
ruleKey() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
 
ruleKey() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
Deprecated.
since 4.3. return null
ruleKey() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.2
RuleMeasure - Class in org.sonar.api.measures
Deprecated.
since 5.2. Ignored by design because of Compute Engine.
RuleMeasure(Metric, Rule, RulePriority, Integer) - Constructor for class org.sonar.api.measures.RuleMeasure
RuleMeasure(Metric, RuleKey, RulePriority, Integer) - Constructor for class org.sonar.api.measures.RuleMeasure
Deprecated.
This constructor is for internal use only.
RuleParam - Interface in org.sonar.api.batch.rule
 
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()
RuleParamType - Class in org.sonar.api.server.rule
 
RulePriority - Enum in org.sonar.api.rules
Deprecated.
since 4.2
RuleQuery - Class in org.sonar.api.rules
 
ruleRepositories() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
RuleRepository - Class in org.sonar.api.rules
Deprecated.
in 4.2. Replaced by org.sonar.api.server.rule.RulesDefinition
RuleRepository(String, String) - Constructor for class org.sonar.api.rules.RuleRepository
Deprecated.
 
Rules - Interface in org.sonar.api.batch.rule
Searches for rules.
rules(Metric) - Static method in class org.sonar.api.measures.MeasuresFilters
 
rules() - Method in interface org.sonar.api.server.rule.RulesDefinition.ExtendedRepository
 
rules() - Method in interface org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository
 
rules() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
 
rules() - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
 
RulesBuilder - Class in org.sonar.api.batch.rule.internal
For unit testing and internal use only.
RulesBuilder() - Constructor for class org.sonar.api.batch.rule.internal.RulesBuilder
 
RulesDefinition - Interface in org.sonar.api.server.rule
Defines some coding rules of the same repository.
RulesDefinition.Context - Class in org.sonar.api.server.rule
Instantiated by core but not by plugins, except for their tests.
RulesDefinition.Context() - Constructor for class org.sonar.api.server.rule.RulesDefinition.Context
 
RulesDefinition.DebtRemediationFunctions - Interface in org.sonar.api.server.rule
RulesDefinition.ExtendedRepository - Interface in org.sonar.api.server.rule
 
RulesDefinition.NewExtendedRepository - Interface in org.sonar.api.server.rule
 
RulesDefinition.NewParam - Class in org.sonar.api.server.rule
 
RulesDefinition.NewRepository - Interface in org.sonar.api.server.rule
 
RulesDefinition.NewRepositoryImpl - Class in org.sonar.api.server.rule
 
RulesDefinition.NewRule - Class in org.sonar.api.server.rule
 
RulesDefinition.Param - Class in org.sonar.api.server.rule
 
RulesDefinition.Repository - Interface in org.sonar.api.server.rule
 
RulesDefinition.RepositoryImpl - Class in org.sonar.api.server.rule
 
RulesDefinition.Rule - Class in org.sonar.api.server.rule
 
RulesDefinition.SubCharacteristics - Class in org.sonar.api.server.rule
Default sub-characteristics of technical debt model.
RulesDefinitionAnnotationLoader - Class in org.sonar.api.server.rule
Read definitions of rules based on the annotations provided by sonar-check-api.
RulesDefinitionAnnotationLoader() - Constructor for class org.sonar.api.server.rule.RulesDefinitionAnnotationLoader
 
RulesDefinitionI18nLoader - Class in org.sonar.api.server.rule
Loads the English bundles of rules (name, description and parameters) that are deprecated since 4.2.
RulesDefinitionI18nLoader(RuleI18n) - Constructor for class org.sonar.api.server.rule.RulesDefinitionI18nLoader
 
RulesDefinitionXmlLoader - Class in org.sonar.api.server.rule
Helper class to load RulesDefinition extension point from a XML file.
RulesDefinitionXmlLoader() - Constructor for class org.sonar.api.server.rule.RulesDefinitionXmlLoader
 
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()
RuleStatus - Enum in org.sonar.api.rule
 
RuleTagFormat - Class in org.sonar.api.server.rule
The characters allowed in rule tags are the same as those on StackOverflow, basically lower-case letters, digits, plus (+), sharp (#), dash (-) and dot (.) See http://meta.stackoverflow.com/questions/22624/what-symbols-characters-are-not-allowed-in-tags

S

sanitize(String) - Static method in class org.sonar.api.utils.PathUtils
Normalize path and replace file separators by forward slash
save() - Method in interface org.sonar.api.batch.sensor.coverage.NewCoverage
Call this method only once when your are done with defining coverage of the file.
save() - Method in interface org.sonar.api.batch.sensor.duplication.NewDuplication
Save the duplication.
save() - Method in interface org.sonar.api.batch.sensor.highlighting.NewHighlighting
Call this method only once when your are done with defining highlighting of the file.
save() - Method in class org.sonar.api.batch.sensor.internal.DefaultStorable
 
save() - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
Save the issue.
save() - Method in interface org.sonar.api.batch.sensor.measure.NewMeasure
Save the measure.
save() - Method in interface org.sonar.api.measures.FileLinesContext
Saves unsaved values.
saveDependency(Dependency) - Method in interface org.sonar.api.batch.DecoratorContext
Deprecated.
since 5.2 No more design features. No-op.
saveDependency(Dependency) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
since 5.2 No more design features. No-op
saveMeasure(Measure) - Method in interface org.sonar.api.batch.DecoratorContext
Add a new measure on the current resource.
saveMeasure(Metric, Double) - Method in interface org.sonar.api.batch.DecoratorContext
Add a new 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(InputFile, Metric, Double) - Method in interface org.sonar.api.batch.SensorContext
Save measure on InputFile
saveMeasure(InputFile, Measure) - Method in interface org.sonar.api.batch.SensorContext
Save measure on InputFile
saveResource(Resource) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
use the methods index()
saveSource(Resource, String) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
since 4.2 Source import is done by the platform
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
SCAN_TASK - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 5.2 no more task concept on batch side
SCM_AUTHORS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.0 SCM data will no more be stored as measures
SCM_AUTHORS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.0 SCM data will no more be stored as measures
SCM_DISABLED_KEY - Static variable in interface org.sonar.api.CoreProperties
 
SCM_LAST_COMMIT_DATETIMES_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.0 SCM data will no more be stored as measures
SCM_LAST_COMMIT_DATETIMES_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.0 SCM data will no more be stored as measures
SCM_PROVIDER_KEY - Static variable in interface org.sonar.api.CoreProperties
 
SCM_REVISIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.0 SCM data will no more be stored as measures
SCM_REVISIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.0 SCM data will no more be stored as measures
ScmProvider - Class in org.sonar.api.batch.scm
See CoreProperties.LINKS_SOURCES_DEV to get old Maven URL format.
ScmProvider() - Constructor for class org.sonar.api.batch.scm.ScmProvider
 
SCOPE - Static variable in class org.sonar.api.resources.File
 
SCOPE - Static variable in class org.sonar.api.resources.Method
Deprecated.
 
SCOPE - Static variable in class org.sonar.api.resources.Project
 
SCOPE_ENTITY - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Scopes.FILE.
SCOPE_SET - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Scopes.PROJECT.
SCOPE_SPACE - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Scopes.DIRECTORY.
Scopes - Class in org.sonar.api.resources
Resource scopes are used to group some types of resources.
scramble(String) - Method in class org.sonar.api.config.Encryption
 
searchText(String) - Method in class org.sonar.api.user.UserQuery.Builder
 
searchText() - Method in class org.sonar.api.user.UserQuery
Search for logins or names containing a given string
Section - Enum in org.sonar.api.web
Deprecated.
add annotation org.sonar.api.web.NavigationSection to View extensions
SECURITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic SECURITY
SECURITY_FEATURES - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic SECURITY
SecurityRealm - Class in org.sonar.api.security
 
SecurityRealm() - Constructor for class org.sonar.api.security.SecurityRealm
 
SELECTED - Static variable in class org.sonar.api.server.ws.WebService.Param
 
selectLine(int) - Method in interface org.sonar.api.batch.fs.InputFile
Returns a TextRange in the given file that select the full line.
selectLine(int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
Semaphores - Interface in org.sonar.api.utils
Deprecated.
in 5.2 as batch analyzer does not connect to database anymore
Semaphores.Semaphore - Class in org.sonar.api.utils
Deprecated.
 
Semaphores.Semaphore() - Constructor for class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
Sensor - Interface in org.sonar.api.batch
A Sensor is invoked once during the analysis of a project.
Sensor - Interface in org.sonar.api.batch.sensor
A sensor is invoked once during the analysis of a project.
SensorContext - Interface in org.sonar.api.batch.sensor
See Sensor.execute(SensorContext) In order to write unit tests you can use SensorContextTester
SensorContext - Interface in org.sonar.api.batch
 
SensorContextTester - Class in org.sonar.api.batch.sensor.internal
Utility class to help testing Sensor.
SensorContextTester.MockAnalysisMode - Class in org.sonar.api.batch.sensor.internal
 
SensorContextTester.MockAnalysisMode() - Constructor for class org.sonar.api.batch.sensor.internal.SensorContextTester.MockAnalysisMode
 
SensorDescriptor - Interface in org.sonar.api.batch.sensor
Describe what a Sensor is doing.
SensorExecutionHandler - Interface in org.sonar.api.batch.events
 
SensorExecutionHandler.SensorExecutionEvent - Interface in org.sonar.api.batch.events
This interface is not intended to be implemented by clients.
SensorsPhaseHandler - Interface in org.sonar.api.batch.events
 
SensorsPhaseHandler.SensorsPhaseEvent - Interface in org.sonar.api.batch.events
This interface is not intended to be implemented by clients.
SensorStorage - Interface in org.sonar.api.batch.sensor.internal
Interface for storing data computed by sensors.
SEPARATOR - Static variable in class org.sonar.api.resources.Directory
 
Server - Class in org.sonar.api.platform
 
Server() - Constructor for class org.sonar.api.platform.Server
 
SERVER_BASE_URL - Static variable in interface org.sonar.api.CoreProperties
 
SERVER_BASE_URL_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
SERVER_ID - Static variable in interface org.sonar.api.CoreProperties
 
SERVER_ID_IP_ADDRESS - 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
Deprecated.
since 5.2 use ServerSide annotation
ServerExtension - Interface in org.sonar.api
Deprecated.
since 5.2 replaced by ServerSide and ExtensionPoint annotations
ServerFileSystem - Interface in org.sonar.api.platform
 
ServerSide - Annotation Type in org.sonar.api.server
Same than BatchSide but for server-side components.
ServerStartHandler - Interface in org.sonar.api.platform
 
ServerStopHandler - Interface in org.sonar.api.platform
 
ServerUpgradeStatus - Interface in org.sonar.api.platform
 
ServletFilter - Class in org.sonar.api.web
 
ServletFilter() - Constructor for class org.sonar.api.web.ServletFilter
 
ServletFilter.UrlPattern - Class in org.sonar.api.web
 
setAction(WebService.Action) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
setActivated(boolean) - Method in class org.sonar.api.web.Dashboard
Set whether the dashboard is activated for all anonymous users or users who haven't configured their own dashboards.
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(ActiveRules) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
setActiveRules(List<ActiveRule>) - Method in class org.sonar.api.profiles.RulesProfile
Set the list of active rules
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.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
Deprecated.
since 4.4 Since 4.3 SQ will no more run tests. So basically it's always reuse report.
setAnalysisVersion(String) - Method in class org.sonar.api.resources.Project
For internal use only.
setAttribute(String, String) - Method in interface org.sonar.api.issue.action.Function.Context
 
setAttribute(String, String) - Method in interface org.sonar.api.issue.IssueHandler.Context
 
setAuthorLogin(String) - Method in interface org.sonar.api.issue.IssueHandler.Context
 
setBaseDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
setBaseDir(File) - Method in class org.sonar.api.resources.Project
 
setBestValue(Double) - Method in class org.sonar.api.measures.Metric.Builder
Sets the best value that the metric can get (example: 100.0 for code coverage).
setBestValue(Double) - Method in class org.sonar.api.measures.Metric
 
setBooleanPossibleValues() - Method in class org.sonar.api.server.ws.WebService.NewParam
 
setBranch(String) - Method in class org.sonar.api.resources.Project
For internal use only.
setBuildDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
setCardinality(Cardinality) - Method in class org.sonar.api.rules.Rule
Deprecated.
setCharacteristic(Characteristic) - Method in class org.sonar.api.measures.Measure
 
setCharacteristic(DefaultCharacteristic) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
setCharacteristicId(Integer) - Method in class org.sonar.api.rules.Rule
Deprecated.
setCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
 
setCharset(Charset) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
setConditions(Condition...) - Method in class org.sonar.api.issue.action.Action
 
setConditions(int, int, int) - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
setConfigKey(String) - Method in class org.sonar.api.rules.Rule
Sets the configuration key
setCoverageBlock(Testable, List<Integer>) - Method in interface org.sonar.api.test.MutableTestCase
setCoverageBlock(InputFile, List<Integer>) - Method in interface org.sonar.api.test.MutableTestCase
 
setCreatedAt(Date) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
setCreatedAt(Date) - Method in class org.sonar.api.rules.Rule
 
setCreatedAt(Date) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
setCreatedAt(Date) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
setCreatedAt(Date) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
setCreatedAt(Date) - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
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
setDate(Date) - Method in class org.sonar.api.measures.Measure
Sets the date of the measure - Used only in TimeMachine queries
setDebt(Duration) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
 
setDebtRemediationFunction(DebtRemediationFunction) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
setDebtSubCharacteristic(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
SQALE sub-characteristic.
setDecoratorContext(DecoratorContext) - Method in class org.sonar.api.batch.DefaultFormulaContext
 
setDefaultCharacteristicId(Integer) - Method in class org.sonar.api.rules.Rule
Deprecated.
setDefaultCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
 
setDefaultMessage(String) - Method in class org.sonar.api.notifications.Notification
When creating a new notification, it is strongly advised to give a default message that can be used by channels that don't want to specifically format messages for different notification types.
setDefaultProfile(Boolean) - Method in class org.sonar.api.profiles.RulesProfile
Set whether this is the default profile for the language.
setDefaultSubCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
 
setDefaultValue(String) - Method in class org.sonar.api.rules.RuleParam
 
setDefaultValue(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewParam
Empty default value will be converted to null.
setDefaultValue(Object) - Method in class org.sonar.api.server.ws.WebService.NewParam
 
setDeleteHistoricalData(boolean) - Method in class org.sonar.api.measures.Metric.Builder
Specifies whether measures from the past can be automatically deleted to minimize database volume.
setDeprecatedKey(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
 
setDeprecatedKey(String) - Method in class org.sonar.api.server.ws.WebService.NewParam
 
setDescription(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
setDescription(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
 
setDescription(String) - Method in class org.sonar.api.batch.rule.internal.NewRuleParam
 
setDescription(String) - Method in class org.sonar.api.measures.Measure
Sets the measure description
setDescription(String) - Method in class org.sonar.api.measures.Metric.Builder
Sets the metric description.
setDescription(String) - Method in class org.sonar.api.measures.Metric
Sets the metric description
setDescription(String) - Method in class org.sonar.api.resources.Library
Deprecated.
 
setDescription(String) - Method in class org.sonar.api.resources.Project
For internal use only.
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.server.rule.RulesDefinition.NewParam
Plain-text description.
setDescription(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
 
setDescription(String) - Method in class org.sonar.api.server.ws.WebService.NewController
Optional description (accept HTML)
setDescription(String) - Method in class org.sonar.api.server.ws.WebService.NewParam
 
setDescription(String) - Method in class org.sonar.api.web.Dashboard
Sets the description of the dashboard.
setDirection(Integer) - Method in class org.sonar.api.measures.Metric.Builder
Sets the metric direction (used for numeric values only), which is used in the Web UI to show if the trend of a metric is good or not.
setDirection(Integer) - Method in class org.sonar.api.measures.Metric
Sets the metric direction.
setDirectory(File) - Method in class org.sonar.api.utils.command.Command
Sets working directory.
setDisplayAs(String) - Method in class org.sonar.api.web.Filter
Set the type of display used by this Filter.
setDomain(String) - Method in class org.sonar.api.measures.Metric.Builder
Sets the domain for the metric (General, Complexity...).
setDomain(String) - Method in class org.sonar.api.measures.Metric
Sets the domain for the metric (General, Complexity...)
setDurationInMs(Long) - Method in interface org.sonar.api.test.MutableTestCase
 
setDurationSinceLocked(Long) - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
setEffectiveKey(String) - Method in class org.sonar.api.resources.Resource
Internal use only
setEffortToFix(Double) - Method in interface org.sonar.api.issue.IssueHandler.Context
 
setEffortToFixDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
For rules that use "Linear"/"Linear with offset" remediation functions, the meaning of the function parameter (= "effort to fix") must be set.
setEmail(String) - Method in class org.sonar.api.database.model.User
 
setEmail(String) - Method in class org.sonar.api.platform.NewUserHandler.Context.Builder
 
setEmail(String) - Method in class org.sonar.api.security.UserDetails
 
setEnabled(Boolean) - Method in class org.sonar.api.measures.Metric
Sets whether the metric is enabled
setEncoding(Charset) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
setEnvironmentVariable(String, String) - Method in class org.sonar.api.utils.command.Command
 
setExampleValue(Object) - Method in class org.sonar.api.server.ws.WebService.NewParam
 
setExcluded(boolean) - Method in class org.sonar.api.resources.Resource
Deprecated.
since 2.6 should use SensorContext#isExcluded(resource). It will make inheritance of Resource easier.
setFactor(WorkUnit) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
since 4.2
setFactor(WorkUnit) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.2
setFactorUnit(WorkDuration.UNIT) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
setFactorUnit(WorkDuration.UNIT) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.3
setFactorValue(int) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
setFactorValue(Integer) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.3
setFallbackForMainMetric(Metric) - Method in class org.sonar.api.measures.AverageFormula
Deprecated.
Set a fallback metric if no measures found for the main metric.
setFavouritesOnly(boolean) - Method in class org.sonar.api.web.Filter
The Filter can be configured to return only favourites.
setFieldValue(String, String) - Method in class org.sonar.api.notifications.Notification
Adds a field (kind of property) to the notification
setFileSystem(DefaultFileSystem) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
setFileSystem(ProjectFileSystem) - Method in class org.sonar.api.resources.Project
Deprecated.
since 2.6. See http://jira.sonarsource.com/browse/SONAR-2126
setFormula(Formula) - Method in class org.sonar.api.measures.Metric.Builder
Deprecated.
since 5.2, it's no more possible to define a formula on a metric, please use MeasureComputer instead
setFormula(Formula) - Method in class org.sonar.api.measures.Metric
Deprecated.
since 5.2 there's no more decorator on batch side, please use MeasureComputer instead
setFrom(Resource) - Method in class org.sonar.api.design.Dependency
Deprecated.
For internal use only
setFrom(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
setFromCore() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
For internal use.
setFromCore(boolean) - Method in class org.sonar.api.measures.Measure
For internal use
setFunction(String) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
setFunction(String) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.2
setFunctions(Function...) - Method in class org.sonar.api.issue.action.Action
 
setGlobal(boolean) - Method in class org.sonar.api.web.Dashboard
A dashboard is global when it doesn't display information from a projet but rather more general information.
setHandler(RequestHandler) - Method in class org.sonar.api.server.ws.WebService.NewAction
 
setHash(String) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
setHeader(String, String) - Method in interface org.sonar.api.server.ws.Response
 
setHidden(boolean) - Method in class org.sonar.api.measures.Metric.Builder
Sets whether the metric should be hidden in Web UI (e.g.
setHidden(Boolean) - Method in class org.sonar.api.measures.Metric
 
setHits(int, int) - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
setHtmlDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
setHtmlDescription(URL) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
Load description from a file available in classpath.
setIconPath(String) - Method in class org.sonar.api.resources.ResourceType.Builder
Relative path of the icon used to represent the resource type.
setId(Integer) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
setId(Integer) - Method in class org.sonar.api.batch.rule.internal.NewRule
 
setId(Integer) - Method in class org.sonar.api.database.BaseIdentifiable
 
setId(Long) - Method in class org.sonar.api.design.Dependency
Deprecated.
Internal use only.
setId(Long) - Method in class org.sonar.api.measures.Measure
Deprecated.
since 4.4 not used
setId(Integer) - Method in class org.sonar.api.measures.Metric
For 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.
since 2.3. visibility should be decreased to protected or package
setId(Integer) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
setId(Integer) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
setId(Integer) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
setId(Integer) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
setInheritance(String) - Method in class org.sonar.api.rules.ActiveRule
For internal use only.
setInputMetrics(String...) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition.Builder
List of metric keys of the measures that will be loaded by this computer.
setInputMetrics(String...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition.MeasureComputerDefinitionBuilderImpl
 
setInternal(boolean) - Method in class org.sonar.api.server.ws.WebService.NewAction
 
setInternalKey(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
 
setInternalKey(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
 
setInternalKey(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
Optional key that can be used by the rule engine.
setIntValue(String, int, int) - Method in interface org.sonar.api.measures.FileLinesContext
 
setIntValue(Integer) - Method in class org.sonar.api.measures.Measure
Sets the measure value as an int
setIssues(boolean) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester.MockAnalysisMode
 
setIssues(List<Issue>) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
setIsTemplate(boolean) - Method in class org.sonar.api.rules.Rule
 
setKey(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
setKey(String) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
setKey(String) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
 
setKey(String) - Method in class org.sonar.api.component.mock.MockSourceFile
 
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.resources.Resource
Internal use only
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(String) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
setKey(String) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
setKey(String) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
setLanguage(String) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
setLanguage(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
 
setLanguage(String) - Method in class org.sonar.api.component.mock.MockSourceFile
 
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
Internal use
setLanguage(String) - Method in class org.sonar.api.rules.Rule
For internal use only.
setLastValidOffset(int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
setLatestAnalysis(boolean) - Method in class org.sonar.api.resources.Project
Deprecated.
in 3.6. It's not possible to analyze a project before the latest known quality snapshot. See http://jira.sonarsource.com/browse/SONAR-4334
setLayout(DashboardLayout) - Method in class org.sonar.api.web.Dashboard
 
setLevel(LoggerLevel) - Method in interface org.sonar.api.utils.log.Logger
Attempt to change logger level.
setLevel(LoggerLevel) - Method in class org.sonar.api.utils.log.Loggers
 
setLevel(LoggerLevel) - Method in class org.sonar.api.utils.log.LogTester
Enable/disable debug logs.
setLevelToDebug() - Method in class org.sonar.api.utils.TimeProfiler
Deprecated.
 
setLine(Integer) - Method in interface org.sonar.api.issue.IssueHandler.Context
 
setLines(int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
setLocked(boolean) - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
setLockedAt(Date) - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
setLogger(Logger) - Method in class org.sonar.api.utils.TimeProfiler
Deprecated.
 
setLogin(String) - Method in class org.sonar.api.database.model.User
 
setLogin(String) - Method in class org.sonar.api.platform.NewUserHandler.Context.Builder
 
setLongName(String) - Method in class org.sonar.api.component.mock.MockSourceFile
 
setMarkdownDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
setMarkdownDescription(URL) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
Load description from a file available in classpath.
setMediaType(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
setMediaType(String) - Method in interface org.sonar.api.server.ws.Response.Stream
 
setMessage(String) - Method in interface org.sonar.api.issue.IssueHandler.Context
 
setMessage(String) - Method in interface org.sonar.api.test.MutableTestCase
 
setMessage(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
setMessageId(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
setMetric(Metric) - Method in class org.sonar.api.batch.DefaultFormulaContext
 
setMetric(Metric<G>) - Method in class org.sonar.api.measures.Measure
Set the underlying metric
setMetric(Metric) - Method in class org.sonar.api.measures.PropertiesBuilder
 
setMimeType(String) - Method in class org.sonar.api.profiles.ProfileExporter
 
setMinimumScopeToPersist(String) - Method in class org.sonar.api.measures.SumChildDistributionFormula
Deprecated.
 
setModuleBaseDir(Path) - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
For testing purpose.
setModuleBaseDir(Path) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
For testing purpose.
setName(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
setName(String) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
setName(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
 
setName(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
 
setName(String) - Method in class org.sonar.api.component.mock.MockSourceFile
 
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.platform.NewUserHandler.Context.Builder
 
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.resources.AbstractLanguage
Sets the language name
setName(String) - Method in class org.sonar.api.resources.Library
Deprecated.
 
setName(String) - Method in class org.sonar.api.resources.Project
For internal use only.
setName(String) - Method in class org.sonar.api.rules.Rule
Sets the rule name
setName(String) - Method in class org.sonar.api.rules.RuleRepository
Deprecated.
 
setName(String) - Method in class org.sonar.api.security.UserDetails
 
setName(String) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
setName(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewParam
 
setName(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.NewRepository
 
setName(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
 
setName(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
Required rule name
setName(String) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
setName(String, boolean) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
setName(String) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
setName(String) - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
setNewShell(boolean) - Method in class org.sonar.api.utils.command.Command
Set to true if a new shell should be used to execute the command.
setNonBlankLines(int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
setNow(long) - Method in class org.sonar.api.utils.internal.TestSystem2
 
setOffset(WorkUnit) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
since 4.2
setOffset(WorkUnit) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.2
setOffsetUnit(WorkDuration.UNIT) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
setOffsetUnit(WorkDuration.UNIT) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.3
setOffsetValue(int) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
setOffsetValue(Integer) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.3
setOptimizedBestValue(boolean) - Method in class org.sonar.api.measures.Metric.Builder
Specifies whether file-level measures that equal to the defined best value are stored or not.
setOptimizedBestValue(Boolean) - Method in class org.sonar.api.measures.Metric
 
setOrder(Integer) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
setOrder(Integer) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
setOrder(Integer) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
setOrder(Integer) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
setOriginalLineOffsets(int[]) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
setOriginBlock(Duplication.Block) - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
 
setOutputMetrics(String...) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition.Builder
List of metric keys of the measures that can be added by this computer.
setOutputMetrics(String...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition.MeasureComputerDefinitionBuilderImpl
 
setPageSize(int) - Method in class org.sonar.api.web.Filter
Set the size of a page displayed this Filter.
setParam(String, String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
 
setParam(String, String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
setParameter(String, String) - Method in class org.sonar.api.rules.ActiveRule
 
setParamKey(String) - Method in class org.sonar.api.rules.ActiveRuleParam
 
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
Deprecated.
 
setParent(Project) - Method in class org.sonar.api.resources.Project
For internal use only.
setParent(Rule) - Method in class org.sonar.api.rules.Rule
Deprecated.
since 4.4, use Rule.setTemplate(Rule)}
setParent(DefaultCharacteristic) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
setParentId(Integer) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
setParentId(Integer) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
setParentId(Integer) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
setParentName(String) - Method in class org.sonar.api.profiles.RulesProfile
For internal use only.
setPath(String) - Method in class org.sonar.api.component.mock.MockSourceFile
 
setPath(String) - Method in class org.sonar.api.resources.Resource
 
setPathToSecretKey(String) - Method in class org.sonar.api.config.Encryption
 
setPersistenceMode(PersistenceMode) - Method in class org.sonar.api.measures.Measure
Sets the persistence mode of a measure.
setPersonId(Integer) - Method in class org.sonar.api.measures.Measure
 
setPossibleValues(Object...) - Method in class org.sonar.api.server.ws.WebService.NewParam
Exhaustive list of possible values when it makes sense, for example list of severities.
setPossibleValues(Collection<?>) - Method in class org.sonar.api.server.ws.WebService.NewParam
Exhaustive list of possible values when it makes sense, for example list of severities.
setPost(boolean) - Method in class org.sonar.api.server.ws.WebService.NewAction
 
setPreview(boolean) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester.MockAnalysisMode
 
setPriority(RulePriority) - Method in class org.sonar.api.rules.ActiveRule
Deprecated.
since 2.5 use ActiveRule.setSeverity(RulePriority) instead. See http://jira.sonarsource.com/browse/SONAR-1829
setProperties(Properties) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
setProperties(Map<String, String>) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
setProperties(Map<String, String>) - Method in class org.sonar.api.config.Settings
 
setProperty(String, String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
setProperty(String, String[]) - Method in class org.sonar.api.config.Settings
 
setProperty(String, String) - Method in class org.sonar.api.config.Settings
 
setProperty(String, Boolean) - Method in class org.sonar.api.config.Settings
 
setProperty(String, Integer) - Method in class org.sonar.api.config.Settings
 
setProperty(String, Long) - Method in class org.sonar.api.config.Settings
 
setProperty(String, Double) - Method in class org.sonar.api.config.Settings
 
setProperty(String, Float) - Method in class org.sonar.api.config.Settings
 
setProperty(String, Date) - Method in class org.sonar.api.config.Settings
 
setProperty(String, Date, boolean) - Method in class org.sonar.api.config.Settings
 
setProperty(String, String) - Method in class org.sonar.api.resources.ResourceType.Builder
Sets a property on the resource type.
setProperty(String, boolean) - Method in class org.sonar.api.resources.ResourceType.Builder
 
setProperty(String, String) - Method in class org.sonar.api.web.Dashboard.Widget
 
setQualifier(String) - Method in class org.sonar.api.component.mock.MockSourceFile
 
setQualifier(String) - Method in class org.sonar.api.resources.File
 
setQualitative(Boolean) - Method in class org.sonar.api.measures.Metric.Builder
Sets whether the metric is qualitative or not.
setQualitative(Boolean) - Method in class org.sonar.api.measures.Metric
Sets whether the metric is qualitative
setRawValue(Double) - Method in class org.sonar.api.measures.Measure
For internal use
setRepositoryKey(String) - Method in class org.sonar.api.rules.Rule
 
setRequired(boolean) - Method in class org.sonar.api.server.ws.WebService.NewParam
Is the parameter required or optional ? Default value is false (optional).
setRequirement(Requirement) - Method in class org.sonar.api.measures.Measure
Deprecated.
since 4.3
setResolution(String) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
 
setResponseExample(URL) - Method in class org.sonar.api.server.ws.WebService.NewAction
Link to the document containing an example of response.
setRoot(DefaultCharacteristic) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
setRootCharacteristic(DefaultCharacteristic) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
setRootId(Integer) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
setRule(Rule) - Method in class org.sonar.api.measures.RuleMeasure
setRule(Rule) - Method in class org.sonar.api.rules.ActiveRule
Deprecated.
visibility should be reduced to protected or package
setRuleKey(RuleKey) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
 
setRuleKey(RuleKey) - Method in class org.sonar.api.measures.RuleMeasure
Deprecated.
 
setRuleKey(RuleKey) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
setRuleKey(RuleKey) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.2
setRuleParam(RuleParam) - Method in class org.sonar.api.rules.ActiveRuleParam
Deprecated.
visibility should be decreased to protected or package
setRulePriority(RulePriority) - Method in class org.sonar.api.measures.RuleMeasure
Deprecated.
since 2.14 use RuleMeasure.setSeverity(org.sonar.api.rules.RulePriority) instead. See SONAR-1829.
setRulesProfile(RulesProfile) - Method in class org.sonar.api.rules.ActiveRule
Deprecated.
visibility should be reduced to protected or package
setSerializeEmptys(boolean) - Method in class org.sonar.api.utils.text.JsonWriter
Enable/disable serialization of properties which value is an empty String.
setSerializeNulls(boolean) - Method in class org.sonar.api.utils.text.JsonWriter
 
setSettings(Settings) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
setSettings(Settings) - Method in class org.sonar.api.resources.Project
Internal use
setSeverity(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
 
setSeverity(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
 
setSeverity(String) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
 
setSeverity(String) - Method in interface org.sonar.api.issue.IssueHandler.Context
 
setSeverity(RulePriority) - Method in class org.sonar.api.measures.RuleMeasure
Deprecated.
 
setSeverity(RulePriority) - Method in class org.sonar.api.rules.ActiveRule
 
setSeverity(RulePriority) - Method in class org.sonar.api.rules.Rule
 
setSeverity(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
setSince(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
 
setSince(String) - Method in class org.sonar.api.server.ws.WebService.NewController
Optional version when the controller was created
setSourceDirs(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
setSourceDirs(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
setSources(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
setSources(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
setStackTrace(String) - Method in interface org.sonar.api.test.MutableTestCase
 
setStatus(InputFile.Status) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
setStatus(RuleStatus) - Method in class org.sonar.api.batch.rule.internal.NewRule
 
setStatus(String) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
 
setStatus(String) - Method in class org.sonar.api.rules.Rule
 
setStatus(RuleStatus) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
Default value is RuleStatus.READY.
setStatus(int) - Method in interface org.sonar.api.server.ws.Response.Stream
 
setStatus(TestCase.Status) - Method in interface org.sonar.api.test.MutableTestCase
 
setStringValue(String, int, String) - Method in interface org.sonar.api.measures.FileLinesContext
 
setSubCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
 
setSubject(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
setSupportedLanguages(String...) - Method in class org.sonar.api.profiles.ProfileExporter
 
setSupportedLanguages(String...) - Method in class org.sonar.api.profiles.ProfileImporter
 
setSwitchedOff(boolean) - Method in class org.sonar.api.violations.ViolationQuery
Deprecated.
Specifies if the query should return only switched-off violations.
setSwitchMode(ViolationQuery.SwitchMode) - Method in class org.sonar.api.violations.ViolationQuery
Deprecated.
 
setSymbolTable(Symbolizable.SymbolTable) - Method in interface org.sonar.api.source.Symbolizable
 
setTags(String[]) - Method in class org.sonar.api.rules.Rule
For definition of rule only
setTags(String...) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
setTemplate(Rule) - Method in class org.sonar.api.rules.Rule
 
setTemplate(boolean) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
setTemplateRuleKey(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
 
setTendency(Integer) - Method in class org.sonar.api.measures.Measure
Deprecated.
since 5.2. See https://jira.sonarsource.com/browse/SONAR-6392
setTestDirs(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
setTestDirs(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
setTests(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
setTests(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
settings() - Method in interface org.sonar.api.batch.postjob.PostJobContext
Get settings of the current project.
settings() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
settings() - Method in interface org.sonar.api.batch.sensor.SensorContext
Get settings of the current module.
Settings - Interface in org.sonar.api.ce.measure
Settings of the current component used in MeasureComputer
Settings - Class in org.sonar.api.config
Project settings on batch side, or global settings on server side.
Settings() - Constructor for class org.sonar.api.config.Settings
 
Settings(PropertyDefinitions) - Constructor for class org.sonar.api.config.Settings
 
Settings(Settings) - Constructor for class org.sonar.api.config.Settings
Clone settings.
setTo(Resource) - Method in class org.sonar.api.design.Dependency
Deprecated.
For internal use only
setTo(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
setType(InputFile.Type) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
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
 
setType(RuleParamType) - Method in class org.sonar.api.server.rule.RulesDefinition.NewParam
 
setType(String) - Method in interface org.sonar.api.test.MutableTestCase
Deprecated.
since 5.2 not used
setUniqueKey(String, String) - Method in class org.sonar.api.rules.Rule
 
setUpdatedAt(Date) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
setUpdatedAt(Date) - Method in class org.sonar.api.rules.Rule
 
setUpdatedAt(Date) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
setUpdatedAt(Date) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
setUpdatedAt(Date) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
setUpdatedAt(Date) - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
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
Deprecated.
 
setUsed(Boolean) - Method in class org.sonar.api.profiles.RulesProfile
Deprecated.
profile versioning is dropped in 4.4. Always returns -1.
setUserId(String) - Method in class org.sonar.api.security.UserDetails
 
setUserManaged(boolean) - Method in class org.sonar.api.measures.Metric.Builder
Specifies whether this metric can be edited online in the "Manual measures" page.
setUserManaged(Boolean) - Method in class org.sonar.api.measures.Metric
Sets whether the metric is managed by users ("manual metric")
setUuid(String) - Method in class org.sonar.api.resources.Resource
Internal use only
setValue(String, String) - Method in class org.sonar.api.ce.measure.test.TestSettings
 
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
Deprecated.
 
setValue(String) - Method in class org.sonar.api.rules.ActiveRuleParam
 
setVariation(int, Double) - Method in class org.sonar.api.measures.Measure
Internal use only
setVariation1(Double) - Method in class org.sonar.api.measures.Measure
Internal use only
setVariation2(Double) - Method in class org.sonar.api.measures.Measure
Internal use only
setVariation3(Double) - Method in class org.sonar.api.measures.Measure
Internal use only
setVariation4(Double) - Method in class org.sonar.api.measures.Measure
Internal use only
setVariation5(Double) - Method in class org.sonar.api.measures.Measure
Internal use only
setVersion(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
setVersion(int) - Method in class org.sonar.api.profiles.RulesProfile
Deprecated.
profile versioning is dropped in 4.4. Always returns -1.
setWeight(int) - Method in class org.sonar.api.design.Dependency
Deprecated.
 
setWorkDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
setWorkDir(File) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
setWorstValue(Double) - Method in class org.sonar.api.measures.Metric.Builder
Sets the worst value that the metric can get (example: 0.0 for code coverage).
setWorstValue(Double) - Method in class org.sonar.api.measures.Metric
 
severity() - Method in interface org.sonar.api.batch.postjob.issue.Issue
Severity.
severity() - Method in interface org.sonar.api.batch.rule.ActiveRule
Non-null severity.
severity() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
 
severity() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
 
severity() - Method in interface org.sonar.api.batch.rule.Rule
 
Severity - Enum in org.sonar.api.batch.rule
 
severity() - Method in interface org.sonar.api.ce.measure.Issue
See constants in Severity.
severity() - Method in class org.sonar.api.ce.measure.test.TestIssue
 
severity(String) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
Overrides the severity declared in Quality profile.
severity() - Method in interface org.sonar.api.issue.Issue
See constants in Severity.
Severity - Class in org.sonar.api.rule
 
severity() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
shouldDecorateResource(Resource) - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
Deprecated.
 
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractSourceImporter
Deprecated.
 
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
Deprecated.
shouldExecuteOnProject(Project) - Method in interface org.sonar.api.batch.CheckProject
 
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.Initializer
 
shouldSaveZeroIfNoChildMeasures() - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
Deprecated.
 
SimpleGetRequest - Class in org.sonar.api.server.ws.internal
Fake implementation of Request used for testing.
SimpleGetRequest() - Constructor for class org.sonar.api.server.ws.internal.SimpleGetRequest
 
since() - Method in class org.sonar.api.server.ws.WebService.Action
Set if different than controller.
since() - Method in class org.sonar.api.server.ws.WebService.Controller
 
singleListOfValues(String...) - Static method in class org.sonar.api.server.rule.RuleParamType
 
SIZE_METRIC - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
no used anymore since 5.2
SKIPPED_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
 
SKIPPED_TESTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
SMTP_HOST - Static variable in class org.sonar.api.config.EmailSettings
 
SMTP_HOST_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
 
SMTP_PASSWORD - Static variable in class org.sonar.api.config.EmailSettings
 
SMTP_PASSWORD_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
 
SMTP_PORT - Static variable in class org.sonar.api.config.EmailSettings
 
SMTP_PORT_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
 
SMTP_SECURE_CONNECTION - Static variable in class org.sonar.api.config.EmailSettings
 
SMTP_SECURE_CONNECTION_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
 
SMTP_USERNAME - Static variable in class org.sonar.api.config.EmailSettings
 
SMTP_USERNAME_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
 
SOFTWARE_RELATED_PORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic PORTABILITY
SONAR_HOME - Static variable in interface org.sonar.api.CoreProperties
 
SONAR_WAY_FINDBUGS_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
Deprecated.
in 4.2. Use your own constant.
SONAR_WAY_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
Deprecated.
in 4.2. Use your own constant.
SonarException - Exception in org.sonar.api.utils
Deprecated.
in 4.4. Use standard exceptions like IllegalArgumentException or IllegalStateException. Use MessageException for raising errors to end-users without displaying stackstrace.
SonarException() - Constructor for exception org.sonar.api.utils.SonarException
Deprecated.
 
SonarException(String) - Constructor for exception org.sonar.api.utils.SonarException
Deprecated.
 
SonarException(String, Throwable) - Constructor for exception org.sonar.api.utils.SonarException
Deprecated.
 
SonarException(Throwable) - Constructor for exception org.sonar.api.utils.SonarException
Deprecated.
 
SonarIndex - Class in org.sonar.api.batch
Deprecated.
since 4.5.2 should not be used by plugins. Everything should be accessed using SensorContext.
SonarIndex() - Constructor for class org.sonar.api.batch.SonarIndex
Deprecated.
 
SonarPlugin - Class in org.sonar.api
Plugin entry-point used to declare its extensions (see Extension.
SonarPlugin() - Constructor for class org.sonar.api.SonarPlugin
 
SORT - Static variable in class org.sonar.api.server.ws.WebService.Param
 
sort() - Method in class org.sonar.api.utils.dag.DirectAcyclicGraph
 
SORTED_SCOPES - Static variable in class org.sonar.api.resources.Scopes
 
SOURCE_DIRS_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
SOURCE_FILES_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
sourceCharset() - Method in interface org.sonar.api.scan.filesystem.ModuleFileSystem
Deprecated.
Default charset for files of the module.
sourceDirs() - Method in interface org.sonar.api.scan.filesystem.ModuleFileSystem
Deprecated.
since 4.2 use FileSystem.files(org.sonar.api.batch.fs.FilePredicate) to get all files with type InputFile.Type#MAIN.
sourceExclusions() - Method in class org.sonar.api.scan.filesystem.FileExclusions
 
SourceFile - Interface in org.sonar.api.component
 
sourceInclusions() - Method in class org.sonar.api.scan.filesystem.FileExclusions
 
sources() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
SOURCES_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
SQALE_DEBT_RATIO - Static variable in class org.sonar.api.measures.CoreMetrics
 
SQALE_DEBT_RATIO_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
SQALE_RATING - Static variable in class org.sonar.api.measures.CoreMetrics
 
SQALE_RATING_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
SquidUtils - Class in org.sonar.api.batch
Deprecated.
since 4.2
stackTrace() - Method in interface org.sonar.api.test.TestCase
Deprecated.
 
start() - Method in class org.sonar.api.batch.fs.internal.DefaultTextRange
 
start() - Method in interface org.sonar.api.batch.fs.TextRange
Start position of the range
start() - Method in class org.sonar.api.utils.internal.TempFolderCleaner
This method should not be renamed.
start() - Method in class org.sonar.api.utils.log.Profiler
 
start(String) - Method in class org.sonar.api.utils.TimeProfiler
Deprecated.
 
START_VIOLATION_PERSISTENCE - Static variable in interface org.sonar.api.batch.DecoratorBarriers
Deprecated.
in 3.6. Issues are persisted at the end of analysis.
START_VIOLATION_TRACKING - Static variable in interface org.sonar.api.batch.DecoratorBarriers
Deprecated.
in 3.6. Not required anymore.
START_VIOLATIONS_GENERATION - Static variable in interface org.sonar.api.batch.DecoratorBarriers
Deprecated.
in 3.6. Not required anymore.
startDebug(String) - Method in class org.sonar.api.utils.log.Profiler
 
startInfo(String) - Method in class org.sonar.api.utils.log.Profiler
 
startLine() - Method in class org.sonar.api.batch.sensor.duplication.Duplication.Block
 
startTrace(String) - Method in class org.sonar.api.utils.log.Profiler
 
STATEMENTS - Static variable in class org.sonar.api.measures.CoreMetrics
 
STATEMENTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
status() - Method in interface org.sonar.api.batch.fs.InputFile
Status regarding previous analysis
status() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
status() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
 
status() - Method in interface org.sonar.api.batch.rule.Rule
 
status() - Method in interface org.sonar.api.ce.measure.Issue
Available list of status can be found in Issue.STATUSES
status() - Method in class org.sonar.api.ce.measure.test.TestIssue
 
status() - Method in interface org.sonar.api.issue.ActionPlan
 
status() - Method in interface org.sonar.api.issue.Issue
See constant values in Issue.
status() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
status() - Method in interface org.sonar.api.test.TestCase
Deprecated.
 
STATUS_BETA - Static variable in class org.sonar.api.rules.Rule
 
STATUS_CLOSED - Static variable in interface org.sonar.api.issue.ActionPlan
 
STATUS_CLOSED - Static variable in interface org.sonar.api.issue.Issue
 
STATUS_CONFIRMED - Static variable in interface org.sonar.api.issue.Issue
 
STATUS_DEPRECATED - Static variable in class org.sonar.api.rules.Rule
 
STATUS_OPEN - Static variable in interface org.sonar.api.issue.ActionPlan
 
STATUS_OPEN - Static variable in interface org.sonar.api.issue.Issue
Default status when creating an issue.
STATUS_READY - Static variable in class org.sonar.api.rules.Rule
 
STATUS_REMOVED - Static variable in class org.sonar.api.rules.Rule
For internal use only.
STATUS_REOPENED - Static variable in interface org.sonar.api.issue.Issue
 
STATUS_RESOLVED - Static variable in interface org.sonar.api.issue.Issue
 
STATUSES - Static variable in interface org.sonar.api.issue.Issue
Return all available statuses
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.utils.internal.DefaultTempFolder
 
stop() - Method in class org.sonar.api.utils.internal.TempFolderCleaner
This method should not be renamed.
stop() - Method in class org.sonar.api.utils.TimeProfiler
Deprecated.
 
stopDebug() - Method in class org.sonar.api.utils.log.Profiler
 
stopDebug(String) - Method in class org.sonar.api.utils.log.Profiler
 
stopInfo() - Method in class org.sonar.api.utils.log.Profiler
 
stopInfo(boolean) - Method in class org.sonar.api.utils.log.Profiler
 
stopInfo(String) - Method in class org.sonar.api.utils.log.Profiler
 
stopTrace() - Method in class org.sonar.api.utils.log.Profiler
Works only if a message have been set in startXXX() methods.
stopTrace(String) - Method in class org.sonar.api.utils.log.Profiler
 
storage - Variable in class org.sonar.api.batch.sensor.internal.DefaultStorable
 
store(Measure) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
 
store(Issue) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
 
store(Duplication) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
 
store(DefaultHighlighting) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
 
store(DefaultCoverage) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
 
stream() - Method in interface org.sonar.api.server.ws.Response
 
stream(SMHierarchicCursor) - Method in interface org.sonar.api.utils.StaxParser.XmlStreamHandler
 
StreamConsumer - Interface in org.sonar.api.utils.command
 
STRING - Static variable in class org.sonar.api.server.rule.RuleParamType
 
StringStreamConsumer - Class in org.sonar.api.utils.command
 
StringStreamConsumer() - Constructor for class org.sonar.api.utils.command.StringStreamConsumer
 
subCategory(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
subCategory() - Method in class org.sonar.api.config.PropertyDefinition
Sub-category where property appears in settings pages.
SubCategory - Class in org.sonar.api.config
 
SUBCATEGORY_COVERAGE_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
 
SUBCATEGORY_DATABASE_CLEANER - Static variable in interface org.sonar.api.CoreProperties
 
SUBCATEGORY_DIFFERENTIAL_VIEWS - Static variable in interface org.sonar.api.CoreProperties
 
SUBCATEGORY_DUPLICATIONS - Static variable in interface org.sonar.api.CoreProperties
 
SUBCATEGORY_DUPLICATIONS_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
 
SUBCATEGORY_FILES_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
 
SUBCATEGORY_ISSUES - Static variable in interface org.sonar.api.CoreProperties
 
SUBCATEGORY_L10N - Static variable in interface org.sonar.api.CoreProperties
 
SUBCATEGORY_LOOKNFEEL - Static variable in interface org.sonar.api.CoreProperties
 
subCharacteristics(String) - Method in interface org.sonar.api.batch.debt.DebtModel
Deprecated.
Return sub-characteristics of a characteristic
subCharacteristics(String) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
 
subtract(Duration) - Method in class org.sonar.api.utils.Duration
Subtract the given duration to the current one.
subtract(WorkDuration) - Method in class org.sonar.api.utils.internal.WorkDuration
 
SUBVIEW - Static variable in class org.sonar.api.resources.Qualifiers
Sub-views, defined in root views.
SUFFIXES - Static variable in class org.sonar.api.resources.Java
Deprecated.
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
Deprecated.
since 5.2 decorators are no more executed on batch side
SumChildDistributionFormula() - Constructor for class org.sonar.api.measures.SumChildDistributionFormula
Deprecated.
 
SumChildValuesFormula - Class in org.sonar.api.measures
Deprecated.
since 5.2 decorators are no more executed on batch side
SumChildValuesFormula(boolean) - Constructor for class org.sonar.api.measures.SumChildValuesFormula
Deprecated.
 
sumOnVariation(boolean, int, Collection<Measure>) - Static method in class org.sonar.api.measures.MeasureUtils
Sums a series of measures for the given variation index
SUN_CONVENTIONS_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
Deprecated.
in 4.2. Use your own constant.
SupportedEnvironment - Annotation Type in org.sonar.api.batch
This annotation allows to specify in which environments BatchSide components would be active.
supports(File) - Method in class org.sonar.api.batch.scm.ScmProvider
Does this provider able to manage files located in this directory.
supports(Issue) - Method in class org.sonar.api.issue.action.Action
 
SUSPECT_LCOM4_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
SUSPECT_LCOM4_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
Symbol - Interface in org.sonar.api.source
 
Symbolizable - Interface in org.sonar.api.source
Use this perspective to save symbol references on files.
Symbolizable.SymbolTable - Interface in org.sonar.api.source
 
Symbolizable.SymbolTableBuilder - Interface in org.sonar.api.source
 
symbols() - Method in interface org.sonar.api.source.Symbolizable.SymbolTable
 
SYNCHRONIZATION_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic RELIABILITY
SyntaxHighlightingRule - Class in org.sonar.api.batch.sensor.highlighting.internal
 
System2 - Class in org.sonar.api.utils
Proxy over System.
System2() - Constructor for class org.sonar.api.utils.System2
 

T

tags() - Method in interface org.sonar.api.issue.Issue
 
tags() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
TASK - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 5.2 no more task concept on batch side
Task - Interface in org.sonar.api.task
Deprecated.
since 5.1 all tasks (devcockpit, views) will be moved to server side
taskClass(Class<? extends Task>) - Method in class org.sonar.api.task.TaskDefinition.Builder
Deprecated.
 
taskClass() - Method in class org.sonar.api.task.TaskDefinition
Deprecated.
 
TaskComponent - Interface in org.sonar.api.task
Deprecated.
since 5.1 all tasks (devcockpit, views) will be moved to server side
TaskDefinition - Class in org.sonar.api.task
Deprecated.
since 5.1 all tasks (devcockpit, views) will be moved to server side
TaskDefinition.Builder - Class in org.sonar.api.task
Deprecated.
 
TaskExtension - Interface in org.sonar.api.task
Deprecated.
since 5.1 all tasks (devcockpit, views) will be moved to server side
TECHNICAL_DEBT - Static variable in class org.sonar.api.measures.CoreMetrics
 
TECHNICAL_DEBT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
TempFileUtils - Class in org.sonar.api.utils
Deprecated.
since 4.0 use TempFolder
TempFolder - Interface in org.sonar.api.utils
Use this component to deal with temp files/folders.
TempFolderCleaner - Class in org.sonar.api.utils.internal
 
TempFolderCleaner(TempFolder) - Constructor for class org.sonar.api.utils.internal.TempFolderCleaner
 
template() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
templateRuleKey() - Method in interface org.sonar.api.batch.rule.ActiveRule
Optional rule key of the template rule.
templateRuleKey() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
 
TEST_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 use MutableTestPlan
TEST_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.2 use MutableTestPlan
TEST_DIRS_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
TEST_ERRORS - Static variable in class org.sonar.api.measures.CoreMetrics
 
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_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
TEST_FILES_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
TEST_SUCCESS_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
TEST_SUCCESS_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
TESTABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic TESTABILITY
testable() - Method in interface org.sonar.api.test.CoverageBlock
 
Testable - Interface in org.sonar.api.test
Deprecated.
since 5.2
testCase() - Method in interface org.sonar.api.test.CoverageBlock
 
TestCase - Interface in org.sonar.api.test
Deprecated.
since 5.2 not used
TestCase.Status - Enum in org.sonar.api.test
Deprecated.
 
testCaseByName(String) - Method in interface org.sonar.api.test.Testable
Deprecated.
 
testCases() - Method in interface org.sonar.api.test.Testable
Deprecated.
 
testCases() - Method in interface org.sonar.api.test.TestPlan
Deprecated.
 
testCasesByLines() - Method in interface org.sonar.api.test.Testable
Deprecated.
 
testCasesByName(String) - Method in interface org.sonar.api.test.TestPlan
Deprecated.
 
testCasesOfLine(int) - Method in interface org.sonar.api.test.Testable
Deprecated.
 
TestComponent - Class in org.sonar.api.ce.measure.test
 
TestComponent(String, Component.Type, Component.FileAttributes) - Constructor for class org.sonar.api.ce.measure.test.TestComponent
 
TestComponent.FileAttributesImpl - Class in org.sonar.api.ce.measure.test
 
TestComponent.FileAttributesImpl(String, boolean) - Constructor for class org.sonar.api.ce.measure.test.TestComponent.FileAttributesImpl
 
testDirs() - Method in interface org.sonar.api.scan.filesystem.ModuleFileSystem
Deprecated.
since 4.2 use FileSystem.files(org.sonar.api.batch.fs.FilePredicate) to get all files with type InputFile.Type#TEST.
testedLines() - Method in interface org.sonar.api.test.Testable
Deprecated.
 
TestException - Exception in org.sonar.api.test.exception
 
TestException(String) - Constructor for exception org.sonar.api.test.exception.TestException
 
TestException(String, Throwable) - Constructor for exception org.sonar.api.test.exception.TestException
 
testExclusions() - Method in class org.sonar.api.scan.filesystem.FileExclusions
 
testFiles(String...) - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
Source files of unit tests.
testInclusions() - Method in class org.sonar.api.scan.filesystem.FileExclusions
 
TestIssue - Class in org.sonar.api.ce.measure.test
 
TestIssue.Builder - Class in org.sonar.api.ce.measure.test
 
TestIssue.Builder() - Constructor for class org.sonar.api.ce.measure.test.TestIssue.Builder
 
TestMeasure - Class in org.sonar.api.ce.measure.test
 
TestMeasure() - Constructor for class org.sonar.api.ce.measure.test.TestMeasure
 
TestMeasureComputerContext - Class in org.sonar.api.ce.measure.test
 
TestMeasureComputerContext(Component, Settings, MeasureComputer.MeasureComputerDefinition) - Constructor for class org.sonar.api.ce.measure.test.TestMeasureComputerContext
 
TestMeasureComputerDefinition - Class in org.sonar.api.ce.measure.test
 
TestMeasureComputerDefinition.MeasureComputerDefinitionBuilderImpl - Class in org.sonar.api.ce.measure.test
 
TestMeasureComputerDefinition.MeasureComputerDefinitionBuilderImpl() - Constructor for class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition.MeasureComputerDefinitionBuilderImpl
 
TestMeasureComputerDefinitionContext - Class in org.sonar.api.ce.measure.test
 
TestMeasureComputerDefinitionContext() - Constructor for class org.sonar.api.ce.measure.test.TestMeasureComputerDefinitionContext
 
testPlan() - Method in interface org.sonar.api.test.TestCase
Deprecated.
 
TestPlan<T extends TestCase> - Interface in org.sonar.api.test
Deprecated.
since 5.2 not used
tests() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
Value of measure for this metric can be saved from Sensor, taking into account following rules: Non-zero value should be saved for resources representing tests.
TESTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
TESTS_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
TestSettings - Class in org.sonar.api.ce.measure.test
 
TestSettings() - Constructor for class org.sonar.api.ce.measure.test.TestSettings
 
TestSystem2 - Class in org.sonar.api.utils.internal
 
TestSystem2() - Constructor for class org.sonar.api.utils.internal.TestSystem2
 
TEXT - Static variable in class org.sonar.api.server.rule.RuleParamType
 
TEXT_QUERY - Static variable in class org.sonar.api.server.ws.WebService.Param
 
TextPointer - Interface in org.sonar.api.batch.fs
Represents a position in a text file InputFile
TextRange - Interface in org.sonar.api.batch.fs
Represents a text range in an InputFile.
textRange() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
 
textRange() - Method in interface org.sonar.api.batch.sensor.issue.IssueLocation
Range of the issue.
TIME_ZONE_RELATED_PORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic PORTABILITY
TIMEMACHINE_DEFAULT_PERIOD_1 - Static variable in interface org.sonar.api.CoreProperties
 
TIMEMACHINE_DEFAULT_PERIOD_2 - Static variable in interface org.sonar.api.CoreProperties
 
TIMEMACHINE_DEFAULT_PERIOD_3 - Static variable in interface org.sonar.api.CoreProperties
 
TIMEMACHINE_DEFAULT_PERIOD_4 - Static variable in interface org.sonar.api.CoreProperties
 
TIMEMACHINE_DEFAULT_PERIOD_5 - Static variable in interface org.sonar.api.CoreProperties
 
TIMEMACHINE_MODE_DATE - Static variable in interface org.sonar.api.CoreProperties
 
TIMEMACHINE_MODE_DAYS - Static variable in interface org.sonar.api.CoreProperties
 
TIMEMACHINE_MODE_PREVIOUS_ANALYSIS - Static variable in interface org.sonar.api.CoreProperties
 
TIMEMACHINE_MODE_PREVIOUS_VERSION - Static variable in interface org.sonar.api.CoreProperties
 
TIMEMACHINE_MODE_VERSION - Static variable in interface org.sonar.api.CoreProperties
 
TIMEMACHINE_PERIOD_PREFIX - Static variable in interface org.sonar.api.CoreProperties
 
TIMEOUT_MILLISECONDS - Static variable in class org.sonar.api.utils.HttpDownloader
 
TimeoutException - Exception in org.sonar.api.utils.command
Unchecked version of TimeoutException
TimeoutException(Command, String, Throwable) - Constructor for exception org.sonar.api.utils.command.TimeoutException
 
TimeProfiler - Class in org.sonar.api.utils
Deprecated.
since 5.1. Replaced by Profiler
TimeProfiler(Logger) - Constructor for class org.sonar.api.utils.TimeProfiler
Deprecated.
 
TimeProfiler(Class) - Constructor for class org.sonar.api.utils.TimeProfiler
Deprecated.
 
TimeProfiler() - Constructor for class org.sonar.api.utils.TimeProfiler
Deprecated.
Use the default Sonar logger
TimeUtils - Class in org.sonar.api.utils
 
toCommandLine() - Method in class org.sonar.api.utils.command.Command
 
toFiles(Collection<InputFile>) - Static method in class org.sonar.api.resources.InputFileUtils
Deprecated.
 
toIoFiles(Collection<InputFile>) - Static method in class org.sonar.api.resources.ProjectUtils
Deprecated.
in 4.2. Replaced by org.sonar.api.resources.InputFileUtils#toFiles()
toLong() - Method in class org.sonar.api.utils.internal.WorkDuration
Return the duration using the following format DDHHMM, where DD is the number of days, HH is the number of months, and MM the number of minutes.
toMinutes() - Method in class org.sonar.api.utils.Duration
Return the duration in minutes.
toMinutes() - Method in class org.sonar.api.utils.internal.WorkDuration
 
toResource(File) - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
 
toString() - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
Deprecated.
 
toString() - Method in class org.sonar.api.batch.debt.DebtRemediationFunction
 
toString() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
toString() - Method in class org.sonar.api.batch.fs.internal.DefaultInputComponent
 
toString() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
toString() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
toString() - Method in class org.sonar.api.batch.fs.internal.DefaultTextPointer
 
toString() - Method in class org.sonar.api.batch.fs.internal.DefaultTextRange
 
toString() - Method in class org.sonar.api.batch.Initializer
 
toString() - Method in class org.sonar.api.batch.scm.BlameLine
 
toString() - Method in class org.sonar.api.batch.sensor.duplication.Duplication.Block
 
toString() - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
 
toString() - Method in class org.sonar.api.batch.sensor.highlighting.internal.SyntaxHighlightingRule
 
toString() - Method in class org.sonar.api.batch.sensor.internal.DefaultStorable
 
toString() - Method in class org.sonar.api.ce.measure.test.TestComponent.FileAttributesImpl
 
toString() - Method in class org.sonar.api.ce.measure.test.TestComponent
 
toString() - Method in class org.sonar.api.charts.AbstractChart
Deprecated.
 
toString() - Method in class org.sonar.api.config.Category
 
toString() - Method in class org.sonar.api.config.GlobalPropertyChangeHandler.PropertyChange
 
toString() - Method in class org.sonar.api.config.PropertyDefinition
 
toString() - Method in class org.sonar.api.database.model.User
 
toString() - Method in class org.sonar.api.design.Dependency
Deprecated.
 
toString() - Method in class org.sonar.api.issue.action.Action
 
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
Deprecated.
 
toString() - Method in class org.sonar.api.notifications.Notification
 
toString() - Method in class org.sonar.api.notifications.NotificationChannel
 
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.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.Library
Deprecated.
 
toString() - Method in class org.sonar.api.resources.Project
 
toString() - Method in class org.sonar.api.resources.ResourceType
 
toString() - Method in class org.sonar.api.resources.ResourceTypeTree
 
toString() - Method in class org.sonar.api.rule.RuleKey
Format is "repository:rule", for example "squid:AvoidCycle"
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
Deprecated.
 
toString() - Method in class org.sonar.api.security.UserDetails
 
toString() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
toString() - Method in class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
 
toString() - Method in class org.sonar.api.server.rule.RuleParamType
 
toString() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
 
toString() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
toString() - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
 
toString() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
toString() - Method in class org.sonar.api.server.ws.WebService.Action
 
toString() - Method in class org.sonar.api.server.ws.WebService.NewParam
 
toString() - Method in class org.sonar.api.server.ws.WebService.Param
 
toString() - Method in class org.sonar.api.SonarPlugin
Returns a string representation of the plugin, suitable for debugging purposes only.
toString() - Method in class org.sonar.api.task.TaskDefinition
Deprecated.
 
toString() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
toString() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
toString() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
 
toString() - Method in class org.sonar.api.utils.command.Command
 
toString() - Method in class org.sonar.api.utils.dag.Node
 
toString() - Method in class org.sonar.api.utils.Duration
 
toString() - Method in class org.sonar.api.utils.internal.WorkDuration
 
toString() - Method in exception org.sonar.api.utils.MessageException
 
toString() - Method in class org.sonar.api.utils.ValidationMessages
 
toString() - Method in class org.sonar.api.utils.WildcardPattern
Returns string representation of this pattern.
toString() - Method in class org.sonar.api.utils.WorkUnit
Deprecated.
 
toString() - Method in class org.sonar.api.web.CodeColorizerFormat
Deprecated.
 
toString() - Method in enum org.sonar.api.web.DashboardLayout
 
toString() - Method in class org.sonar.api.web.ServletFilter.UrlPattern
 
toString() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
total() - Method in class org.sonar.api.utils.Paging
Total number of items.
toUnit(String) - Static method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
toUnit(String) - Static method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
Deprecated.
since 4.3
toWorkingDays() - Method in class org.sonar.api.utils.internal.WorkDuration
Return the duration in number of working days.
trace(String) - Method in interface org.sonar.api.utils.log.Logger
Logs a TRACE message.
trace(String, Object) - Method in interface org.sonar.api.utils.log.Logger
Logs an TRACE parameterized message according to the specified format and argument.
trace(String, Object, Object) - Method in interface org.sonar.api.utils.log.Logger
Logs an TRACE parameterized message according to the specified format and arguments.
trace(String, Object...) - Method in interface org.sonar.api.utils.log.Logger
Logs an TRACE parameterized message according to the specified format and arguments.
TRANSPORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic REUSABILITY
TREEMAP - Static variable in class org.sonar.api.web.Filter
 
type() - Method in class org.sonar.api.batch.debt.DebtRemediationFunction
 
type() - Method in interface org.sonar.api.batch.fs.InputFile
Does it contain main or test code ?
type() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
type() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
type() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
type(PropertyType) - Method in class org.sonar.api.config.PropertyDefinition.Builder
 
type() - Method in class org.sonar.api.config.PropertyDefinition
 
type(PropertyType) - Method in class org.sonar.api.config.PropertyFieldDefinition.Builder
 
type() - Method in class org.sonar.api.config.PropertyFieldDefinition
 
type() - Method in interface org.sonar.api.scan.filesystem.FileSystemFilter.Context
Deprecated.
 
type() - Method in interface org.sonar.api.server.debt.DebtRemediationFunction
 
type() - Method in class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
 
type() - Method in class org.sonar.api.server.rule.RuleParamType
 
type() - Method in class org.sonar.api.server.rule.RulesDefinition.Param
 
type() - Method in interface org.sonar.api.test.TestCase
Deprecated.
since 5.2 not used
TYPE_INTEGRATION - Static variable in interface org.sonar.api.test.TestCase
Deprecated.
since 5.2 not used
TYPE_UNIT - Static variable in interface org.sonar.api.test.TestCase
Deprecated.
since 5.2 not used
typeAttributes() - Method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
TypeOfText - Enum in org.sonar.api.batch.sensor.highlighting
Experimental, do not use.
types() - Method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
typeValue() - Method in enum org.sonar.api.scan.filesystem.FileType
Deprecated.
 

U

UNCONFIRM - Static variable in interface org.sonar.api.issue.DefaultTransitions
 
UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
Use CoverageMeasuresBuilder to build measure for this metric.
UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
Use CoverageMeasuresBuilder to build measure for this metric.
UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
uncoveredConditions() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
 
uncoveredLines() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
 
UNDERSTANDABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic MAINTAINABILITY
UNIT_TEST_FILE - Static variable in class org.sonar.api.resources.Qualifiers
 
UNIT_TESTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic TESTABILITY
UNIT_TESTS - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic RELIABILITY
unsetData() - Method in class org.sonar.api.measures.Measure
 
unzip(File, File) - Static method in class org.sonar.api.utils.ZipUtils
Unzip a file into a directory.
unzip(InputStream, File) - Static method in class org.sonar.api.utils.ZipUtils
 
unzip(InputStream, File, ZipUtils.ZipEntryFilter) - Static method in class org.sonar.api.utils.ZipUtils
 
unzip(File, File, ZipUtils.ZipEntryFilter) - Static method in class org.sonar.api.utils.ZipUtils
 
updatedAt() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
 
updatedAt() - Method in interface org.sonar.api.issue.ActionPlan
 
updatedAt() - Method in interface org.sonar.api.issue.IssueComment
 
updatedAt() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
 
updatedAt() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
Deprecated.
 
updatedAt() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
Deprecated.
 
updatedAt() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
Deprecated.
 
updatedAt() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
Deprecated.
 
updateDate() - Method in interface org.sonar.api.issue.Issue
 
UriReader - Class in org.sonar.api.utils
Reads different types of URI.
UriReader(UriReader.SchemeProcessor[]) - Constructor for class org.sonar.api.utils.UriReader
 
UriReader.SchemeProcessor - Class in org.sonar.api.utils
 
UriReader.SchemeProcessor() - Constructor for class org.sonar.api.utils.UriReader.SchemeProcessor
 
url - Variable in class org.sonar.api.measures.Measure
 
USABILITY_ACCESSIBILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic ACCESSIBILITY
USABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic ACCESSIBILITY
USABILITY_EASE_OF_USE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Related to characteristic ACCESSIBILITY
USE_INDEX - Static variable in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
 
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 - Interface in org.sonar.api.user
 
USER - Static variable in annotation type org.sonar.api.web.UserRole
 
UserDetails - Class in org.sonar.api.security
This class is not intended to be subclassed by clients.
UserDetails() - Constructor for class org.sonar.api.security.UserDetails
 
UserFinder - Interface in org.sonar.api.security
Deprecated.
since 5.1 DB access will soon be removed from batch side
UserFinder - Interface in org.sonar.api.user
Deprecated.
since 5.1 DB access will soon be removed from batch side
userLogin() - Method in interface org.sonar.api.issue.ActionPlan
 
userLogin() - Method in interface org.sonar.api.issue.IssueComment
 
UserQuery - Class in org.sonar.api.user
 
UserQuery.Builder - Class in org.sonar.api.user
 
UserRole - Annotation Type in org.sonar.api.web
 
USERS - Static variable in class org.sonar.api.security.DefaultGroups
 
usesCoefficient() - Method in enum org.sonar.api.server.debt.DebtRemediationFunction.Type
 
usesOffset() - Method in enum org.sonar.api.server.debt.DebtRemediationFunction.Type
 

V

validate(TextRange) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
validate(PropertyType, String, List<String>) - Static method in class org.sonar.api.config.PropertyDefinition
 
validate(String) - Method in class org.sonar.api.config.PropertyDefinition
 
validate(String) - Method in class org.sonar.api.config.PropertyFieldDefinition
 
validate(String) - Static method in class org.sonar.api.server.rule.RuleTagFormat
 
validateLineArgument(InputFile, int, String) - Method in class org.sonar.api.batch.sensor.internal.DefaultStorable
 
ValidatingRequest - Class in org.sonar.api.server.ws.internal
 
ValidatingRequest() - Constructor for class org.sonar.api.server.ws.internal.ValidatingRequest
 
ValidationMessages - Class in org.sonar.api.utils
 
validKey(String) - Method in class org.sonar.api.config.PropertyDefinitions
 
value() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
 
value() - Method in interface org.sonar.api.batch.sensor.measure.Measure
Value of the measure.
value - Variable in class org.sonar.api.measures.Measure
 
value() - Method in class org.sonar.api.measures.Measure
For internal use.
value() - Method in enum org.sonar.api.server.ws.WebService.SelectionMode
 
value(boolean) - Method in class org.sonar.api.utils.text.JsonWriter
Encodes value.
value(double) - Method in class org.sonar.api.utils.text.JsonWriter
 
value(String) - Method in class org.sonar.api.utils.text.JsonWriter
 
value(long) - Method in class org.sonar.api.utils.text.JsonWriter
 
value(Number) - Method in class org.sonar.api.utils.text.JsonWriter
 
valueDate(Date) - Method in class org.sonar.api.utils.text.JsonWriter
 
valueDateTime(Date) - Method in class org.sonar.api.utils.text.JsonWriter
 
valueObject(Object) - Method in class org.sonar.api.utils.text.JsonWriter
Encodes an object that can be a : primitive types: String, Number, Boolean java.util.Date: encoded as datetime (see JsonWriter.valueDateTime(java.util.Date) Map.
valueOf(String) - Static method in enum org.sonar.api.batch.debt.DebtRemediationFunction.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.batch.fs.InputFile.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.batch.fs.InputFile.Type
Returns the enum constant of this type with the specified name.
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.batch.rule.Severity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.batch.sensor.coverage.CoverageType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.batch.sensor.highlighting.TypeOfText
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.ce.measure.Component.Type
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.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.PropertyType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.resources.Project.AnalysisType
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.rule.RuleStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.rules.RulePriority
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.scan.filesystem.FileType
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.server.debt.DebtRemediationFunction.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.server.ws.WebService.SelectionMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.test.TestCase.Status
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.utils.Durations.DurationFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.utils.internal.WorkDuration.UNIT
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.utils.log.LoggerLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.violations.ViolationQuery.SwitchMode
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.web.DashboardLayout
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.
valueOfInt(int) - Static method in enum org.sonar.api.rules.RulePriority
Deprecated.
 
valueOfString(String) - Static method in enum org.sonar.api.rules.RulePriority
Deprecated.
in 3.6
values() - Static method in enum org.sonar.api.batch.debt.DebtRemediationFunction.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.batch.fs.InputFile.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.batch.fs.InputFile.Type
Returns an array containing the constants of this enum type, in the order they are declared.
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.batch.rule.Severity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.batch.sensor.coverage.CoverageType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.batch.sensor.highlighting.TypeOfText
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.ce.measure.Component.Type
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.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.PropertyType
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
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.rule.RuleStatus
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
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.scan.filesystem.FileType
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.server.debt.DebtRemediationFunction.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.sonar.api.server.rule.RuleParamType
 
values() - Static method in enum org.sonar.api.server.ws.WebService.SelectionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.test.TestCase.Status
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.utils.Durations.DurationFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.utils.internal.WorkDuration.UNIT
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.utils.log.LoggerLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values(String...) - Method in class org.sonar.api.utils.text.CsvWriter
 
values(Iterable<String>) - Method in class org.sonar.api.utils.text.JsonWriter
Write a list of values in an array, for example:
values() - Static method in enum org.sonar.api.violations.ViolationQuery.SwitchMode
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.DashboardLayout
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.
valueType() - Method in interface org.sonar.api.batch.measure.Metric
 
valueType() - Method in class org.sonar.api.measures.Metric
 
variation1 - Variable in class org.sonar.api.measures.Measure
 
variation2 - Variable in class org.sonar.api.measures.Measure
 
variation3 - Variable in class org.sonar.api.measures.Measure
 
variation4 - Variable in class org.sonar.api.measures.Measure
 
variation5 - Variable in class org.sonar.api.measures.Measure
 
VIEW - Static variable in class org.sonar.api.resources.Qualifiers
Root views.
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.
ViolationQuery - Class in org.sonar.api.violations
Deprecated.
in 3.6 for the merge of violations and reviews into issues.
ViolationQuery.SwitchMode - Enum in org.sonar.api.violations
Deprecated.
 
VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 

W

warn(String) - Method in interface org.sonar.api.utils.log.Logger
Logs a WARN level message.
warn(String, Throwable) - Method in interface org.sonar.api.utils.log.Logger
Logs an exception at the WARN level with an accompanying message.
warn(String, Object) - Method in interface org.sonar.api.utils.log.Logger
Logs a WARN parameterized message according to the specified format and argument.
warn(String, Object, Object) - Method in interface org.sonar.api.utils.log.Logger
Logs a WARN parameterized message according to the specified format and arguments.
warn(String, Object...) - Method in interface org.sonar.api.utils.log.Logger
Logs a WARN parameterized message according to the specified format and arguments.
WebService - Interface in org.sonar.api.server.ws
Defines a web service.
Webservice - Interface in org.sonar.api.web
Deprecated.
in 4.2. Replaced by WebService
WebService.Action - Class in org.sonar.api.server.ws
 
WebService.Context - Class in org.sonar.api.server.ws
 
WebService.Context() - Constructor for class org.sonar.api.server.ws.WebService.Context
 
WebService.Controller - Class in org.sonar.api.server.ws
 
WebService.NewAction - Class in org.sonar.api.server.ws
 
WebService.NewController - Class in org.sonar.api.server.ws
 
WebService.NewParam - Class in org.sonar.api.server.ws
 
WebService.Param - Class in org.sonar.api.server.ws
 
WebService.Param(WebService.Action, WebService.NewParam) - Constructor for class org.sonar.api.server.ws.WebService.Param
 
WebService.SelectionMode - Enum in org.sonar.api.server.ws
 
WeightedMeanAggregationFormula - Class in org.sonar.api.measures
Deprecated.
since 5.2 decorators are no more executed on batch side
WeightedMeanAggregationFormula(Metric, boolean) - Constructor for class org.sonar.api.measures.WeightedMeanAggregationFormula
Deprecated.
 
Widget - Interface in org.sonar.api.web
 
WidgetCategory - Annotation Type in org.sonar.api.web
 
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
 
WidgetScope - Annotation Type in org.sonar.api.web
Depending on its scope, a widget can be available for project dashboards (value = "PROJECT"), global dashboards (value = "GLOBAL") or both (value = {"PROJECT", "GLOBAL"}).
WildcardPattern - Class in org.sonar.api.utils
Implementation of Ant-style matching patterns.
WildcardPattern(String, String) - Constructor for class org.sonar.api.utils.WildcardPattern
 
withConfigKey(String) - Method in class org.sonar.api.rules.RuleQuery
 
withExclusions(String...) - Method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
withInclusions(String...) - Method in class org.sonar.api.scan.filesystem.FileQuery
Deprecated.
 
withKey(String) - Method in class org.sonar.api.rules.RuleQuery
 
withPageSize(int) - Method in class org.sonar.api.utils.Paging.Builder
 
withRepositoryKey(String) - Method in class org.sonar.api.rules.RuleQuery
 
withValue(G) - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
 
withValue(G) - Method in interface org.sonar.api.batch.sensor.measure.NewMeasure
Value of the measure.
WONT_FIX - Static variable in interface org.sonar.api.issue.DefaultTransitions
 
workDir() - Method in interface org.sonar.api.batch.fs.FileSystem
Absolute work directory.
workDir() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
WorkDuration - Class in org.sonar.api.utils.internal
 
WorkDuration.UNIT - Enum in org.sonar.api.utils.internal
 
WORKING_DIRECTORY - Static variable in interface org.sonar.api.CoreProperties
 
WORKING_DIRECTORY_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
 
workingDir() - Method in interface org.sonar.api.scan.filesystem.ModuleFileSystem
Deprecated.
Working directory used by Sonar.
WorkUnit - Class in org.sonar.api.utils
Deprecated.
since 4.2. Use WorkDuration instead
write(RulesProfile, Writer) - Method in class org.sonar.api.profiles.XMLProfileSerializer
 
WriterException - Exception in org.sonar.api.utils.text
 
WriterException(String) - Constructor for exception org.sonar.api.utils.text.WriterException
 
WriterException(String, Throwable) - Constructor for exception org.sonar.api.utils.text.WriterException
 
writeToWorkingDirectory(String, String) - Method in interface org.sonar.api.resources.ProjectFileSystem
Deprecated.
Save data into a new file of Sonar working directory.

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
Deprecated.
since 2.5. Plugins shouldn't directly instantiate this class, because it should be retrieved as an IoC dependency.
XMLProfileSerializer - Class in org.sonar.api.profiles
 
XMLProfileSerializer() - Constructor for class org.sonar.api.profiles.XMLProfileSerializer
 
XMLRuleParser - Class in org.sonar.api.rules
Deprecated.
in 4.2. Replaced by org.sonar.api.server.rule.RulesDefinition and org.sonar.api.server.rule.RulesDefinitionXmlLoader
XMLRuleParser() - Constructor for class org.sonar.api.rules.XMLRuleParser
Deprecated.
 
XmlWriter - Class in org.sonar.api.utils.text
TODO document that output is UTF-8
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–2015 SonarSource. All rights reserved.