Skip navigation links
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.IndexedFile
Normalized absolute path.
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.DefaultIndexedFile
 
absolutePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
absolutePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
AbstractCpdMapping - Class in org.sonar.api.batch
Deprecated.
AbstractCpdMapping() - Constructor for class org.sonar.api.batch.AbstractCpdMapping
Deprecated.
 
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 OptimizedFilePredicate.
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
Deprecated.
since 6.3. This class is ignored.
AbstractRubyTemplate() - Constructor for class org.sonar.api.web.AbstractRubyTemplate
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 interface org.sonar.api.issue.batch.IssueFilter
Deprecated.
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
Deprecated.
Called by a filter to let downstream filters decide the fate of the issue
accept(FilterableIssue, IssueFilterChain) - Method in class org.sonar.api.issue.NoSonarFilter
 
accept(FilterableIssue, IssueFilterChain) - Method in interface org.sonar.api.scan.issue.filter.IssueFilter
The accept method is called for each FilterableIssue created during analysis, to check if it has to be persisted.
accept(FilterableIssue) - Method in interface org.sonar.api.scan.issue.filter.IssueFilterChain
Called by a filter to let downstream filters decide the fate of the issue
accept(ZipEntry) - Method in interface org.sonar.api.utils.ZipUtils.ZipEntryFilter
Deprecated.
 
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() - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
action(String) - Method in class org.sonar.api.server.ws.WebService.Controller
 
actionPlanKey() - Method in interface org.sonar.api.issue.Issue
Deprecated.
since 5.5 Action plans are dropped in 5.5. This field has no effect
actions() - Method in class org.sonar.api.server.ws.WebService.Controller
 
activate() - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
 
activatedByDefault() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
Should this rule be enabled by default.
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(InputFile) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
add(DefaultInputDir) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
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(QualityGate.Condition) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.QualityGateBuilder
 
add(Object, int) - Method in class org.sonar.api.measures.CountDistributionBuilder
Deprecated.
Increments an entry
add(Object) - Method in class org.sonar.api.measures.CountDistributionBuilder
Deprecated.
Increments an entry by one
add(Measure) - Method in class org.sonar.api.measures.CountDistributionBuilder
Deprecated.
Adds an existing Distribution to the current one.
add(K, V) - Method in class org.sonar.api.measures.PropertiesBuilder
Deprecated.
 
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
 
addActiveRule(ActiveRule) - Method in class org.sonar.api.profiles.RulesProfile
 
addAll(Map<K, V>) - Method in class org.sonar.api.measures.PropertiesBuilder
Deprecated.
 
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
 
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
 
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
 
addContext(String, Object) - Method in class org.sonar.api.utils.log.Profiler
Context information is removed if value is null.
addContextProperty(String, String) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
addContextProperty(String, String) - Method in interface org.sonar.api.batch.sensor.SensorContext
Add a property to the scanner context.
addDays(Date, int) - Static method in class org.sonar.api.utils.DateUtils
Adds a number of days to a date returning a new object.
addDependency(Node) - Method in class org.sonar.api.utils.dag.Node
 
addErrorText(String) - Method in class org.sonar.api.utils.ValidationMessages
 
addExtension(Object) - Method in class org.sonar.api.Plugin.Context
Add an extension as : a Class that is annotated with ScannerSide, ServerSide or ComputeEngineSide.
addExtensions(Collection) - Method in class org.sonar.api.Plugin.Context
 
addExtensions(Object, Object, Object...) - Method in class org.sonar.api.Plugin.Context
 
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
 
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)
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(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
 
addPage(Page) - Method in class org.sonar.api.web.page.Context
 
addPageParam() - Method in class org.sonar.api.server.ws.WebService.NewAction
 
addPageSize(int, int) - Method in class org.sonar.api.server.ws.WebService.NewAction
 
addPagingParams(int) - Method in class org.sonar.api.server.ws.WebService.NewAction
Add predefined parameters related to pagination of results.
addPagingParams(int, int) - Method in class org.sonar.api.server.ws.WebService.NewAction
Add predefined parameters related to pagination of results with a maximum page size.
addParam(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
 
addProperties(Map<String, String>) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ScannerContextBuilder
 
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
 
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.
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.
addSources(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
addSources(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
addSubProject(ProjectDefinition) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
addTags(String...) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
addTestCase(String) - Method in interface org.sonar.api.test.MutableTestPlan
Deprecated.
Add a TestCase to this test file.
addTests(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
addTests(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
addToken(int, int, int, int, String) - Method in class org.sonar.api.batch.sensor.cpd.internal.DefaultCpdTokens
 
addToken(TextRange, String) - Method in class org.sonar.api.batch.sensor.cpd.internal.DefaultCpdTokens
 
addToken(TextRange, String) - Method in interface org.sonar.api.batch.sensor.cpd.NewCpdTokens
Call this method to register a token in a range.
addToken(int, int, int, int, String) - Method in interface org.sonar.api.batch.sensor.cpd.NewCpdTokens
Shortcut to avoid calling InputFile.newRange(int, int, int, int)
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
Deprecated.
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
Deprecated.
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
Deprecated.
 
alertText - Variable in class org.sonar.api.measures.Measure
Deprecated.
 
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
Deprecated.
 
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
 
allAnalysisErrors() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
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
 
allIssues() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
allMetrics() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
Deprecated.
 
allowsUsersToSignUp() - Method in interface org.sonar.api.server.authentication.IdentityProvider
Can users sign-up (connecting with their account for the first time) ? If true, then users can register and create their account into SonarQube, else only already registered users can login.
AlwaysIncreasingSystem2 - Class in org.sonar.api.utils.internal
A subclass of System2 which implementation of System2.now() always return a bigger value than the previous returned value.
AlwaysIncreasingSystem2(long) - Constructor for class org.sonar.api.utils.internal.AlwaysIncreasingSystem2
 
AlwaysIncreasingSystem2(long, int) - Constructor for class org.sonar.api.utils.internal.AlwaysIncreasingSystem2
 
AlwaysIncreasingSystem2() - Constructor for class org.sonar.api.utils.internal.AlwaysIncreasingSystem2
Values returned by AlwaysIncreasingSystem2.now() will start with a random value and increment by 100.
analyse(Project, SensorContext) - Method in interface org.sonar.api.batch.Sensor
Deprecated.
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
 
AnalysisError - Interface in org.sonar.api.batch.sensor.error
Represents an analysis error, such as a parsing error, reported by a Sensor.
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
 
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
 
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
Deprecated.
Related to characteristic SECURITY
ApiVersion - Class in org.sonar.api.internal
For internal use
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.FileExtensionPredicate
 
apply(InputFile) - Method in class org.sonar.api.batch.fs.internal.FilenamePredicate
 
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
Deprecated.
Related to characteristic CHANGEABILITY
ARCHITECTURE_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
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.
ASCENDING - Static variable in class org.sonar.api.server.ws.WebService.Param
 
assignee() - Method in interface org.sonar.api.issue.Issue
Login of the user who is assigned to this issue.
at(TextPointer) - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
 
at(TextPointer) - Method in interface org.sonar.api.batch.sensor.error.NewAnalysisError
Location of this error.
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(Date) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
 
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.
authenticate(String, String) - Method in interface org.sonar.api.security.LoginPasswordAuthenticator
Deprecated.
 
authenticate(UserIdentity) - Method in interface org.sonar.api.server.authentication.BaseIdentityProvider.Context
Authenticate and register the user into the platform.
authenticate(UserIdentity) - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.CallbackContext
Authenticate and register the user into the platform.
Authenticator - Class in org.sonar.api.security
 
Authenticator() - Constructor for class org.sonar.api.security.Authenticator
 
Authenticator.Context - Class in org.sonar.api.security
 
author() - Method in class org.sonar.api.batch.scm.BlameLine
 
author(String) - Method in class org.sonar.api.batch.scm.BlameLine
Sets author for this line.
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. Aggregation of measures is provided by MeasureComputer. Decorator and Formula are no more supported.
AverageFormula() - Constructor for class org.sonar.api.measures.AverageFormula
Deprecated.
 

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
 
baseDirPath() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
baseEffort() - Method in interface org.sonar.api.server.debt.DebtRemediationFunction
baseEffort() - Method in class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
 
BaseIdentifiable<G> - Class in org.sonar.api.database
 
BaseIdentifiable() - Constructor for class org.sonar.api.database.BaseIdentifiable
 
BaseIdentityProvider - Interface in org.sonar.api.server.authentication
 
BaseIdentityProvider.Context - Interface in org.sonar.api.server.authentication
 
BatchComponent - Interface in org.sonar.api
Deprecated.
since 5.2 use ScannerSide annotation
BatchExtension - Interface in org.sonar.api
Deprecated.
since 5.2 replaced by ScannerSide and ExtensionPoint annotations
batchId() - Method in class org.sonar.api.batch.fs.internal.DefaultInputComponent
 
BatchSide - Annotation Type in org.sonar.api.batch
Deprecated.
since 6.0. Use ScannerSide instead.
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.
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
 
BlameLine(Date, String) - Constructor for class org.sonar.api.batch.scm.BlameLine
Preferred constructor.
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
 
BUGS - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
BUGS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
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.fs.internal.TestInputFileBuilder
 
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.ce.posttask.PostProjectAnalysisTaskTester.CeTaskBuilder
 
build(QualityGate.EvaluationStatus, String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ConditionBuilder
 
build() - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ProjectBuilder
 
build() - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.QualityGateBuilder
 
build() - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ScannerContextBuilder
 
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
Deprecated.
Shortcut for build(true)
build(boolean) - Method in class org.sonar.api.measures.CountDistributionBuilder
Deprecated.
Used to build a measure from the current object
build() - Method in interface org.sonar.api.measures.MeasureBuilder
Deprecated.
 
build() - Method in class org.sonar.api.measures.PropertiesBuilder
Deprecated.
 
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 class org.sonar.api.server.authentication.Display.Builder
 
build() - Method in class org.sonar.api.server.authentication.UserIdentity.Builder
 
build() - Method in interface org.sonar.api.source.Symbolizable.SymbolTableBuilder
Deprecated.
Creates a Symbolizable.SymbolTable containing all symbols and references previously created in this file.
build() - Method in class org.sonar.api.task.TaskDefinition.Builder
 
build() - Method in class org.sonar.api.user.UserQuery.Builder
 
build() - Method in class org.sonar.api.web.page.Page.Builder
 
build() - Method in class org.sonar.api.web.ServletFilter.UrlPattern.Builder
 
BUILD_DIR_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
BuildBreaker - Class in org.sonar.api.batch
Deprecated.
since 5.6
BuildBreaker() - Constructor for class org.sonar.api.batch.BuildBreaker
Deprecated.
 
buildData() - Method in class org.sonar.api.measures.PropertiesBuilder
Deprecated.
 
Builder() - Constructor for class org.sonar.api.ce.measure.test.TestIssue.Builder
 
builder(String) - Static method in class org.sonar.api.config.PropertyDefinition
 
Builder(String, String, Metric.ValueType) - Constructor for class org.sonar.api.measures.Metric.Builder
Creates a new Metric.Builder object.
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(String) - Constructor for class org.sonar.api.resources.ResourceType.Builder
Creates a new ResourceType.Builder
builder() - Static method in class org.sonar.api.resources.ResourceTypeTree
 
builder() - Static method in class org.sonar.api.server.authentication.Display
 
builder() - Static method in class org.sonar.api.server.authentication.UserIdentity
 
builder() - Static method in class org.sonar.api.task.TaskDefinition
 
builder() - Static method in class org.sonar.api.user.UserQuery
 
builder(String) - Static method in class org.sonar.api.web.page.Page
 
builder() - Static method in class org.sonar.api.web.ServletFilter.UrlPattern
 
buildNoValue() - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ConditionBuilder
 
buildNumber() - Method in class org.sonar.api.utils.Version
Build number if the fourth field, for example 12345 for "6.3.0.12345".

C

Cache() - Constructor for class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
 
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.
 
call(LocalConnector.LocalRequest) - Method in interface org.sonar.api.server.ws.LocalConnector
 
callback(OAuth2IdentityProvider.CallbackContext) - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider
This method is called when the identity provider has authenticated a user.
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_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
Deprecated.
since 6.0
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
 
CeTask - Interface in org.sonar.api.ce.posttask
 
CeTask.Status - Enum in org.sonar.api.ce.posttask
 
Change - Class in org.sonar.api.server.ws
Used to describe the changes that occurred on a web service action
Change(String, String) - Constructor for class org.sonar.api.server.ws.Change
 
CHANGEABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
Related to characteristic CHANGEABILITY
changelog() - Method in class org.sonar.api.server.ws.WebService.Action
 
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
 
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
 
CharHandler() - Constructor for class org.sonar.api.batch.fs.internal.FileMetadata.CharHandler
 
charset() - Method in interface org.sonar.api.batch.fs.InputFile
Charset to be used to decode this specific file.
charset() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
CheckFactory - Class in org.sonar.api.batch.rule
Creates Checks.
CheckFactory(ActiveRules) - Constructor for class org.sonar.api.batch.rule.CheckFactory
 
checkMetadata() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
CheckProject - Interface in org.sonar.api.batch
Deprecated.
since 5.6
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(InputModule) - Method in interface org.sonar.api.batch.fs.internal.InputModuleHierarchy
 
CLASS_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
Information about the cyclomatic complexity per class, calculated by divided the CoreMetrics.COMPLEXITY_IN_CLASSES by the number of CoreMetrics.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.MapSettings
Delete all properties
clear() - Method in class org.sonar.api.measures.CountDistributionBuilder
Deprecated.
Resets all entries to zero
clear() - Method in class org.sonar.api.measures.PropertiesBuilder
Deprecated.
 
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
 
clearConditions() - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.QualityGateBuilder
 
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.
CODE_SMELLS - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
CODE_SMELLS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
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
Deprecated.
coefficient() - Method in class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
Deprecated.
COGNITIVE_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
COGNITIVE_COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
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
Moved to Size domain since 6.2
COMMENT_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Moved to Size domain since 6.2
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(RuleKey) - Method in class org.sonar.api.rule.RuleKey
 
compareTo(TaskDefinition) - Method in class org.sonar.api.task.TaskDefinition
 
compareTo(Node) - Method in class org.sonar.api.utils.dag.Node
 
compareTo(Version) - Method in class org.sonar.api.utils.Version
 
COMPILER_RELATED_PORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
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.PostJobIssue
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").
componentKey() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
 
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.
ComputeEngineSide - Annotation Type in org.sonar.api.ce
Same as ScannerSide but for components for the Compute Engine Server.
computeLineHashesForIssueTracking(InputFile, 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, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
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
Deprecated.
 
conditionsByLine() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
conditionsToCover() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
Deprecated.
 
CONFIGURATION - Static variable in annotation type org.sonar.api.web.NavigationSection
Deprecated.
 
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
 
constantPerIssue(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.DebtRemediationFunctions
Shortcut for create(Type.CONSTANT_ISSUE, null, base effort).
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
 
contents() - Method in interface org.sonar.api.batch.fs.InputFile
Fetches the entire contents of the file, decoding with the InputFile.charset().
contents() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
Context(SonarRuntime) - Constructor for class org.sonar.api.Plugin.Context
 
Context(String, String, HttpServletRequest) - Constructor for class org.sonar.api.security.Authenticator.Context
 
Context(String, HttpServletRequest) - Constructor for class org.sonar.api.security.ExternalGroupsProvider.Context
 
Context(String, HttpServletRequest) - Constructor for class org.sonar.api.security.ExternalUsersProvider.Context
 
Context() - Constructor for class org.sonar.api.server.rule.RulesDefinition.Context
 
Context() - Constructor for class org.sonar.api.server.ws.WebService.Context
 
Context - Class in org.sonar.api.web.page
 
Context() - Constructor for class org.sonar.api.web.page.Context
 
controller(String) - Method in class org.sonar.api.server.ws.WebService.Context
 
controllers() - Method in class org.sonar.api.server.ws.WebService.Context
 
Converter() - Constructor for class org.sonar.api.utils.KeyValueFormat.Converter
 
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
Deprecated.
since 6.3. This feature is not supported anymore
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
Deprecated.
since 6.3. This feature is not supported anymore
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
Deprecated.
no more used since 5.5
CORE_AUTHENTICATOR_REALM - Static variable in interface org.sonar.api.CoreProperties
 
CORE_AUTHENTICATOR_UPDATE_USER_ATTRIBUTES - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 5.4. This feature is not supported anymore. See http://jira.sonarsource.com/browse/SONAR-7219
CORE_DEFAULT_GROUP - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 6.4. The default group is hardcoded to 'sonar-users'
CORE_DEFAULT_GROUP_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 6.4. The default group is hardcoded to 'sonar-users'
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_PREVENT_AUTOMATIC_PROJECT_CREATION - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
replaced in 5.2 by the permission 'provisioning'
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
Deprecated.
since 5.6. Scanner side is not responsible to aggregate measures since 5.2.
CountDistributionBuilder(Metric) - Constructor for class org.sonar.api.measures.CountDistributionBuilder
Deprecated.
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
Deprecated.
since 5.6 feature will be removed soon
CoverageAlreadyExistsException(String) - Constructor for exception org.sonar.api.test.exception.CoverageAlreadyExistsException
Deprecated.
 
CoverageBlock - Interface in org.sonar.api.test
Deprecated.
since 5.6. Feature will be removed without any alternatives.
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
Deprecated.
since 6.2 SonarQube merge all coverage reports and don't keep track of different test category
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, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
coveredConditionsByLine() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
Deprecated.
 
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_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
 
CpdMapping - Interface in org.sonar.api.batch
Deprecated.
cpdTokens(String) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
CPU_EFFICIENCY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
Related to characteristic EFFICIENCY
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, File, File) - Static method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
create(String, String) - Static method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
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(Path) - Static method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
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() - 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(DebtRemediationFunction.Type, String, String) - Method in interface org.sonar.api.server.rule.RulesDefinition.DebtRemediationFunctions
Flexible way to create a DebtRemediationFunction.
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(int, int) - Static method in class org.sonar.api.utils.Version
 
create(int, int, int) - Static method in class org.sonar.api.utils.Version
 
create(int, int, int, String) - Static method in class org.sonar.api.utils.Version
Deprecated.
in 6.3 to avoid ambiguity with build number (see Version.buildNumber()
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(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
Deprecated.
Creates a new Dashboard.
create(String) - Static method in class org.sonar.api.web.ServletFilter.UrlPattern
Defines only a single inclusion pattern.
createAction(String) - Method in class org.sonar.api.server.ws.WebService.NewController
 
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
Deprecated.
Returns the Dashboard object that represents the dashboard to use.
createdAt() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
 
createdAt() - Method in interface org.sonar.api.issue.IssueComment
 
createFieldsParam(Collection<?>) - Method in class org.sonar.api.server.ws.WebService.NewAction
 
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.
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.
 
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
Deprecated.
 
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.
 
createParam(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
Create a parameter with given unique key.
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
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
Create a rule with specified key.
createRule(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
 
createRules() - Method in class org.sonar.api.rules.RuleRepository
Deprecated.
 
createSortParams(Collection<V>, V, boolean) - Method in class org.sonar.api.server.ws.WebService.NewAction
Add predefined parameters related to sorting of results.
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
 
creationDate() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
 
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
Deprecated.
since 6.2, this extension is ignored as dashboards have been removed
Dashboard.Widget - Class in org.sonar.api.web
Deprecated.
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
Deprecated.
since 6.2, this extension is ignored as dashboards have been removed
DashboardTemplate - Class in org.sonar.api.web
Deprecated.
since 6.2, this extension is ignored as dashboards have been removed
DashboardTemplate() - Constructor for class org.sonar.api.web.DashboardTemplate
Deprecated.
 
data - Variable in class org.sonar.api.measures.Measure
Deprecated.
 
DATA_CHANGEABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
Related to characteristic CHANGEABILITY
DATA_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
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
Mandatory field
date - Variable in class org.sonar.api.measures.Measure
Deprecated.
 
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 RFC 822 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.
 
debt() - Method in interface org.sonar.api.ce.measure.Issue
Deprecated.
since 5.5, replaced by Issue.effort()
debt() - Method in class org.sonar.api.ce.measure.test.TestIssue
Deprecated.
since 5.5, replaced by TestIssue.effort
debt() - Method in interface org.sonar.api.issue.Issue
Deprecated.
since 5.5, replaced by Issue.effort()
DebtCharacteristic - 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.batch.debt
Deprecated.
since 5.1 debt model will soon be unavailable on batch side
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
Deprecated.
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model. null is always returned. See https://jira.sonarsource.com/browse/MMF-184
debug(String) - Method in interface org.sonar.api.utils.log.Logger
Logs a DEBUG message.
debug(Supplier<String>) - Method in interface org.sonar.api.utils.log.Logger
Logs a DEBUG message which is only to be constructed if the logging level is such that the message will actually be logged.
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")
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
Deprecated.
since 5.6 as Decorator is deprecated
DecoratorContext - Interface in org.sonar.api.batch
Deprecated.
since 5.6 as Decorator is deprecated
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_DECIMAL_SCALE - Static variable in class org.sonar.api.measures.Metric
 
DEFAULT_ISSUE_ASSIGNEE - Static variable in interface org.sonar.api.CoreProperties
 
DEFAULT_PRECISION - Static variable in class org.sonar.api.measures.Measure
Deprecated.
in 5.3. Decimal scale is provided by metric, not by measure.
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.
 
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
 
DefaultAnalysisError - Class in org.sonar.api.batch.sensor.error.internal
 
DefaultAnalysisError() - Constructor for class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
 
DefaultAnalysisError(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
 
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
 
DefaultCpdTokens - Class in org.sonar.api.batch.sensor.cpd.internal
 
DefaultCpdTokens(Settings, SensorStorage) - Constructor for class org.sonar.api.batch.sensor.cpd.internal.DefaultCpdTokens
 
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
 
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
 
DefaultFormulaContext - Class in org.sonar.api.batch
Deprecated.
since 5.2. Aggregation of measures is provided by MeasureComputer. Decorator and Formula are no more supported.
DefaultFormulaContext(Metric) - Constructor for class org.sonar.api.batch.DefaultFormulaContext
Deprecated.
 
DefaultFormulaData - Class in org.sonar.api.batch
Deprecated.
since 5.2. Aggregation of measures is provided by MeasureComputer. Decorator and Formula are no more supported.
DefaultFormulaData(DecoratorContext) - Constructor for class org.sonar.api.batch.DefaultFormulaData
Deprecated.
 
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
 
DefaultIndexedFile - Class in org.sonar.api.batch.fs.internal
 
DefaultIndexedFile(String, Path, String) - Constructor for class org.sonar.api.batch.fs.internal.DefaultIndexedFile
Testing purposes only!
DefaultIndexedFile(String, Path, String, int) - Constructor for class org.sonar.api.batch.fs.internal.DefaultIndexedFile
 
DefaultIndexedFile(String, Path, String, InputFile.Type, int) - Constructor for class org.sonar.api.batch.fs.internal.DefaultIndexedFile
 
DefaultInputComponent - Class in org.sonar.api.batch.fs.internal
 
DefaultInputComponent(int) - 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
 
DefaultInputDir(String, String, int) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputDir
 
DefaultInputFile - Class in org.sonar.api.batch.fs.internal
 
DefaultInputFile(DefaultIndexedFile, Consumer<DefaultInputFile>) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputFile
 
DefaultInputFile(DefaultIndexedFile, Consumer<DefaultInputFile>, 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
For testing only!
DefaultInputModule(ProjectDefinition, int) - 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
 
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
 
DefaultSymbolTable - Class in org.sonar.api.batch.sensor.symbol.internal
 
DefaultSymbolTable(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable
 
DefaultTab - Annotation Type in org.sonar.api.web
Deprecated.
since 6.3 see PageDefinition. This class is ignored.
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(Plugin.Context) - Method in interface org.sonar.api.Plugin
This method is executed at runtime when: Web Server starts Compute Engine starts Scanner starts
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.
define(Plugin.Context) - Method in class org.sonar.api.SonarPlugin
Deprecated.
 
define(Context) - Method in interface org.sonar.api.web.page.PageDefinition
This method is executed when server is started
definition() - Method in class org.sonar.api.batch.fs.internal.DefaultInputModule
 
definition() - Method in class org.sonar.api.resources.Project
Deprecated.
 
definitions() - Static method in class org.sonar.api.config.EmailSettings
 
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
 
deprecatedKeySince() - Method in class org.sonar.api.server.ws.WebService.Param
 
deprecatedSince() - Method in class org.sonar.api.server.ws.WebService.Action
 
deprecatedSince() - Method in class org.sonar.api.server.ws.WebService.Param
 
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 - Variable in class org.sonar.api.measures.Measure
Deprecated.
 
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
 
description() - Method in class org.sonar.api.task.TaskDefinition
 
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
Deprecated.
since 6.3 see PageDefinition. This class is ignored.
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
Deprecated.
 
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
DIRECTORIES - Static variable in class org.sonar.api.measures.CoreMetrics
Computed by the platform.
DIRECTORIES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
Directory - Class in org.sonar.api.resources
Deprecated.
since 5.6 replaced by InputDir.
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
Display - Class in org.sonar.api.server.authentication
Display information provided by the Identity Provider to be displayed into the login form.
Display.Builder - Class in org.sonar.api.server.authentication
 
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_COVERAGE - 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
Deprecated.
since 6.2. Merged into CoreMetrics.DOMAIN_SIZE
DOMAIN_DUPLICATION - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
DOMAIN_DUPLICATIONS - 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
Deprecated.
in 5.5. Merged into CoreMetrics.DOMAIN_COVERAGE
DOMAIN_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_MAINTAINABILITY - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
DOMAIN_OVERALL_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
in 5.5. Merged into CoreMetrics.DOMAIN_COVERAGE
DOMAIN_RELEASABILITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_RELIABILITY - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
DOMAIN_SCM - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_SECURITY - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
DOMAIN_SIZE - Static variable in class org.sonar.api.measures.CoreMetrics
 
DOMAIN_TECHNICAL_DEBT - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
DOMAIN_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
in 5.5. Merged into CoreMetrics.DOMAIN_COVERAGE
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
Deprecated.
 
doOnNewUser(NewUserHandler.Context) - Method in interface org.sonar.api.platform.NewUserHandler
 
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.cpd.internal.DefaultCpdTokens
 
doSave() - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
 
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
 
doSave() - Method in class org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable
 
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
 
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
Deprecated.
since 5.6 should not be used in any API
DuplicatedSourceException(Resource) - Constructor for exception org.sonar.api.resources.DuplicatedSourceException
Deprecated.
 
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
 
Durations() - Constructor for class org.sonar.api.utils.Durations
 
Durations.DurationFormat - Enum in org.sonar.api.utils
Deprecated.
since 6.3, only one format is available

E

Edge<V> - Interface in org.sonar.graph
Deprecated.
in 5.2. See Dependency
EFFICIENCY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
Related to characteristic EFFICIENCY
effort() - Method in interface org.sonar.api.ce.measure.Issue
 
effort() - Method in class org.sonar.api.ce.measure.test.TestIssue
 
effort() - Method in interface org.sonar.api.issue.Issue
 
EFFORT_TO_REACH_MAINTAINABILITY_RATING_A - Static variable in class org.sonar.api.measures.CoreMetrics
 
EFFORT_TO_REACH_MAINTAINABILITY_RATING_A_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
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
Deprecated.
since 5.5 use Issue.gap()
effortToFix(Double) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
Deprecated.
since 5.5 use NewIssue.gap(Double)
effortToFix(Double) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
 
effortToFix() - Method in interface org.sonar.api.issue.Issue
Deprecated.
since 5.5, replaced by Issue.gap()
effortToFix() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
Deprecated.
since 5.5 use FilterableIssue.gap()
effortToFixDescription() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
Deprecated.
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
 
emptyAsNull() - Method in interface org.sonar.api.server.ws.Request.StringParam
Returns a Request.StringParam object which methods Request.Param.getValue() and Request.Param.or(Supplier) will return null rather than an empty String when the param is present and its value is an empty String.
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 files in this project.
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
Deprecated.
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.DefaultIndexedFile
 
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.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
Deprecated.
 
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.measures.Measure
Deprecated.
 
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.Resource
Deprecated.
 
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.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
 
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.Version
 
equals(Object) - Method in class org.sonar.api.utils.WorkUnit
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
Deprecated.
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
Deprecated.
Related to characteristic RELIABILITY
excludes(String...) - Method in class org.sonar.api.web.ServletFilter.UrlPattern.Builder
 
excludes(Collection<String>) - Method in class org.sonar.api.web.ServletFilter.UrlPattern.Builder
 
EXECUTABLE_LINES_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
Information about executable lines of code in file.
EXECUTABLE_LINES_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
execute(Project) - Method in class org.sonar.api.batch.Initializer
Deprecated.
since 5.6 override Initializer.execute() instead
execute() - Method in class org.sonar.api.batch.Initializer
 
execute(PostJobContext) - Method in interface org.sonar.api.batch.postjob.PostJob
Called at the end of the analysis.
execute(SensorContext) - Method in interface org.sonar.api.batch.sensor.Sensor
The actual sensor code.
execute() - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
 
execute() - Method in interface org.sonar.api.task.Task
 
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
Deprecated.
 
executeXPath(Node, QName, String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
executeXPath(String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
executeXPath(Node, String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
executeXPathNode(Node, String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
executeXPathNodeList(String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
executeXPathNodeList(Node, String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
exportProfile(RulesProfile, Writer) - Method in class org.sonar.api.profiles.ProfileExporter
Export activated rule from a quality profile to a writer Note that the quality profile can contain some rules from other plugins.
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
Deprecated.
since 6.0 should no more be used
ExtensionProvider() - Constructor for class org.sonar.api.ExtensionProvider
Deprecated.
 
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
 
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
 

F

FACETS - Static variable in class org.sonar.api.server.ws.WebService.Param
 
fail(String) - Method in class org.sonar.api.batch.BuildBreaker
Deprecated.
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
Deprecated.
Related to characteristic RELIABILITY
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.IndexedFile
The underlying absolute File.
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.DefaultIndexedFile
 
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
Deprecated.
since 5.6 replaced by InputFile.
File() - 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
Information about the cyclomatic complexity per file, calculated by divided the CoreMetrics.COMPLEXITY by the number of CoreMetrics.FILES.
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
FileAttributesImpl(String, boolean) - Constructor for class org.sonar.api.ce.measure.test.TestComponent.FileAttributesImpl
 
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
 
FileExtensionPredicate - Class in org.sonar.api.batch.fs.internal
 
FileExtensionPredicate(String) - Constructor for class org.sonar.api.batch.fs.internal.FileExtensionPredicate
 
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.LineHashConsumer - Interface in org.sonar.api.batch.fs.internal
 
FilenamePredicate - Class in org.sonar.api.batch.fs.internal
 
FilenamePredicate(String) - Constructor for class org.sonar.api.batch.fs.internal.FilenamePredicate
 
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
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
Computed by the platform.
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.Index - Interface in org.sonar.api.batch.fs
Interface of the underlying file index.
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
Deprecated.
 
FilterableIssue - Interface in org.sonar.api.scan.issue.filter
 
filterOnMetricKey() - Method in class org.sonar.api.measures.MeasuresFilters.MetricFilter
Deprecated.
 
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(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.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.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.
finished(PostProjectAnalysisTask.ProjectAnalysis) - Method in interface org.sonar.api.ce.posttask.PostProjectAnalysisTask
This method is called whenever the processing of a Project analysis has finished, whether successfully or not.
fixUnicodeChar(String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
Fix the error occured when parsing a string containing unicode character Example : &u20ac; will be replaced by &#x20ac;
FLAG_SQUID_ANALYSIS - Static variable in interface org.sonar.api.batch.Sensor
Deprecated.
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.
Footer - Interface in org.sonar.api.web
Deprecated.
since 6.3. This extension is ignored.
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
Deprecated.
since 6.3 as the Locale.ENGLISH is always used. Use Durations.format(Duration) instead
format(Locale, Duration) - Method in class org.sonar.api.utils.Durations
Deprecated.
since 6.3 as the Locale.ENGLISH is always used. Use Durations.format(Duration) instead
format(Duration) - Method in class org.sonar.api.utils.Durations
Return the formatted work duration using the english bundles.
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(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
 
formatDateTime(long) - 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
Deprecated.
since 5.2. Aggregation of measures is provided by MeasureComputer. Decorator and Formula are no more supported.
FormulaData - Interface in org.sonar.api.measures
Deprecated.
since 5.2. Aggregation of measures is provided by MeasureComputer. Decorator and Formula are no more supported.
forPageIndex(int) - Static method in class org.sonar.api.utils.Paging
 
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.
forSonarLint(Version) - Static method in class org.sonar.api.internal.SonarRuntimeImpl
Create an instance for SonarLint runtime environment.
forSonarQube(Version, SonarQubeSide) - Static method in class org.sonar.api.internal.SonarRuntimeImpl
Create an instance for SonarQube runtime environment.
FROM - Static variable in class org.sonar.api.config.EmailSettings
 
FROM_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
 
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.
fromKey(String) - Static method in enum org.sonar.api.web.page.Page.Qualifier
 
fromParam(String) - Static method in enum org.sonar.api.server.ws.WebService.SelectionMode
 
FUNCTION_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
Information about the cyclomatic complexity per function, calculated by divided the CoreMetrics.COMPLEXITY_IN_FUNCTIONS by the number of CoreMetrics.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
 
FUNCTIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
FUNCTIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 

G

gap(Double) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
gap() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
 
gap() - Method in interface org.sonar.api.batch.sensor.issue.Issue
Gap used to compute the effort for fixing the issue.
gap(Double) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
Gap used for the computation of the effort.
gap() - Method in interface org.sonar.api.issue.Issue
Arbitrary distance to threshold for resolving the issue.
gap() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
 
gapDescription() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
gapMultiplier() - Method in interface org.sonar.api.server.debt.DebtRemediationFunction
gapMultiplier() - Method in class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
 
generateCsrfState() - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.InitContext
Generate a non-guessable state to prevent Cross Site Request Forgery.
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
 
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 class org.sonar.api.batch.fs.internal.FileExtensionPredicate
 
get(FileSystem.Index) - Method in class org.sonar.api.batch.fs.internal.FilenamePredicate
 
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.MapSettings
 
get(String) - Method in class org.sonar.api.config.PropertyDefinitions
 
get(String) - Method in class org.sonar.api.config.Settings
 
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() - Method in class org.sonar.api.SonarQubeVersion
 
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(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
Deprecated.
 
getAlertText() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
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
 
getAllOrdered() - 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 interface org.sonar.api.ce.posttask.PostProjectAnalysisTask.ProjectAnalysis
Date of the analysis.
getAnnotation(Object, Class<A>) - Static method in class org.sonar.api.utils.AnnotationUtils
Searches for a class annotation.
getApiVersion() - Method in class org.sonar.api.internal.SonarRuntimeImpl
 
getApiVersion() - Method in interface org.sonar.api.SonarRuntime
Version of API (sonar-plugin-api artifact) at runtime.
getArguments() - Method in class org.sonar.api.utils.command.Command
 
getBackgroundColor() - Method in class org.sonar.api.server.authentication.Display
Background color for the provider button displayed in the login form.
getBaseDir() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getBestValue() - Method in class org.sonar.api.measures.Metric
 
getBoolean(String) - Method in class org.sonar.api.config.Settings
Effective value as boolean.
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
Deprecated.
 
getBranch() - Method in class org.sonar.api.resources.Project
Deprecated.
 
getBuildDir() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
since 6.1 notion of buildDir is not well defined
getBytes() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalResponse
Response body
getCallbackUrl() - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.OAuth2Context
The callback URL that must be used by the identity provider
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
 
getCeTask() - Method in interface org.sonar.api.ce.posttask.PostProjectAnalysisTask.ProjectAnalysis
Details of the Compute Engine task in which the project analysis was run.
getCharacteristicId() - Method in class org.sonar.api.rules.Rule
Deprecated.
getCharacteristicKey() - Method in class org.sonar.api.rules.Rule
Deprecated.
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model.
getChildElement(Element, String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
getChildElement(String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
getChildElements(String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
getChildElements(Element, String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
getChildElementValue(Element, String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
getChildElementValue(String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
getChildren() - Method in interface org.sonar.api.batch.DecoratorContext
Deprecated.
Child contexts are read only
getChildren() - Method in class org.sonar.api.batch.DefaultFormulaData
Deprecated.
 
getChildren(InputComponent) - Method in interface org.sonar.api.batch.fs.internal.InputComponentTree
 
getChildren(Resource) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
 
getChildren() - Method in interface org.sonar.api.measures.FormulaData
Deprecated.
 
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
Deprecated.
Never return null.
getChildrenMeasures(Metric) - Method in interface org.sonar.api.batch.DecoratorContext
Deprecated.
 
getChildrenMeasures(MeasuresFilter) - Method in class org.sonar.api.batch.DefaultFormulaData
Deprecated.
 
getChildrenMeasures(Metric) - Method in class org.sonar.api.batch.DefaultFormulaData
Deprecated.
 
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
Deprecated.
 
getChildrenMeasures(Metric) - Method in interface org.sonar.api.measures.FormulaData
Deprecated.
 
getChildrenQualifiers(String) - Method in class org.sonar.api.resources.ResourceTypes
 
getClassAnnotation(Object, Class<A>) - Static method in class org.sonar.api.utils.AnnotationUtils
Deprecated.
getCode() - Method in enum org.sonar.api.web.DashboardLayout
Deprecated.
 
getColorName() - Method in enum org.sonar.api.measures.Metric.Level
 
getColumns() - Method in enum org.sonar.api.web.DashboardLayout
Deprecated.
 
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
 
getComponentQualifiers() - Method in class org.sonar.api.web.page.Page
 
getConditions() - Method in interface org.sonar.api.ce.posttask.QualityGate
Conditions of the Quality Gate.
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
 
getContextPath() - Method in class org.sonar.api.platform.Server
Context path of web server.
getContextProperties() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
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.batch.rule.internal.NewActiveRule
 
getCreatedAt() - Method in class org.sonar.api.rules.Rule
 
getCreatedAt() - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
getData() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
getDataAsLevel() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
getDate() - Method in interface org.sonar.api.ce.posttask.PostProjectAnalysisTask.ProjectAnalysis
getDate(String) - Method in class org.sonar.api.config.Settings
Effective value as Date, without time fields.
getDate() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
getDateTime(String) - Method in class org.sonar.api.config.Settings
Effective value as Date, with time fields.
getDbConstant() - Method in enum org.sonar.api.rules.RuleType
 
getDecimalScale() - Method in class org.sonar.api.measures.Metric
Return the number scale if metric type is Metric.ValueType.FLOAT, else null
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
Deprecated.
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model.
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
Deprecated.
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model.
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
 
getDefinition(String) - Method in class org.sonar.api.config.Settings
The definition related to the specified property.
getDefinitions() - Method in class org.sonar.api.config.Settings
All the property definitions declared by core and plugins.
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
Deprecated.
always null since version 6.0. No alternatives, as plugins do not have to touch this directory.
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
Deprecated.
 
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
Deprecated.
 
getDescription() - Method in class org.sonar.api.measures.Metric
 
getDescription() - Method in class org.sonar.api.resources.Directory
Deprecated.
 
getDescription() - Method in class org.sonar.api.resources.File
Deprecated.
getDescription() - Method in class org.sonar.api.resources.Library
Deprecated.
 
getDescription() - Method in class org.sonar.api.resources.Project
Deprecated.
 
getDescription() - Method in class org.sonar.api.resources.Resource
Deprecated.
 
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.server.ws.Change
 
getDescription() - Method in class org.sonar.api.web.Dashboard
Deprecated.
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
 
getDisplay() - Method in interface org.sonar.api.server.authentication.IdentityProvider
Display information for the login form
getDocument() - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
getDomain() - Method in class org.sonar.api.measures.Metric
 
getDouble(String) - Method in class org.sonar.api.config.Settings
Effective value as Double.
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
Deprecated.
 
getElementValue(Node) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
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
 
getEmail() - Method in class org.sonar.api.server.authentication.UserIdentity
Optional non-blank email.
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
 
getErrorThreshold() - Method in interface org.sonar.api.ce.posttask.QualityGate.Condition
getExclusions() - Method in class org.sonar.api.web.ServletFilter.UrlPattern
 
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
 
getExtension(InputFile) - Static method in class org.sonar.api.batch.fs.internal.FileExtensionPredicate
 
getExtensions() - Method in class org.sonar.api.Plugin.Context
 
getExtensions() - Method in class org.sonar.api.SonarPlugin
Deprecated.
Classes of the implemented extensions.
getFamily() - Method in class org.sonar.api.web.Criterion
Get the the criterion'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.
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
 
getFilename(InputFile) - Static method in class org.sonar.api.batch.fs.internal.FilenamePredicate
 
getFileName() - Method in class org.sonar.api.server.ws.internal.PartImpl
 
getFileName() - Method in interface org.sonar.api.server.ws.Request.Part
 
getFilesByExtension(String) - Method in interface org.sonar.api.batch.fs.FileSystem.Index
 
getFilesByName(String) - Method in interface org.sonar.api.batch.fs.FileSystem.Index
 
getFileSuffixes() - Method in interface org.sonar.api.resources.Language
For example ["jav", "java"].
getFloat(String) - Method in class org.sonar.api.config.Settings
Effective value as Float.
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 interface org.sonar.graph.Edge
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.
getGroups() - Method in class org.sonar.api.server.authentication.UserIdentity
List of group membership of the user.
getGroupsProvider() - Method in class org.sonar.api.security.SecurityRealm
 
getHeader(String) - Method in interface org.sonar.api.server.ws.LocalConnector.LocalResponse
 
getHeader(String) - Method in interface org.sonar.api.server.ws.Response
 
getHeaderNames() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalResponse
HTTP headers
getHeaderNames() - Method in interface org.sonar.api.server.ws.Response
 
getHitsByLine() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
getHomeDir() - Method in interface org.sonar.api.platform.ServerFileSystem
Root directory of the server installation
getHtml() - Method in interface org.sonar.api.web.Footer
Deprecated.
Static HTML
getIconPath() - Method in class org.sonar.api.resources.ResourceType
Returns the relative path of the icon used to represent the resource type
getIconPath() - Method in class org.sonar.api.server.authentication.Display
URL path to the provider icon, as deployed at runtime, for example "/static/authgithub/github.svg" (in this case "authgithub" is the plugin key.
getId() - Method in interface org.sonar.api.ce.posttask.CeTask
Id of the Compute Engine task.
getId() - Method in interface org.sonar.api.ce.posttask.QualityGate
The unique identifier of the Quality Gate.
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
Name is misleading, this is an UUID generated at each startup, so it changes if server is restarted.
getId() - Method in class org.sonar.api.profiles.RulesProfile
 
getId() - Method in class org.sonar.api.resources.Resource
Deprecated.
 
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
Deprecated.
Returns the identifier of this widget.
getId() - Method in interface org.sonar.api.web.View
Deprecated.
 
getId() - Method in interface org.sonar.api.web.Webservice
Deprecated.
 
getInclusions() - Method in class org.sonar.api.web.ServletFilter.UrlPattern
 
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
Deprecated.
 
getInitializers() - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler.InitializersPhaseEvent
Deprecated.
 
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.server.ws.internal.PartImpl
 
getInputStream() - Method in interface org.sonar.api.server.ws.Request.Part
 
getInt(String) - Method in class org.sonar.api.config.Settings
Effective value as int.
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
Deprecated.
 
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
 
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.ce.posttask.Project
The key of the project.
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
Deprecated.
 
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 interface org.sonar.api.server.authentication.IdentityProvider
Unique key of provider, for example "github".
getKey() - Method in class org.sonar.api.web.Criterion
Get the the criterion's key.
getKey() - Method in class org.sonar.api.web.page.Page
 
getKey() - Method in enum org.sonar.api.web.page.Page.Qualifier
 
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 interface org.sonar.api.batch.CpdMapping
Deprecated.
 
getLanguage() - Method in class org.sonar.api.profiles.RulesProfile
 
getLanguage() - Method in class org.sonar.api.resources.Directory
Deprecated.
 
getLanguage() - Method in class org.sonar.api.resources.File
Deprecated.
getLanguage() - Method in class org.sonar.api.resources.Library
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
 
getLayout() - Method in class org.sonar.api.web.Dashboard
Deprecated.
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
 
getLinesToCover() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
 
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
 
getLogin() - Method in class org.sonar.api.server.authentication.UserIdentity
Non-blank user login, unique for the SonarQube platform.
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
Effective value as long.
getLongName() - Method in class org.sonar.api.resources.Directory
Deprecated.
 
getLongName() - Method in class org.sonar.api.resources.File
Deprecated.
getLongName() - Method in class org.sonar.api.resources.Library
Deprecated.
 
getLongName() - Method in class org.sonar.api.resources.Project
Deprecated.
 
getLongName() - Method in class org.sonar.api.resources.Resource
Deprecated.
 
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
Deprecated.
Find a measure for the resource
getMeasure(Metric) - Method in class org.sonar.api.batch.DefaultFormulaData
Deprecated.
 
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(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
Deprecated.
 
getMeasures(MeasuresFilter<M>) - Method in interface org.sonar.api.batch.DecoratorContext
Deprecated.
Never return null.
getMeasures(MeasuresFilter<M>) - Method in class org.sonar.api.batch.DefaultFormulaData
Deprecated.
 
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(MeasuresFilter<M>) - Method in interface org.sonar.api.measures.FormulaData
Deprecated.
 
getMediaType() - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
getMediaType() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalRequest
 
getMediaType() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalResponse
 
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
 
getMethod() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalRequest
HTTP method.
getMetric(String) - Static method in class org.sonar.api.measures.CoreMetrics
 
getMetric() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
getMetric() - Method in class org.sonar.api.measures.PropertiesBuilder
Deprecated.
 
getMetricKey() - Method in interface org.sonar.api.ce.posttask.QualityGate.Condition
The key of the metric this condition has been evaluated on.
getMetricKey() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
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
Deprecated.
 
getMultiParam(String) - Method in interface org.sonar.api.server.ws.LocalConnector.LocalRequest
 
getName() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getName() - Method in interface org.sonar.api.ce.posttask.Project
The name of the project.
getName() - Method in interface org.sonar.api.ce.posttask.QualityGate
Name of the Quality Gate.
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
Deprecated.
 
getName() - Method in class org.sonar.api.resources.File
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.Project
Deprecated.
 
getName() - Method in class org.sonar.api.resources.Resource
Deprecated.
 
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 interface org.sonar.api.server.authentication.IdentityProvider
Name displayed in login form.
getName() - Method in class org.sonar.api.server.authentication.UserIdentity
Non-blank display name.
getName() - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
getName() - Method in class org.sonar.api.web.DashboardTemplate
Deprecated.
Dashboard name
getName() - Method in class org.sonar.api.web.page.Page
 
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 interface org.sonar.api.ce.posttask.QualityGate.Condition
The operator used to evaluate the error and/or warning thresholds against the value of the measure
getOperator() - Method in class org.sonar.api.web.Criterion
Get the the criterion's operator.
getOrganization() - Method in class org.sonar.api.config.License
 
getOriginalName() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getOriginalName() - Method in class org.sonar.api.resources.Project
Deprecated.
 
getOriginalVersion() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
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
 
getPages() - Method in class org.sonar.api.web.page.Context
 
getParam(String) - Method in class org.sonar.api.rules.Rule
 
getParam(String) - Method in interface org.sonar.api.server.ws.LocalConnector.LocalRequest
 
getParam(String, BiFunction<Request, String, T>) - Method in class org.sonar.api.server.ws.Request
 
getParam(String, Consumer<String>) - Method in class org.sonar.api.server.ws.Request
 
getParam(String) - Method in class org.sonar.api.server.ws.Request
 
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
 
getParams() - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
getParent() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getParent(InputComponent) - Method in interface org.sonar.api.batch.fs.internal.InputComponentTree
 
getParent(Resource) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
 
getParent() - Method in class org.sonar.api.design.Dependency
Deprecated.
 
getParent() - Method in class org.sonar.api.resources.Directory
Deprecated.
 
getParent() - Method in class org.sonar.api.resources.File
Deprecated.
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.Library
Deprecated.
 
getParent() - Method in class org.sonar.api.resources.Project
Deprecated.
 
getParent() - Method in class org.sonar.api.resources.Resource
Deprecated.
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
Deprecated.
 
getPath() - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
getPath() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalRequest
URL path, which is the concatenation of controller path and action key, for example "api/issues/search"
getPath() - Method in class org.sonar.api.server.ws.Request
Return path of the request
getPermanentServerId() - Method in class org.sonar.api.platform.Server
UUID generated on demand by system administrators.
getPersistenceMode() - Method in class org.sonar.api.measures.Measure
Deprecated.
Gets the persistence mode of the measure.
getPersonId() - Method in class org.sonar.api.measures.Measure
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
Deprecated.
 
getPostJobs() - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler.PostJobsPhaseEvent
Deprecated.
 
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
 
getProduct() - Method in class org.sonar.api.internal.SonarRuntimeImpl
 
getProduct() - Method in interface org.sonar.api.SonarRuntime
The product being executed at runtime.
getProject(String) - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
 
getProject() - Method in interface org.sonar.api.batch.DecoratorContext
Deprecated.
 
getProject() - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler.ProjectAnalysisEvent
Deprecated.
 
getProject() - Method in interface org.sonar.api.ce.posttask.PostProjectAnalysisTask.ProjectAnalysis
Details of the analyzed project.
getProjects() - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
 
getProperties() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
getProperties() - Method in interface org.sonar.api.ce.posttask.ScannerContext
 
getProperties() - Method in class org.sonar.api.config.MapSettings
 
getProperties() - Method in class org.sonar.api.config.Settings
Immutable map of the properties that have non-default values.
getProperties() - Method in class org.sonar.api.web.Dashboard.Widget
Deprecated.
Returns the properties of this widget.
getProperty(String) - Method in class org.sonar.api.web.Dashboard.Widget
Deprecated.
 
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
Deprecated.
 
getProviderLogin() - Method in class org.sonar.api.server.authentication.UserIdentity
Non-blank user login for the related IdentityProvider.
getPublicRootUrl() - Method in class org.sonar.api.platform.Server
Return the public root url, for instance : https://nemo.sonarqube.org.
getQualifier() - Method in class org.sonar.api.resources.Directory
Deprecated.
 
getQualifier() - Method in class org.sonar.api.resources.File
Deprecated.
Returns the qualifier associated to this File.
getQualifier() - Method in class org.sonar.api.resources.Library
Deprecated.
 
getQualifier() - Method in class org.sonar.api.resources.Project
Deprecated.
 
getQualifier() - Method in class org.sonar.api.resources.Resource
Deprecated.
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
 
getQualityGate() - Method in interface org.sonar.api.ce.posttask.PostProjectAnalysisTask.ProjectAnalysis
Status and details of the Quality Gate of the project (if any was configured on the project).
getRawString(String) - Method in class org.sonar.api.config.Settings
The value that overrides the default value.
getReferencesBySymbol() - Method in class org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable
 
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
 
getRequest() - Method in interface org.sonar.api.server.authentication.BaseIdentityProvider.Context
Get the received HTTP request.
getRequest() - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.OAuth2Context
Get the received HTTP request.
getResource() - Method in interface org.sonar.api.batch.DecoratorContext
Deprecated.
 
getResource() - Method in class org.sonar.api.batch.DefaultFormulaContext
Deprecated.
 
getResource(R) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
Search for an indexed resource.
getResource(InputPath) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
Allow to get Resource corresponding to provided InputPath.
getResource() - Method in interface org.sonar.api.measures.FormulaContext
Deprecated.
 
getResource(String) - Method in class org.sonar.api.utils.System2
 
getResponse() - Method in interface org.sonar.api.server.authentication.BaseIdentityProvider.Context
Get the HTTP response to send
getResponse() - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.OAuth2Context
Get the HTTP response to send
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
Deprecated.
 
getRoot(String) - Method in class org.sonar.api.resources.ResourceTypes
 
getRoot() - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
getRootDir() - Method in class org.sonar.api.platform.Server
Deprecated.
in 6.0. Replaced by ServerFileSystem.getHomeDir()
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
 
getRuntime() - Method in class org.sonar.api.Plugin.Context
Runtime environment.
getScannerContext() - Method in interface org.sonar.api.ce.posttask.PostProjectAnalysisTask.ProjectAnalysis
Context as defined by scanner through SensorContext.addContextProperty(String, String).
getScope() - Method in class org.sonar.api.resources.Directory
Deprecated.
 
getScope() - Method in class org.sonar.api.resources.File
Deprecated.
 
getScope() - Method in class org.sonar.api.resources.Library
Deprecated.
 
getScope() - Method in class org.sonar.api.resources.Project
Deprecated.
 
getScope() - Method in class org.sonar.api.resources.Resource
Deprecated.
 
getScope() - Method in class org.sonar.api.web.page.Page
 
getSecureConnection() - Method in class org.sonar.api.config.EmailSettings
 
getSensor() - Method in interface org.sonar.api.batch.events.SensorExecutionHandler.SensorExecutionEvent
Deprecated.
 
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
 
getServerBaseURL() - Method in interface org.sonar.api.server.authentication.BaseIdentityProvider.Context
Return the server base URL
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
 
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
 
getSonarQubeSide() - Method in class org.sonar.api.internal.SonarRuntimeImpl
 
getSonarQubeSide() - Method in interface org.sonar.api.SonarRuntime
The SonarQube stack being executed at runtime.
getSonarQubeVersion() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
Default value is the version of this API at compilation time.
getSonarQubeVersion() - Method in interface org.sonar.api.batch.sensor.SensorContext
Version of API at runtime, not at compilation time.
getSonarQubeVersion() - Method in class org.sonar.api.Plugin.Context
Shortcut on getRuntime().getApiVersion() since version 6.0.
getStartedAt() - Method in class org.sonar.api.platform.Server
Date when server started.
getStatus() - Method in interface org.sonar.api.ce.posttask.CeTask
Indicates whether the Compute Engine task ended successfully or not.
getStatus() - Method in interface org.sonar.api.ce.posttask.QualityGate.Condition
Evaluation status of this condition
getStatus() - Method in interface org.sonar.api.ce.posttask.QualityGate
Status of the Quality Gate for the current project processing.
getStatus() - Method in class org.sonar.api.rules.Rule
 
getStatus() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalResponse
 
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
The effective value of the specified property.
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 split 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
Deprecated.
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model.
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
 
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
Deprecated.
 
getTargetMetric() - Method in interface org.sonar.api.measures.FormulaContext
Deprecated.
 
getTempDir() - Method in interface org.sonar.api.platform.ServerFileSystem
Temporary directory, clean up on restarts
getTemplate() - Method in class org.sonar.api.rules.Rule
 
getTemplate() - Method in class org.sonar.api.web.AbstractRubyTemplate
Deprecated.
 
getTemplate() - Method in interface org.sonar.api.web.RubyRailsPage
Deprecated.
 
getTemplate() - Method in interface org.sonar.api.web.RubyRailsWidget
Deprecated.
 
getTemplatePath() - Method in class org.sonar.api.web.AbstractRubyTemplate
Deprecated.
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
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
Deprecated.
 
getTo() - Method in class org.sonar.api.design.Dependency
Deprecated.
 
getTo() - Method in interface org.sonar.graph.Edge
Deprecated.
 
getTo() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
getTokenizer() - Method in interface org.sonar.api.batch.CpdMapping
Deprecated.
 
getTokenLines() - Method in class org.sonar.api.batch.sensor.cpd.internal.DefaultCpdTokens
 
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
Deprecated.
 
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 interface org.sonar.api.ce.posttask.Project
The UUID of the project.
getUuid() - Method in class org.sonar.api.resources.Resource
Deprecated.
 
getValue() - Method in interface org.sonar.api.ce.posttask.QualityGate.Condition
The value of the measure.
getValue() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
getValue(Measure, Double) - Static method in class org.sonar.api.measures.MeasureUtils
Deprecated.
Get the value of a measure, or alternatively a default value
getValue() - Method in class org.sonar.api.rules.ActiveRuleParam
 
getValue() - Method in interface org.sonar.api.server.ws.Request.Param
 
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
Deprecated.
 
getVariation(int) - Method in class org.sonar.api.measures.Measure
Deprecated.
 
getVariation(Measure, int) - Static method in class org.sonar.api.measures.MeasureUtils
Deprecated.
 
getVariation(Measure, int, Double) - Static method in class org.sonar.api.measures.MeasureUtils
Deprecated.
 
getVariation1() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
getVariation2() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
getVariation3() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
getVariation4() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
getVariation5() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
getVariationAsLong(Measure, int) - Static method in class org.sonar.api.measures.MeasureUtils
Deprecated.
 
getVariationAsLong(Measure, int, Long) - Static method in class org.sonar.api.measures.MeasureUtils
Deprecated.
 
getVersion() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getVersion() - Method in class org.sonar.api.platform.Server
Non-null version of SonarQube at runtime
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.
 
getVersion() - Method in class org.sonar.api.server.ws.Change
 
getWarnings() - Method in class org.sonar.api.utils.ValidationMessages
 
getWarningThreshold() - Method in interface org.sonar.api.ce.posttask.QualityGate.Condition
getWeight() - Method in class org.sonar.api.design.Dependency
Deprecated.
 
getWeight() - Method in interface org.sonar.graph.Edge
Deprecated.
 
getWidgets() - Method in class org.sonar.api.web.Dashboard
Deprecated.
 
getWidgetsOfColumn(int) - Method in class org.sonar.api.web.Dashboard
Deprecated.
 
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.batch.sensor.internal.DefaultSensorDescriptor
 
global() - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
This sensor should be executed at the project level, instead of per-module.
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
Deprecated.
 
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
 
GROUP_NAME_MAX_LENGTH - Static variable in class org.sonar.api.user.UserGroupValidation
 
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 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
Deprecated.
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
Deprecated.
 
hasData(Measure) - Static method in class org.sonar.api.measures.MeasureUtils
Deprecated.
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
 
hasExtension(String) - Method in interface org.sonar.api.batch.fs.FilePredicates
Predicate that matches files by extension (case insensitive).
hasExtension(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
hasFilename(String) - Method in interface org.sonar.api.batch.fs.FilePredicates
Predicate that matches files by filename, in any directory.
hasFilename(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
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.
hash() - Method in class org.sonar.api.batch.fs.internal.Metadata
 
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.DefaultIndexedFile
 
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.measure.internal.DefaultMeasure
 
hashCode() - Method in class org.sonar.api.ce.measure.test.TestComponent
 
hashCode() - Method in class org.sonar.api.component.mock.MockSourceFile
Deprecated.
 
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.measures.Measure
Deprecated.
 
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.Resource
Deprecated.
 
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
 
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.Version
 
hashCode() - Method in class org.sonar.api.utils.WorkUnit
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
 
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
 
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 interface org.sonar.api.server.ws.LocalConnector.LocalRequest
 
hasParam(String) - Method in class org.sonar.api.server.ws.Request
Return true of the parameter is set in the request.
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
 
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 - Class in org.sonar.api.issue.condition
 
HasStatus(String, String...) - Constructor for class org.sonar.api.issue.condition.HasStatus
 
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
Deprecated.
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
Deprecated.
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, int, int, TypeOfText) - Method in class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
 
highlight(TextRange, 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
Deprecated.
since 5.6 Only supported to ease migration from old API. Please prefer other highlight() methods.
highlight(TextRange, 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, int, int, TypeOfText) - Method in interface org.sonar.api.batch.sensor.highlighting.NewHighlighting
Shortcut to avoid calling InputFile.newRange(int, int, int, int)
highlight(int, int, String) - Method in interface org.sonar.api.source.Highlightable.HighlightingBuilder
Deprecated.
 
highlight(int, int, int, int, String) - Method in interface org.sonar.api.source.Highlightable.HighlightingBuilder
Deprecated.
 
Highlightable - Interface in org.sonar.api.source
Deprecated.
Highlightable.HighlightingBuilder - Interface in org.sonar.api.source
Deprecated.
 
highlightingTypeAt(String, int, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
Return list of syntax highlighting applied for a given position in a file.
hitsByLine() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
HOME - Static variable in annotation type org.sonar.api.web.NavigationSection
Deprecated.
 
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
Deprecated.
no more used since 6.3. See https://jira.sonarsource.com/browse/SONAR-8610
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
 
HttpException(URI, int) - Constructor for exception org.sonar.api.utils.HttpDownloader.HttpException
 
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.rule.internal.DefaultRule
 
IdentityProvider - Interface in org.sonar.api.server.authentication
Entry-point to define a new Identity provider.
IllegalDurationException - Exception in org.sonar.api.test.exception
Deprecated.
since 5.6 feature will be removed soon
IllegalDurationException(String) - Constructor for exception org.sonar.api.test.exception.IllegalDurationException
Deprecated.
 
IMPORT_UNKNOWN_FILES_KEY - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 6.3. No longer taken into consideration as all files are always imported.
importProfile(Reader, ValidationMessages) - Method in class org.sonar.api.profiles.ProfileImporter
Import the profile from a reader.
includeDeactivated() - Method in class org.sonar.api.user.UserQuery.Builder
 
includeDeactivated() - Method in class org.sonar.api.user.UserQuery
 
includes(String...) - Method in class org.sonar.api.web.ServletFilter.UrlPattern.Builder
Add inclusion patterns.
includes(Collection<String>) - Method in class org.sonar.api.web.ServletFilter.UrlPattern.Builder
Add exclusion patterns.
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.
IndexedFile - Interface in org.sonar.api.batch.fs
Represents the indexed view of an InputFile.
indicativeSize(int) - Method in class org.sonar.api.config.PropertyFieldDefinition.Builder
Deprecated.
since 6.1, as it was only used for UI.
indicativeSize() - Method in class org.sonar.api.config.PropertyFieldDefinition
Deprecated.
since 6.1, as it was only used for UI.
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 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.
init(BaseIdentityProvider.Context) - Method in interface org.sonar.api.server.authentication.BaseIdentityProvider
Entry-point of authentication workflow.
init(OAuth2IdentityProvider.InitContext) - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider
Entry-point of authentication workflow.
Initializer - Class in org.sonar.api.batch
Initializer are executed at the very beginning of each module analysis, prior the core listing files to be analyzed.
Initializer() - Constructor for class org.sonar.api.batch.Initializer
 
InitializerExecutionHandler - Interface in org.sonar.api.batch.events
Deprecated.
since 6.0
InitializerExecutionHandler.InitializerExecutionEvent - Interface in org.sonar.api.batch.events
Deprecated.
This interface is not intended to be implemented by clients.
InitializersPhaseHandler - Interface in org.sonar.api.batch.events
Deprecated.
since 6.0
InitializersPhaseHandler.InitializersPhaseEvent - Interface in org.sonar.api.batch.events
Deprecated.
This interface is not intended to be implemented by clients.
initMetadata(String) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
INPUT_VALIDATION_AND_REPRESENTATION - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
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.PostJobIssue
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.
InputComponentTree - Interface in org.sonar.api.batch.fs.internal
 
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(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(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.cpd.internal.DefaultCpdTokens
 
inputFile() - Method in interface org.sonar.api.batch.sensor.error.AnalysisError
The file that was being processed when the error occurred.
inputFile() - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
 
inputFile() - Method in class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
 
inputFile() - Method in class org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable
 
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
Bypass default predicate to get all files/dirs indexed.
inputFiles(FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
InputModule - Interface in org.sonar.api.batch.fs
Used to create issues and measures on modules.
InputModuleHierarchy - Interface in org.sonar.api.batch.fs.internal
 
InputPath - Interface in org.sonar.api.batch.fs
Layer over File for files or directories.
inputStream() - Method in interface org.sonar.api.batch.fs.IndexedFile
Creates a stream of the file's contents.
inputStream() - Method in interface org.sonar.api.batch.fs.InputFile
Creates a stream of the file's contents.
inputStream() - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
 
inputStream() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
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
Deprecated.
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
Deprecated.
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
Deprecated.
A dashboard can be activated for all anonymous users or users who haven't configured their own dashboards.
isAdmin() - Method in class org.sonar.api.web.page.Page
 
isAnyone(String) - Static method in class org.sonar.api.security.DefaultGroups
 
isBestValue() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
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.
isCancelled() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
isCancelled() - Method in interface org.sonar.api.batch.sensor.SensorContext
Test if a cancellation of the analysis was requested.
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
 
isDefaultJvmEncoding() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
isDev() - Method in class org.sonar.api.platform.Server
The dev mode is enabled when the property sonar.web.dev is true.
isDirectory(Resource) - Static method in class org.sonar.api.resources.Qualifiers
 
isDirectory(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
isDirectory(Resource) - Static method in class org.sonar.api.resources.Scopes
 
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
Deprecated.
 
isEmpty() - Method in class org.sonar.api.measures.RangeDistributionBuilder
Deprecated.
 
isEnabled() - Method in class org.sonar.api.rules.ActiveRule
 
isEnabled() - Method in class org.sonar.api.rules.Rule
 
isEnabled() - Method in interface org.sonar.api.server.authentication.IdentityProvider
Is the provider fully configured and enabled ? If true, then the provider is available in login form.
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
Deprecated.
 
isEnd() - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler.InitializersPhaseEvent
Deprecated.
 
isEnd() - Method in interface org.sonar.api.batch.events.PostJobExecutionHandler.PostJobExecutionEvent
Deprecated.
 
isEnd() - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler.PostJobsPhaseEvent
Deprecated.
 
isEnd() - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler.ProjectAnalysisEvent
Deprecated.
 
isEnd() - Method in interface org.sonar.api.batch.events.SensorExecutionHandler.SensorExecutionEvent
Deprecated.
 
isEnd() - Method in interface org.sonar.api.batch.events.SensorsPhaseHandler.SensorsPhaseEvent
 
isEnd() - Method in interface org.sonar.api.scan.event.ProjectScanHandler.ProjectScanEvent
 
isEntity(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
 
isExcluded() - Method in class org.sonar.api.resources.Resource
Deprecated.
since 2.6.
isExpired() - Method in class org.sonar.api.config.License
 
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.DefaultIndexedFile
 
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
Deprecated.
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.
isGlobal() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
isGlobal() - Method in class org.sonar.api.web.Dashboard
Deprecated.
A dashboard is global when it doesn't display information from a project 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.
isGreaterThanOrEqual(Version) - Method in class org.sonar.api.SonarQubeVersion
 
isGreaterThanOrEqual(Version) - Method in class org.sonar.api.utils.Version
 
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
 
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
isInternal() - Method in class org.sonar.api.server.ws.WebService.Param
Is the parameter internal ?
isIssues() - Method in interface org.sonar.api.batch.AnalysisMode
 
isIssues() - Method in class org.sonar.api.batch.sensor.internal.MockAnalysisMode
 
isJavaAtLeast17() - Method in class org.sonar.api.utils.System2
Deprecated.
in 6.4. Java 8+ is required, so this method always returns true.
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
Deprecated.
since 5.5, manual rule feature has been dropped
isModule() - Method in class org.sonar.api.resources.Project
Deprecated.
 
isModule(Resource) - Static method in class org.sonar.api.resources.Qualifiers
 
isModuleProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
 
isNew() - Method in interface org.sonar.api.batch.postjob.issue.PostJobIssue
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.
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
 
isOnLeakPeriod() - Method in interface org.sonar.api.ce.posttask.QualityGate.Condition
Whether this condition is defined on the leak period or on an absolute value
isOptimizedBestValue() - Method in class org.sonar.api.measures.Metric
 
isOsWindows() - Method in class org.sonar.api.utils.System2
True if this is MS Windows.
isPercentageType() - Method in class org.sonar.api.measures.Metric
 
isPersistable(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
 
isPost() - Method in class org.sonar.api.server.ws.WebService.Action
 
isPresent() - Method in interface org.sonar.api.server.ws.Request.Param
 
isPreview() - Method in interface org.sonar.api.batch.AnalysisMode
 
isPreview() - Method in class org.sonar.api.batch.sensor.internal.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
Deprecated.
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.MockAnalysisMode
 
isRequired() - Method in class org.sonar.api.server.ws.WebService.Param
Is the parameter required or optional ?
isRoot(InputModule) - Method in interface org.sonar.api.batch.fs.internal.InputModuleHierarchy
 
isRoot() - Method in class org.sonar.api.resources.Project
Deprecated.
 
isRootProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
 
isSecured() - Method in class org.sonar.api.platform.Server
Deprecated.
since 5.6, use instead HttpServletRequest.getHeader(String) and check that X-Forwarded-Proto header is set to "https".
isSet(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
 
isSpace(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
 
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
Deprecated.
 
isStart() - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler.InitializersPhaseEvent
Deprecated.
 
isStart() - Method in interface org.sonar.api.batch.events.PostJobExecutionHandler.PostJobExecutionEvent
Deprecated.
 
isStart() - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler.PostJobsPhaseEvent
Deprecated.
 
isStart() - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler.ProjectAnalysisEvent
Deprecated.
 
isStart() - Method in interface org.sonar.api.batch.events.SensorExecutionHandler.SensorExecutionEvent
Deprecated.
 
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 issues related to the selected component.
Issuable.IssueBuilder - Interface in org.sonar.api.issue
 
isSub() - Method in interface org.sonar.api.batch.debt.DebtCharacteristic
Deprecated.
 
isSubview(Resource) - Static method in class org.sonar.api.resources.Qualifiers
 
isSubview(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
 
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 - Interface in org.sonar.api.issue
 
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
Deprecated.
since 5.3. Use IssueFilter instead.
IssueFilter - Interface in org.sonar.api.scan.issue.filter
 
IssueFilterChain - Interface in org.sonar.api.issue.batch
Deprecated.
since 5.3. Use IssueFilterChain instead.
IssueFilterChain - Interface in org.sonar.api.scan.issue.filter
A filter chain is an object provided to issues filters for fine control over the filtering logic.
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
Deprecated.
This barrier is before DecoratorBarriers.ISSUES_TRACKED.
ISSUES_TRACKED - Static variable in interface org.sonar.api.batch.DecoratorBarriers
Deprecated.
This barrier is after DecoratorBarriers.ISSUES_ADDED.
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
 
isUnitTestClass(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
isUnitTestFile(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
 
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.
isView(Resource, boolean) - Static method in class org.sonar.api.resources.Qualifiers
 
isView(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
Deprecated.
 
IT_BRANCH_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
IT_BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
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
Deprecated.
since 6.2 all coverage reports are merged in the same measures
IT_CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
IT_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
IT_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
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
Deprecated.
since 6.2 all coverage reports are merged in the same measures
IT_LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
IT_LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
IT_LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
IT_UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
IT_UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
IT_UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
IT_UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures

J

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
Deprecated.
 
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.DefaultIndexedFile
Component key (without branch).
key() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
key() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
Component key (without branch).
key() - Method in class org.sonar.api.batch.fs.internal.DefaultInputModule
Module key without branch
key() - Method in interface org.sonar.api.batch.measure.Metric
 
key() - Method in interface org.sonar.api.batch.postjob.issue.PostJobIssue
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
Deprecated.
 
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 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() - Method in class org.sonar.api.resources.Project
Deprecated.
 
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
 
key() - Method in class org.sonar.api.task.TaskDefinition
 
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.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
 
label() - Method in class org.sonar.api.web.ServletFilter.UrlPattern
 
language() - Method in interface org.sonar.api.batch.fs.IndexedFile
Language, for example "java" or "php".
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.DefaultIndexedFile
 
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
Deprecated.
 
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() - Method in class org.sonar.api.resources.Resource
Deprecated.
 
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
Deprecated.
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.Cache
 
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
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
 
lastValidOffset() - Method in class org.sonar.api.batch.fs.internal.Metadata
 
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.PostJobIssue
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() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
 
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
Shortcut for create(Type.LINEAR, gap multiplier, null).
linearWithOffset(String, String) - Method in interface org.sonar.api.server.rule.RulesDefinition.DebtRemediationFunctions
Shortcut for create(Type.LINEAR_OFFSET, gap multiplier, base effort).
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, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
lineHitsData() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
Deprecated.
 
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() - Method in class org.sonar.api.batch.fs.internal.Metadata
 
LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
lines() - Method in interface org.sonar.api.test.CoverageBlock
Deprecated.
 
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
Deprecated.
 
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
 
load(System2) - Static method in class org.sonar.api.internal.ApiVersion
 
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
Loads rules by reading the XML input stream.
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
Loads rules by reading the XML input stream.
loadTemplateFromCache() - Method in class org.sonar.api.web.AbstractRubyTemplate
Deprecated.
 
localConnector() - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
localConnector() - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
LocalConnector - Interface in org.sonar.api.server.ws
This class allows a web service to call another web service through the sonar-ws library.
localConnector() - Method in class org.sonar.api.server.ws.Request
Allows a web service to call another web service.
LocalConnector.LocalRequest - Interface in org.sonar.api.server.ws
 
LocalConnector.LocalResponse - Interface in org.sonar.api.server.ws
 
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.
location() - Method in interface org.sonar.api.batch.sensor.error.AnalysisError
Location of the error.
location() - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
 
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
Deprecated.
Related to characteristic CHANGEABILITY
LOGIC_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
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
Deprecated.
 
longName() - Method in class org.sonar.api.resources.Project
Deprecated.
 
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

MAINTAINABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
Related to characteristic MAINTAINABILITY
MAJOR - Static variable in class org.sonar.api.rule.Severity
 
major() - Method in class org.sonar.api.utils.Version
 
MAJOR_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
MAJOR_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
mandatoryMultiParam(String) - Method in class org.sonar.api.server.ws.Request
 
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.
mandatoryParamAsPart(String) - Method in class org.sonar.api.server.ws.Request
 
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
Deprecated.
since 5.5, manual rule feature has been dropped
MapSettings - Class in org.sonar.api.config
In-memory map-based implementation of Settings.
MapSettings() - Constructor for class org.sonar.api.config.MapSettings
 
MapSettings(PropertyDefinitions) - Constructor for class org.sonar.api.config.MapSettings
 
markdownDescription() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
 
markdownText() - Method in interface org.sonar.api.issue.IssueComment
 
markForPublishing(InputFile) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
markForPublishing(InputFile) - Method in interface org.sonar.api.batch.sensor.SensorContext
Indicate that a file should be published in the report sent to SonarQube.
match(IndexedFile) - Method in class org.sonar.api.batch.fs.internal.PathPattern
 
match(IndexedFile, 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
Deprecated.
 
matchFilePattern(String) - Method in class org.sonar.api.resources.File
Deprecated.
Check resource against an Ant pattern, like mypackag?/*Foo.java.
matchFilePattern(String) - Method in class org.sonar.api.resources.Library
Deprecated.
 
matchFilePattern(String) - Method in class org.sonar.api.resources.Project
Deprecated.
 
matchFilePattern(String) - Method in class org.sonar.api.resources.Resource
Deprecated.
Check resource against an Ant pattern, like mypackag?/*Foo.java.
MAX_DECIMAL_SCALE - Static variable in class org.sonar.api.measures.Metric
The maximum supported value of scale for decimal metrics
MAX_TEXT_SIZE - Static variable in class org.sonar.api.measures.Measure
Deprecated.
 
maxOrNull(Integer, Integer) - Static method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
maxValuesAllowed() - Method in class org.sonar.api.server.ws.WebService.Param
Specify the maximum number of values allowed when using this a parameter
MeanAggregationFormula - Class in org.sonar.api.measures
Deprecated.
since 5.2. Aggregation of measures is provided by MeasureComputer. Decorator and Formula are no more supported.
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
Deprecated.
since 5.6. To create a new measure on scanner side use SensorContext.newMeasure()
Measure(String) - Constructor for class org.sonar.api.measures.Measure
Deprecated.
 
Measure(Metric) - Constructor for class org.sonar.api.measures.Measure
Deprecated.
Creates a measure with a metric
Measure(Metric, Double) - Constructor for class org.sonar.api.measures.Measure
Deprecated.
Creates a measure with a metric and a value
Measure(Metric, Double, int) - Constructor for class org.sonar.api.measures.Measure
Deprecated.
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
Deprecated.
Creates a measure with a metric, a value and a data field
Measure(Metric, String) - Constructor for class org.sonar.api.measures.Measure
Deprecated.
* Creates a measure with a metric and a data field
Measure(Metric, Metric.Level) - Constructor for class org.sonar.api.measures.Measure
Deprecated.
Creates a measure with a metric and an alert level
Measure() - Constructor for class org.sonar.api.measures.Measure
Deprecated.
Creates an empty measure
measure(Measure) - Static method in class org.sonar.api.measures.MeasuresFilters
Deprecated.
 
MeasureBuilder - Interface in org.sonar.api.measures
Deprecated.
since 5.6. To create a new measure on scanner side use SensorContext.newMeasure()
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
MeasureComputerDefinitionBuilderImpl() - Constructor for class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition.MeasureComputerDefinitionBuilderImpl
 
measures(String) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
MeasuresFilter<M> - Interface in org.sonar.api.measures
Deprecated.
since 5.6. Sensor should only save measures and not read them.
MeasuresFilters - Class in org.sonar.api.measures
Deprecated.
since 5.6. Sensor should only save measures and not read them.
MeasuresFilters.MetricFilter<M> - Class in org.sonar.api.measures
Deprecated.
Used for internal optimizations.
MeasureUtils - Class in org.sonar.api.measures
Deprecated.
since 5.6. Measure is deprecated.
MEMORY_EFFICIENCY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
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.PostJobIssue
Message of the issue.
message() - Method in interface org.sonar.api.batch.sensor.error.AnalysisError
A description of the error.
message() - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
 
message(String) - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
 
message(String) - Method in interface org.sonar.api.batch.sensor.error.NewAnalysisError
Message about the error.
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.scan.issue.filter.FilterableIssue
 
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.
Metadata - Class in org.sonar.api.batch.fs.internal
 
Metadata(int, int, String, int[], int) - Constructor for class org.sonar.api.batch.fs.internal.Metadata
 
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
Deprecated.
 
metric(Metric<?>) - Static method in class org.sonar.api.measures.MeasuresFilters
Deprecated.
 
metric(String) - Static method in class org.sonar.api.measures.MeasuresFilters
Deprecated.
 
Metric<G extends Serializable> - Class in org.sonar.api.measures
Used to define a metric in a plugin.
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.Level - Enum in org.sonar.api.measures
 
Metric.ValueType - Enum in org.sonar.api.measures
 
MetricFilter(Metric) - Constructor for class org.sonar.api.measures.MeasuresFilters.MetricFilter
Deprecated.
 
MetricFilter(String) - Constructor for class org.sonar.api.measures.MeasuresFilters.MetricFilter
Deprecated.
 
MetricFinder - Interface in org.sonar.api.batch.measure
 
MetricFinder - Interface in org.sonar.api.measures
Deprecated.
since 5.1 use MetricFinder on scanner side.
metricKey - Variable in class org.sonar.api.measures.Measure
Deprecated.
 
METRICS - Static variable in class org.sonar.api.measures.CoverageMeasuresBuilder
Deprecated.
Metrics of generated measures
Metrics - Interface in org.sonar.api.measures
This is the extension point used by plugins to declare new metrics.
MINOR - Static variable in class org.sonar.api.rule.Severity
 
minor() - Method in class org.sonar.api.utils.Version
 
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.
 
MockAnalysisMode - Class in org.sonar.api.batch.sensor.internal
 
MockAnalysisMode() - Constructor for class org.sonar.api.batch.sensor.internal.MockAnalysisMode
 
MockSourceFile - Class in org.sonar.api.component.mock
Deprecated.
since 5.6
MODULARITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
Related to characteristic REUSABILITY
module() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
module() - Method in interface org.sonar.api.batch.sensor.SensorContext
 
Module - Interface in org.sonar.api.component
Deprecated.
since 5.6
MODULE - Static variable in class org.sonar.api.resources.Qualifiers
Module of a multi-modules project.
moduleKey() - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
 
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
 
multiParam(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
multiParam(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
multiParam(String) - Method in class org.sonar.api.server.ws.Request
 
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
 
mustBeRoot() - Method in class org.sonar.api.user.UserQuery.Builder
 
mustBeRoot() - Method in class org.sonar.api.user.UserQuery
 
mustNotBeRoot() - Method in class org.sonar.api.user.UserQuery.Builder
 
MutableTestable - Interface in org.sonar.api.test
Deprecated.
since 5.6. Feature will be removed without any alternatives.
MutableTestCase - Interface in org.sonar.api.test
Deprecated.
since 5.6. Feature will be removed without any alternatives.
MutableTestPlan - Interface in org.sonar.api.test
Deprecated.
since 5.6. Feature will be removed without any alternatives.

N

name() - Method in interface org.sonar.api.batch.debt.DebtCharacteristic
Deprecated.
 
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
Deprecated.
 
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 class org.sonar.api.resources.Project
Deprecated.
 
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.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
 
names() - Static method in enum org.sonar.api.rules.RuleType
 
NavigationSection - Annotation Type in org.sonar.api.web
Deprecated.
since 6.3 see PageDefinition. This class is ignored.
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
Deprecated.
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_BLOCKS_DUPLICATED - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_BLOCKS_DUPLICATED_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_BUGS - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
NEW_BUGS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
NEW_CODE_SMELLS - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
NEW_CODE_SMELLS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
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_DUPLICATED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_DUPLICATED_LINES_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_DUPLICATED_LINES_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_DUPLICATED_LINES_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
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_LINE_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_IT_UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
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 - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_LINES_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_MAINTAINABILITY_RATING - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_MAINTAINABILITY_RATING_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
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_LINE_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_OVERALL_UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
NEW_RELIABILITY_RATING - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_RELIABILITY_RATING_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_RELIABILITY_REMEDIATION_EFFORT - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_RELIABILITY_REMEDIATION_EFFORT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_SECURITY_RATING - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_SECURITY_RATING_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_SECURITY_REMEDIATION_EFFORT - Static variable in class org.sonar.api.measures.CoreMetrics
 
NEW_SECURITY_REMEDIATION_EFFORT_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
 
NEW_VULNERABILITIES - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
NEW_VULNERABILITIES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
NewActiveRule - Class in org.sonar.api.batch.rule.internal
 
NewAnalysisError - Interface in org.sonar.api.batch.sensor.error
Represents an analysis error, such as a parsing error, that occurs during the execution of a Sensor.
newAnalysisError() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
newAnalysisError() - Method in interface org.sonar.api.batch.sensor.SensorContext
Builder to declare errors that happened while processing a source file.
newCeTaskBuilder() - Static method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
 
newConditionBuilder() - Static method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
 
NewCoverage - Interface in org.sonar.api.batch.sensor.coverage
This class is used to report code coverage 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.
NewCpdTokens - Interface in org.sonar.api.batch.sensor.cpd
This builder is used to define tokens used by CPD algorithm on files.
newCpdTokens() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
newCpdTokens() - Method in interface org.sonar.api.batch.sensor.SensorContext
Builder to define CPD tokens 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
 
newDefaultInputModule(String, File) - Static method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
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
 
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
Deprecated.
 
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
 
newProjectBuilder() - Static method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
 
newQualityGateBuilder() - Static method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
 
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(int, int) - Method in interface org.sonar.api.batch.sensor.symbol.NewSymbol
Deprecated.
since 6.1 Only supported to ease migration from old API. Please prefer other newReference() methods.
newReference(TextRange) - Method in interface org.sonar.api.batch.sensor.symbol.NewSymbol
Register a new symbol.
newReference(int, int, int, int) - Method in interface org.sonar.api.batch.sensor.symbol.NewSymbol
Shortcut to avoid calling InputFile.newRange(int, int, int, int)
newReference(Symbol, int) - Method in interface org.sonar.api.source.Symbolizable.SymbolTableBuilder
Deprecated.
Creates a new reference for a symbol.
newReference(Symbol, int, int) - Method in interface org.sonar.api.source.Symbolizable.SymbolTableBuilder
Deprecated.
Creates a new reference for a symbol.
newReference(Symbol, int, int, int, int) - Method in interface org.sonar.api.source.Symbolizable.SymbolTableBuilder
Deprecated.
 
NewRule - Class in org.sonar.api.batch.rule.internal
 
NewRuleParam - Class in org.sonar.api.batch.rule.internal
 
newScannerContextBuilder() - Static method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
 
newStringConverter() - Static method in class org.sonar.api.utils.KeyValueFormat
 
newSymbol(int, int, int, int) - Method in class org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable
 
newSymbol(int, int) - Method in class org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable
 
newSymbol(TextRange) - Method in class org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable
 
NewSymbol - Interface in org.sonar.api.batch.sensor.symbol
This builder is used to define symbol references on files.
newSymbol(int, int) - Method in interface org.sonar.api.batch.sensor.symbol.NewSymbolTable
Deprecated.
since 5.6 Only supported to ease migration from old API. Please prefer NewSymbolTable.newSymbol(int, int, int, int).
newSymbol(TextRange) - Method in interface org.sonar.api.batch.sensor.symbol.NewSymbolTable
Register a new symbol declaration.
newSymbol(int, int, int, int) - Method in interface org.sonar.api.batch.sensor.symbol.NewSymbolTable
Shortcut to avoid calling InputFile.newRange(int, int, int, int)
newSymbol(int, int) - Method in interface org.sonar.api.source.Symbolizable.SymbolTableBuilder
Deprecated.
Creates a new Symbol.
newSymbol(int, int, int, int) - Method in interface org.sonar.api.source.Symbolizable.SymbolTableBuilder
Deprecated.
 
newSymbolTable() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
newSymbolTable() - Method in interface org.sonar.api.batch.sensor.SensorContext
Builder to define symbol table of a file.
NewSymbolTable - Interface in org.sonar.api.batch.sensor.symbol
This builder is used to define symbol references on files.
newSymbolTableBuilder() - Method in interface org.sonar.api.source.Symbolizable
Deprecated.
 
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
 
nextBatchId() - Static method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
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
 
nonBlankLines() - Method in class org.sonar.api.batch.fs.internal.Metadata
 
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
normalize(String) - Static method in class org.sonar.api.resources.Resource
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.AlwaysIncreasingSystem2
 
now() - Method in class org.sonar.api.utils.internal.TestSystem2
 
now() - Method in class org.sonar.api.utils.System2

O

OAuth2IdentityProvider - Interface in org.sonar.api.server.authentication
 
OAuth2IdentityProvider.CallbackContext - Interface in org.sonar.api.server.authentication
 
OAuth2IdentityProvider.InitContext - Interface in org.sonar.api.server.authentication
 
OAuth2IdentityProvider.OAuth2Context - Interface in org.sonar.api.server.authentication
 
of(RuleKey) - Method in class org.sonar.api.batch.rule.Checks
 
of(PostProjectAnalysisTask) - Static method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
 
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, Throwable) - Static method in exception org.sonar.api.utils.MessageException
 
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
Deprecated.
offset() - Method in class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
Deprecated.
offset() - Method in class org.sonar.api.utils.Paging
 
offset(int, int) - Static method in class org.sonar.api.utils.Paging
 
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
Deprecated.
since 6.2 SonarQube merge all coverage reports and don't keep track of different test category
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.
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.cpd.internal.DefaultCpdTokens
 
onFile(InputFile) - Method in interface org.sonar.api.batch.sensor.cpd.NewCpdTokens
The tokenized file.
onFile(InputFile) - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
 
onFile(InputFile) - Method in interface org.sonar.api.batch.sensor.error.NewAnalysisError
The file that was being processed when the error occurred.
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.
onFile(InputFile) - Method in class org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable
 
onFile(InputFile) - Method in interface org.sonar.api.batch.sensor.symbol.NewSymbolTable
The file the symbol table belongs to.
onInitializerExecution(InitializerExecutionHandler.InitializerExecutionEvent) - Method in interface org.sonar.api.batch.events.InitializerExecutionHandler
Deprecated.
Called before and after execution of Initializer.
onInitializersPhase(InitializersPhaseHandler.InitializersPhaseEvent) - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler
Deprecated.
Called before and after execution of all Initializers.
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.
onModuleScanPhase(ModuleScanPhaseHandler.ModuleScanPhaseEvent) - Method in interface org.sonar.api.scan.event.ModuleScanPhaseHandler
 
onPostJobExecution(PostJobExecutionHandler.PostJobExecutionEvent) - Method in interface org.sonar.api.batch.events.PostJobExecutionHandler
Deprecated.
Called before and after execution of PostJob.
onPostJobsPhase(PostJobsPhaseHandler.PostJobsPhaseEvent) - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler
Deprecated.
Called before and after execution of all PostJobs.
onProjectAnalysis(ProjectAnalysisHandler.ProjectAnalysisEvent) - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler
Deprecated.
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
Deprecated.
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
 
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
 
or(Supplier<T>) - Method in interface org.sonar.api.server.ws.Request.Param
 
order() - Method in interface org.sonar.api.batch.debt.DebtCharacteristic
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.cpd - package org.sonar.api.batch.sensor.cpd
 
org.sonar.api.batch.sensor.cpd.internal - package org.sonar.api.batch.sensor.cpd.internal
 
org.sonar.api.batch.sensor.error - package org.sonar.api.batch.sensor.error
 
org.sonar.api.batch.sensor.error.internal - package org.sonar.api.batch.sensor.error.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.batch.sensor.symbol - package org.sonar.api.batch.sensor.symbol
 
org.sonar.api.batch.sensor.symbol.internal - package org.sonar.api.batch.sensor.symbol.internal
 
org.sonar.api.ce - package org.sonar.api.ce
 
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.ce.posttask - package org.sonar.api.ce.posttask
 
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.internal - package org.sonar.api.internal
 
org.sonar.api.issue - package org.sonar.api.issue
 
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.scan.issue.filter - package org.sonar.api.scan.issue.filter
 
org.sonar.api.security - package org.sonar.api.security
 
org.sonar.api.server - package org.sonar.api.server
 
org.sonar.api.server.authentication - package org.sonar.api.server.authentication
 
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.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.web - package org.sonar.api.web
 
org.sonar.api.web.page - package org.sonar.api.web.page
 
org.sonar.graph - package org.sonar.graph
 
org.sonar.plugins.emailnotifications.api - package org.sonar.plugins.emailnotifications.api
 
org.sonarsource.api.sonarlint - package org.sonarsource.api.sonarlint
 
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
 
originalLineOffsets() - Method in class org.sonar.api.batch.fs.internal.Metadata
 
OS_RELATED_PORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
Related to characteristic PORTABILITY
output() - Method in interface org.sonar.api.server.ws.Response.Stream
 
OVERALL_BRANCH_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
OVERALL_BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
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
Deprecated.
since 6.2 all coverage reports are merged in the same measures
OVERALL_CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
OVERALL_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
OVERALL_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
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
Deprecated.
since 6.2 all coverage reports are merged in the same measures
OVERALL_LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
OVERALL_LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
OVERALL_LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
OVERALL_UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
OVERALL_UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
OVERALL_UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
OVERALL_UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2 all coverage reports are merged in the same measures
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_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.
PAGE - Static variable in class org.sonar.api.server.ws.WebService.Param
 
Page - Interface in org.sonar.api.web
Deprecated.
since 6.3 see PageDefinition. This class is ignored.
Page - Class in org.sonar.api.web.page
 
Page.Builder - Class in org.sonar.api.web.page
 
Page.Qualifier - Enum in org.sonar.api.web.page
 
Page.Scope - Enum in org.sonar.api.web.page
 
PAGE_SIZE - Static variable in class org.sonar.api.server.ws.WebService.Param
 
PageDecoration - Class in org.sonar.api.web
Deprecated.
since 6.3 see PageDefinition. This class is ignored.
PageDecoration() - Constructor for class org.sonar.api.web.PageDecoration
Deprecated.
 
PageDefinition - Interface in org.sonar.api.web.page
Defines the Javascript pages added to SonarQube.
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
 
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(WebService.Action, WebService.NewParam) - Constructor for class org.sonar.api.server.ws.WebService.Param
 
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
 
paramAsPart(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
paramAsPart(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
paramAsPart(String) - Method in class org.sonar.api.server.ws.Request
 
paramAsStrings(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
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(InputModule) - Method in interface org.sonar.api.batch.fs.internal.InputModuleHierarchy
 
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
Deprecated.
 
parse(InputStream) - Method in class org.sonar.api.utils.StaxParser
Deprecated.
 
parse(Reader) - Method in class org.sonar.api.utils.StaxParser
Deprecated.
 
parse(URL) - Method in class org.sonar.api.utils.StaxParser
Deprecated.
 
parse(String) - Static method in class org.sonar.api.utils.Version
Convert a String to a Version.
parse(File) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
parse(InputStream) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
parse(String) - Method in class org.sonar.api.utils.XpathParser
Deprecated.
 
parseDate(String) - Static method in class org.sonar.api.utils.DateUtils
 
parseDateOrDateTime(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
parseEndingDateOrDateTime(String) - Static method in class org.sonar.api.utils.DateUtils
Return the datetime if @param stringDate is a datetime, date + 1 day if stringDate is a date.
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
Deprecated.
 
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
 
parseStartingDateOrDateTime(String) - Static method in class org.sonar.api.utils.DateUtils
 
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
PartImpl - Class in org.sonar.api.server.ws.internal
 
PartImpl(InputStream, String) - Constructor for class org.sonar.api.server.ws.internal.PartImpl
 
PASSWORD - Static variable in interface org.sonar.api.CoreProperties
 
patch() - Method in class org.sonar.api.utils.Version
 
path() - Method in interface org.sonar.api.batch.fs.IndexedFile
The underlying absolute Path.
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.DefaultIndexedFile
 
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
Deprecated.
 
path() - Method in class org.sonar.api.resources.Project
Deprecated.
 
path() - Method in class org.sonar.api.scan.filesystem.PathResolver.RelativePath
Deprecated.
 
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
Deprecated.
since 6.0 was used when component keys were relative to source dirs
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).
PER_TASK - Static variable in annotation type org.sonar.api.batch.InstantiationStrategy
Shared task extension.
PERMANENT_SERVER_ID - Static variable in interface org.sonar.api.CoreProperties
 
persistenceMode - Variable in class org.sonar.api.measures.Measure
Deprecated.
 
PersistenceMode - Enum in org.sonar.api.measures
Deprecated.
since 5.6. No more used since 5.2.
personId - Variable in class org.sonar.api.measures.Measure
Deprecated.
 
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
 
Plugin - Interface in org.sonar.api
Entry-point for plugins to inject extensions into SonarQube.
Plugin.Context - Class in org.sonar.api
 
PORTABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
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
Deprecated.
since 5.6 use org.sonar.api.batch.postjob.PostJob
PostJob - Interface in org.sonar.api.batch.postjob
PostJobs are executed at the very end of scanner 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
Deprecated.
since 6.0
PostJobExecutionHandler.PostJobExecutionEvent - Interface in org.sonar.api.batch.events
Deprecated.
This interface is not intended to be implemented by clients.
PostJobIssue - Interface in org.sonar.api.batch.postjob.issue
Represents an issue state at the end of the scanner analysis in preview/issues mode.
PostJobsPhaseHandler - Interface in org.sonar.api.batch.events
Deprecated.
since 6.0
PostJobsPhaseHandler.PostJobsPhaseEvent - Interface in org.sonar.api.batch.events
Deprecated.
This interface is not intended to be implemented by clients.
PostProjectAnalysisTask - Interface in org.sonar.api.ce.posttask
Extension point of which any plugin can provide an implementation and will allow them to be notified whenever some analysis report processing ends in the Compute Engine.
PostProjectAnalysisTask.ProjectAnalysis - Interface in org.sonar.api.ce.posttask
 
PostProjectAnalysisTaskTester - Class in org.sonar.api.ce.posttask
This class can be used to test PostProjectAnalysisTask implementations, see example below:
PostProjectAnalysisTaskTester.CeTaskBuilder - Class in org.sonar.api.ce.posttask
 
PostProjectAnalysisTaskTester.ConditionBuilder - Class in org.sonar.api.ce.posttask
 
PostProjectAnalysisTaskTester.ProjectBuilder - Class in org.sonar.api.ce.posttask
 
PostProjectAnalysisTaskTester.QualityGateBuilder - Class in org.sonar.api.ce.posttask
 
PostProjectAnalysisTaskTester.ScannerContextBuilder - Class in org.sonar.api.ce.posttask
 
predicates() - Method in interface org.sonar.api.batch.fs.FileSystem
Factory of FilePredicate
predicates - Variable in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
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
 
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
Export quality profile rules to a file
ProfileExporter(String, String) - Constructor for class org.sonar.api.profiles.ProfileExporter
 
ProfileImporter - Class in org.sonar.api.profiles
Create a quality profile from an external rules file.
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 - Interface in org.sonar.api.ce.posttask
 
Project - Class in org.sonar.api.resources
Deprecated.
since 5.6 replaced by InputModule.
Project(ProjectDefinition) - Constructor for class org.sonar.api.resources.Project
Deprecated.
 
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
Deprecated.
 
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_ORGANIZATION_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
Deprecated.
since 6.0
ProjectAnalysisHandler.ProjectAnalysisEvent - Interface in org.sonar.api.batch.events
Deprecated.
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() - 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
 
ProjectDefinition - Class in org.sonar.api.batch.bootstrap
Defines project metadata (key, name, source directories, ...).
ProjectIssues - Interface in org.sonar.api.issue
Used by batch components to get all project issues.
ProjectKey - Interface in org.sonar.api.batch.bootstrap
Provides root project key with branch
projectKey() - Method in interface org.sonar.api.issue.Issue
 
projectKey() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
 
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
 
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_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
 
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 - 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
Deprecated.
since 5.6. Use directly KeyValueFormat.
PropertiesBuilder(Metric, Map<K, V>) - Constructor for class org.sonar.api.measures.PropertiesBuilder
Deprecated.
 
PropertiesBuilder(Metric) - Constructor for class org.sonar.api.measures.PropertiesBuilder
Deprecated.
 
PropertiesBuilder() - Constructor for class org.sonar.api.measures.PropertiesBuilder
Deprecated.
 
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 <properties>) 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
Deprecated.
since 6.1, as it was not used and too complex to maintain.
propertySetKey() - Method in class org.sonar.api.config.PropertyDefinition
Deprecated.
since 6.1, as it was not used and too complex to maintain.
PropertyType - Enum in org.sonar.api
 
provide() - Method in class org.sonar.api.ExtensionProvider
Deprecated.
 
PUBLIC_API - Static variable in class org.sonar.api.measures.CoreMetrics
 
PUBLIC_API_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 6.2
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
Deprecated.
since 6.2
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
Deprecated.
since 6.2
publish() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 

Q

qualifier() - Method in interface org.sonar.api.component.Component
Deprecated.
 
qualifier() - Method in class org.sonar.api.component.mock.MockSourceFile
Deprecated.
 
qualifier() - Method in class org.sonar.api.resources.Project
Deprecated.
 
qualifier() - Method in class org.sonar.api.utils.Version
 
QUALIFIER_DIRECTORY - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.DIRECTORY.
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_MODULE - Static variable in class org.sonar.api.resources.Resource
Deprecated.
since 2.6. Use Qualifiers.MODULE.
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_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
Deprecated.
since 5.5
QUALITY_PROFILES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
Deprecated.
since 5.5
QualityGate - Interface in org.sonar.api.ce.posttask
 
QualityGate.Condition - Interface in org.sonar.api.ce.posttask
 
QualityGate.EvaluationStatus - Enum in org.sonar.api.ce.posttask
Quality gate condition evaluation status.
QualityGate.Operator - Enum in org.sonar.api.ce.posttask
Quality Gate condition operator.
QualityGate.Status - Enum in org.sonar.api.ce.posttask
 

R

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
Deprecated.
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(InputStream, Charset, String, 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(InputStream, Charset, String, FileMetadata.CharHandler) - Method in class org.sonar.api.batch.fs.internal.FileMetadata
Compute hash of a file ignoring line ends differences.
readMetadata(InputStream, Charset, String) - Method in class org.sonar.api.batch.fs.internal.FileMetadata
 
readMetadata(Reader) - Method in class org.sonar.api.batch.fs.internal.FileMetadata
For testing purpose
readMultiParam(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
readParam(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
readPart(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
 
redirectTo(String) - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.InitContext
Redirect the request to the url.
redirectToRequestedPage() - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.CallbackContext
Redirect the request to the requested page.
references(Symbol) - Method in interface org.sonar.api.source.Symbolizable.SymbolTable
Deprecated.
since 5.2 not used
referencesForSymbolAt(String, int, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
Return list of symbol references ranges for the symbol at a given position in a file.
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.IndexedFile
Path relative to module base directory.
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.DefaultIndexedFile
 
relativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
 
relativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
relativePath(InputModule) - Method in interface org.sonar.api.batch.fs.internal.InputModuleHierarchy
 
relativePath(Collection<File>, File) - Method in class org.sonar.api.scan.filesystem.PathResolver
Deprecated.
since 6.0 was used when component keys were relative to source dirs
relativePath(Path, Path) - Method in class org.sonar.api.scan.filesystem.PathResolver
Similar to Path.relativize(Path) except that: null is returned if file is not a child of dir the resulting path is converted to use Unix separators
relativePath(File, File) - Method in class org.sonar.api.scan.filesystem.PathResolver
 
RelativePath(File, String) - Constructor for class org.sonar.api.scan.filesystem.PathResolver.RelativePath
Deprecated.
 
relativePathFromSourceDir() - Method in class org.sonar.api.resources.Directory
Deprecated.
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
Deprecated.
Related to characteristic RELIABILITY
RELIABILITY_RATING - Static variable in class org.sonar.api.measures.CoreMetrics
 
RELIABILITY_RATING_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
RELIABILITY_REMEDIATION_EFFORT - Static variable in class org.sonar.api.measures.CoreMetrics
 
RELIABILITY_REMEDIATION_EFFORT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
remove() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
remove(String) - Method in class org.sonar.api.config.MapSettings
 
remove(String) - Method in class org.sonar.api.config.Settings
 
removeActiveRule(ActiveRule) - Method in class org.sonar.api.profiles.RulesProfile
 
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
Deprecated.
since 5.5, manual issue feature has been dropped.
reporter() - Method in interface org.sonar.api.issue.Issue
Deprecated.
since 5.5, manual issue feature has been dropped.
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
 
Request.Param<T> - Interface in org.sonar.api.server.ws
Represents a Request parameter, provides information whether is was specified or not (check Request.Param.isPresent()) and utility method to nicely handles cases where the parameter is not present.
Request.Part - Interface in org.sonar.api.server.ws
 
Request.StringParam - Interface in org.sonar.api.server.ws
Extends Request.Param with convenience methods specific to the type String.
RequestHandler - Interface in org.sonar.api.server.ws
Extension point to execute a HTTP request.
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
 
resetSources() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
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
 
Resource - Class in org.sonar.api.resources
Deprecated.
since 5.6 replaced by InputComponent
Resource() - Constructor for class org.sonar.api.resources.Resource
Deprecated.
 
RESOURCE - Static variable in annotation type org.sonar.api.web.NavigationSection
Deprecated.
 
RESOURCE_CONFIGURATION - Static variable in annotation type org.sonar.api.web.NavigationSection
Deprecated.
Only Ruby and rails application.
RESOURCE_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
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.
ResourceLanguage - Annotation Type in org.sonar.api.web
Deprecated.
since 6.3 see PageDefinition. This class is ignored.
ResourcePerspectives - Interface in org.sonar.api.component
Deprecated.
since 5.6 all features are available on SensorContext
ResourceQualifier - Annotation Type in org.sonar.api.web
Deprecated.
since 6.3 see PageDefinition. This class is ignored.
ResourceScope - Annotation Type in org.sonar.api.web
Deprecated.
since 6.3 see PageDefinition. This class is ignored.
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.
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
Deprecated.
since 5.6 as Resource is deprecated
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
Deprecated.
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
Mandatory field
root() - Method in interface org.sonar.api.batch.fs.internal.InputModuleHierarchy
 
ROOT - Static variable in class org.sonar.api.resources.Directory
Deprecated.
 
RubyRailsPage - Interface in org.sonar.api.web
Deprecated.
since 6.3 see PageDefinition. This class is ignored.
RubyRailsWidget - Interface in org.sonar.api.web
Deprecated.
since 6.2, this extension is ignored as dashboards have been removed
Rule - Interface in org.sonar.api.batch.rule
 
rule(Metric, RuleKey) - Static method in class org.sonar.api.measures.MeasuresFilters
Deprecated.
 
rule(Metric, Rule) - Static method in class org.sonar.api.measures.MeasuresFilters
Deprecated.
 
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.PostJobIssue
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 interface org.sonar.api.scan.issue.filter.FilterableIssue
 
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
Deprecated.
 
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.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
Deprecated.
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model. See https://jira.sonarsource.com/browse/MMF-184
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
Loads definitions of rules 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
RuleType - Enum in org.sonar.api.rules
 
runtime() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
runtime() - Method in interface org.sonar.api.batch.sensor.SensorContext
Runtime information, mainly: to be able to have different behaviours between SonarQube and SonarLint to enable new features depending on version of API available at runtime

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 to save the coverage report for the given file.
save() - Method in interface org.sonar.api.batch.sensor.cpd.NewCpdTokens
Call this method only once when your are done with defining tokens of the file.
save() - Method in interface org.sonar.api.batch.sensor.error.NewAnalysisError
Save this error information.
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.batch.sensor.symbol.NewSymbolTable
Call this method only once when your are done with defining all symbols of the file.
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
Deprecated.
Add a new measure on the current resource.
saveMeasure(Metric, Double) - Method in interface org.sonar.api.batch.DecoratorContext
Deprecated.
Add a new measure on the current resource.
saveMeasure(Measure) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
Add a measure on project
saveMeasure(Metric, Double) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
Add a measure on project
saveMeasure(Resource, Metric, Double) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
Add or update a measure.
saveMeasure(Resource, Measure) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
Add or update a measure.
saveMeasure(InputFile, Metric, Double) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
Save measure on InputFile
saveMeasure(InputFile, Measure) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
Save measure on InputFile
saveResource(Resource) - Method in interface org.sonar.api.batch.SensorContext
Deprecated.
use the methods index()
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
 
ScannerContext - Interface in org.sonar.api.ce.posttask
 
ScannerSide - Annotation Type in org.sonar.api.batch
Marker annotation for all the components available in the container of the scanner (code analyzer).
SchemeProcessor() - Constructor for class org.sonar.api.utils.UriReader.SchemeProcessor
 
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
Deprecated.
 
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
Deprecated.
Related to characteristic SECURITY
SECURITY_FEATURES - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
Related to characteristic SECURITY
SECURITY_RATING - Static variable in class org.sonar.api.measures.CoreMetrics
 
SECURITY_RATING_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
SECURITY_REMEDIATION_EFFORT - Static variable in class org.sonar.api.measures.CoreMetrics
 
SECURITY_REMEDIATION_EFFORT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
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
 
Semaphore() - Constructor for class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
Semaphores - Interface in org.sonar.api.utils
Deprecated.
in 5.2 as analyzer does not connect to database anymore
Semaphores.Semaphore - Class in org.sonar.api.utils
Deprecated.
 
Sensor - Interface in org.sonar.api.batch
Deprecated.
since 5.6 use org.sonar.api.batch.sensor.Sensor
Sensor - Interface in org.sonar.api.batch.sensor
A sensor is invoked once for each module of a project, starting from leaf modules.
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
Deprecated.
since 5.6 use Sensor
SensorContextTester - Class in org.sonar.api.batch.sensor.internal
Utility class to help testing Sensor.
SensorDescriptor - Interface in org.sonar.api.batch.sensor
Describe what a Sensor is doing.
SensorExecutionHandler - Interface in org.sonar.api.batch.events
Deprecated.
since 6.0
SensorExecutionHandler.SensorExecutionEvent - Interface in org.sonar.api.batch.events
Deprecated.
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
Deprecated.
 
Server - Class in org.sonar.api.platform
Runtime information about server
Server() - Constructor for class org.sonar.api.platform.Server
 
SERVER_BASE_URL - Static variable in interface org.sonar.api.CoreProperties
This property defines the SonarQubeServer base url, such as http://yourhost.yourdomain/sonar.
SERVER_BASE_URL_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
Deprecated.
since 5.6. This constant default value is incorrect if a host and/or a port and/or a context have been configured. The correct default value when CoreProperties.SERVER_BASE_URL is not set is provided by Server.getURL().
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
 
ServerComponent - Interface in org.sonar.api
Deprecated.
in 5.2. Use ServerSide annotation instead.
ServerExtension - Interface in org.sonar.api
Deprecated.
since 5.2. Use annotations ServerSide or ComputeEngineSide and ExtensionPoint
ServerFileSystem - Interface in org.sonar.api.platform
 
ServerSide - Annotation Type in org.sonar.api.server
Same as ScannerSide 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
 
ServletFilter.UrlPattern.Builder - Class in org.sonar.api.web
 
set(String, String) - Method in class org.sonar.api.config.MapSettings
 
set(String, String) - Method in class org.sonar.api.config.Settings
 
setAction(WebService.Action) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
setActivated(boolean) - Method in class org.sonar.api.web.Dashboard
Deprecated.
Set whether the dashboard is activated for all anonymous users or users who haven't configured their own dashboards.
setActivatedByDefault(boolean) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
Should this rule be enabled by default.
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
setAdmin(boolean) - Method in class org.sonar.api.web.page.Page.Builder
if set to true, display the page in the administration section, depending on the scope
setAlertStatus(Metric.Level) - Method in class org.sonar.api.measures.Measure
Deprecated.
Set the alert status of the measure
setAlertText(String) - Method in class org.sonar.api.measures.Measure
Deprecated.
Sets the text associated to the alert on the measure
setBackgroundColor(String) - Method in class org.sonar.api.server.authentication.Display.Builder
 
setBaseDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
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
 
setBuildDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
Deprecated.
since 6.1 notion of buildDir is not well defined
setCancelled(boolean) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
setCardinality(Cardinality) - Method in class org.sonar.api.rules.Rule
Deprecated.
setChangelog(Change...) - Method in class org.sonar.api.server.ws.WebService.NewAction
List of changes made to the contract or valuable insight.
setCharacteristicId(Integer) - Method in class org.sonar.api.rules.Rule
Deprecated.
setCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
Deprecated.
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model.
setCharset(Charset) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
setCharset(Charset) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
setComponentQualifiers(Page.Qualifier...) - Method in class org.sonar.api.web.page.Page.Builder
Define the components where the page is displayed.
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
setContents(String) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
Set contents of the file and calculates metadata from it.
setCoverageBlock(Testable, List<Integer>) - Method in interface org.sonar.api.test.MutableTestCase
setCoverageBlock(InputFile, List<Integer>) - Method in interface org.sonar.api.test.MutableTestCase
Deprecated.
 
setCreatedAt(long) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
 
setCreatedAt(Date) - Method in class org.sonar.api.rules.Rule
 
setCreatedAt(Date) - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
setData(String) - Method in class org.sonar.api.measures.Measure
Deprecated.
Sets the data field of the measure.
setData(Metric.Level) - Method in class org.sonar.api.measures.Measure
Deprecated.
Sets an alert level as the data field
setDate(Date) - Method in class org.sonar.api.measures.Measure
Deprecated.
Sets the date of the measure - Used only in TimeMachine queries
setDebt(Duration) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
Deprecated.
setDebtRemediationFunction(DebtRemediationFunction) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
 
setDebtSubCharacteristic(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
Deprecated.
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model. This method does nothing. See https://jira.sonarsource.com/browse/MMF-184
setDecimalScale(int) - Method in class org.sonar.api.measures.Metric.Builder
Scale to be used if the metric has decimal type (Metric.ValueType.FLOAT or Metric.ValueType.PERCENT).
setDecoratorContext(DecoratorContext) - Method in class org.sonar.api.batch.DefaultFormulaContext
Deprecated.
 
setDefaultCharacteristicId(Integer) - Method in class org.sonar.api.rules.Rule
Deprecated.
setDefaultCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
Deprecated.
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model.
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.
setDefaultPredicate(Predicate<InputFile>) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
 
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
Deprecated.
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model.
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
Deprecated.
since 6.4
setDeprecatedKey(String, String) - Method in class org.sonar.api.server.ws.WebService.NewParam
 
setDeprecatedSince(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
 
setDeprecatedSince(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
Deprecated.
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.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
Used in Orchestrator
setDescription(String, Object...) - 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, Object...) - Method in class org.sonar.api.server.ws.WebService.NewParam
 
setDescription(String) - Method in class org.sonar.api.web.Dashboard
Deprecated.
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.
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
Deprecated.
 
setDurationSinceLocked(Long) - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
setEffectiveKey(String) - Method in class org.sonar.api.resources.Resource
Deprecated.
Internal use only
setEffort(Duration) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
 
setEffortToFixDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
Deprecated.
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
 
setEmail(String) - Method in class org.sonar.api.server.authentication.UserIdentity.Builder
 
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
 
setErrorThreshold(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ConditionBuilder
 
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.
setFallbackForMainMetric(Metric) - Method in class org.sonar.api.measures.AverageFormula
Deprecated.
Set a fallback metric if no measures found for the main metric.
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
 
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.
setGapDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
For rules that use LINEAR or LINEAR_OFFSET remediation functions, the meaning of the function parameter (= "gap") must be set.
setGlobal(boolean) - Method in class org.sonar.api.web.Dashboard
Deprecated.
A dashboard is global when it doesn't display information from a project but rather more general information.
setGroups(Set<String>) - Method in class org.sonar.api.server.authentication.UserIdentity.Builder
Set group membership of the user.
setHandler(RequestHandler) - Method in class org.sonar.api.server.ws.WebService.NewAction
 
setHash(String) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
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
The optional description, in HTML format, has no max length.
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.
setIconPath(String) - Method in class org.sonar.api.server.authentication.Display.Builder
 
setId(Integer) - Method in class org.sonar.api.batch.rule.internal.NewRule
 
setId(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.CeTaskBuilder
 
setId(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.QualityGateBuilder
 
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(Integer) - Method in class org.sonar.api.measures.Metric
For internal use only
setId(Integer) - Method in class org.sonar.api.resources.Resource
Deprecated.
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
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
Internal actions are not displayed by default in the web api documentation.
setInternal(boolean) - Method in class org.sonar.api.server.ws.WebService.NewParam
Internal parameters are not displayed by default in the web api documentation.
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
Deprecated.
Sets the measure value as an int
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.ce.measure.test.TestIssue.Builder
 
setKey(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ProjectBuilder
 
setKey(String) - Method in class org.sonar.api.component.mock.MockSourceFile
Deprecated.
 
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
Deprecated.
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
 
setLanguage(String) - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
 
setLanguage(String) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
setLanguage(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
 
setLanguage(String) - Method in class org.sonar.api.component.mock.MockSourceFile
Deprecated.
 
setLanguage(String) - Method in class org.sonar.api.profiles.RulesProfile
Set the profile language
setLanguage(Language) - Method in class org.sonar.api.resources.File
Deprecated.
Sets the language of the file
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.TestInputFileBuilder
 
setLayout(DashboardLayout) - Method in class org.sonar.api.web.Dashboard
Deprecated.
 
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.
 
setLines(int) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
setLocalConnector(LocalConnector) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
 
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
 
setLogin(String) - Method in class org.sonar.api.server.authentication.UserIdentity.Builder
 
setLongName(String) - Method in class org.sonar.api.component.mock.MockSourceFile
Deprecated.
 
setMarkdownDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
The optional description, in a restricted Markdown format, has no max length.
setMarkdownDescription(URL) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
Load description from a file available in classpath.
setMaxValuesAllowed(Integer) - Method in class org.sonar.api.server.ws.WebService.NewParam
 
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.test.MutableTestCase
Deprecated.
 
setMessage(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
setMessageId(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
setMetadata(Metadata) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
setMetadata(Metadata) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
setMetric(Metric) - Method in class org.sonar.api.batch.DefaultFormulaContext
Deprecated.
 
setMetric(Metric<G>) - Method in class org.sonar.api.measures.Measure
Deprecated.
Set the underlying metric
setMetric(Metric) - Method in class org.sonar.api.measures.PropertiesBuilder
Deprecated.
 
setMetricKey(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ConditionBuilder
 
setMimeType(String) - Method in class org.sonar.api.profiles.ProfileExporter
Set the mime type of the exported file
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.TestInputFileBuilder
 
setName(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
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.ce.posttask.PostProjectAnalysisTaskTester.ProjectBuilder
 
setName(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.QualityGateBuilder
 
setName(String) - Method in class org.sonar.api.component.mock.MockSourceFile
Deprecated.
 
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.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.authentication.UserIdentity.Builder
 
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.utils.Semaphores.Semaphore
Deprecated.
 
setName(String) - Method in class org.sonar.api.web.page.Page.Builder
Page name displayed in the UI.
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.TestInputFileBuilder
 
setNow(long) - Method in class org.sonar.api.utils.internal.TestSystem2
 
setOnLeakPeriod(boolean) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ConditionBuilder
 
setOperator(QualityGate.Operator) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ConditionBuilder
 
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
 
setOriginalLineOffsets(int[]) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
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
 
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(Rule) - Method in class org.sonar.api.rules.Rule
Deprecated.
since 4.4, use Rule.setTemplate(Rule)}
setParentName(String) - Method in class org.sonar.api.profiles.RulesProfile
For internal use only.
setPart(String, InputStream, String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
setPath(String) - Method in class org.sonar.api.component.mock.MockSourceFile
Deprecated.
 
setPath(String) - Method in class org.sonar.api.resources.Resource
Deprecated.
 
setPath(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
setPathToSecretKey(String) - Method in class org.sonar.api.config.Encryption
 
setPersistenceMode(PersistenceMode) - Method in class org.sonar.api.measures.Measure
Deprecated.
Sets the persistence mode of a measure.
setPersonId(Integer) - Method in class org.sonar.api.measures.Measure
Deprecated.
 
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
 
setPreviewOrIssue(boolean) - Method in class org.sonar.api.batch.sensor.internal.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
 
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
Change a property value in a restricted scope only, depending on execution context.
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.utils.System2
Shortcut for System{@link #setProperty(String, String)}
setProperty(String, String) - Method in class org.sonar.api.web.Dashboard.Widget
Deprecated.
 
setProviderLogin(String) - Method in class org.sonar.api.server.authentication.UserIdentity.Builder
 
setPublish(boolean) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
setPublish(boolean) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
setQualifier(String) - Method in class org.sonar.api.component.mock.MockSourceFile
Deprecated.
 
setQualifier(String) - Method in class org.sonar.api.resources.File
Deprecated.
 
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
Deprecated.
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).
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.
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.
 
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
setRuntime(SonarRuntime) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
setScope(Page.Scope) - Method in class org.sonar.api.web.page.Page.Builder
Define where the page is displayed, either in the global menu or in a component page
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
 
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(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
setSince(String) - Method in class org.sonar.api.server.ws.WebService.NewParam
 
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
Deprecated.
 
setStatus(InputFile.Status) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
setStatus(InputFile.Status) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
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(CeTask.Status) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.CeTaskBuilder
 
setStatus(QualityGate.Status) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.QualityGateBuilder
 
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
HTTP status code.
setStatus(TestCase.Status) - Method in interface org.sonar.api.test.MutableTestCase
Deprecated.
 
setStringValue(String, int, String) - Method in interface org.sonar.api.measures.FileLinesContext
 
setSubCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
Deprecated.
in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model.
setSubject(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
setSupportedLanguages(String...) - Method in class org.sonar.api.profiles.ProfileExporter
Set the list of languages supported An empty value means that it will be available for every languages.
setSupportedLanguages(String...) - Method in class org.sonar.api.profiles.ProfileImporter
Set the list of languages supported An empty value means that it will be available for every languages.
setSymbolTable(Symbolizable.SymbolTable) - Method in interface org.sonar.api.source.Symbolizable
Deprecated.
 
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
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
Component to get effective settings.
Settings(PropertyDefinitions, Encryption) - Constructor for class org.sonar.api.config.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.TestInputFileBuilder
 
setType(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
 
setType(RuleType) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
 
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(RuleType) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
The type as defined by the SonarQube Quality Model.
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.rules.Rule
 
setUpdatedAt(Date) - Method in class org.sonar.api.utils.Semaphores.Semaphore
Deprecated.
 
setUrl(String) - Method in class org.sonar.api.measures.Measure
Deprecated.
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.ce.posttask.PostProjectAnalysisTaskTester.ProjectBuilder
 
setUuid(String) - Method in class org.sonar.api.resources.Resource
Deprecated.
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
Deprecated.
Sets the measure value with the default precision of 1
setValue(Double, int) - Method in class org.sonar.api.measures.Measure
Deprecated.
in 5.3. The decimal scale is given by the metric, not by the measure. Anyway this parameter was enforced to 1 before version 5.3.
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
Deprecated.
Internal use only
setVariation1(Double) - Method in class org.sonar.api.measures.Measure
Deprecated.
Internal use only
setVariation2(Double) - Method in class org.sonar.api.measures.Measure
Deprecated.
Internal use only
setVariation3(Double) - Method in class org.sonar.api.measures.Measure
Deprecated.
Internal use only
setVariation4(Double) - Method in class org.sonar.api.measures.Measure
Deprecated.
Internal use only
setVariation5(Double) - Method in class org.sonar.api.measures.Measure
Deprecated.
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.
setWarningThreshold(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ConditionBuilder
 
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.PostJobIssue
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 interface org.sonar.api.scan.issue.filter.FilterableIssue
 
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.AbstractSumChildrenDecorator
Deprecated.
shouldExecuteOnProject(Project) - Method in interface org.sonar.api.batch.CheckProject
Deprecated.
 
shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.Initializer
Deprecated.
since 5.6 should no more be implemented by plugins
shouldSaveZeroIfNoChildMeasures() - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
Deprecated.
 
shouldSyncGroups() - Method in class org.sonar.api.server.authentication.UserIdentity
Return true if groups should be synchronized for this user.
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
 
since() - Method in class org.sonar.api.server.ws.WebService.Param
 
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
Deprecated.
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.
 
SonarLintSide - Annotation Type in org.sonarsource.api.sonarlint
Marker annotation for all the components available in container of sonarlint.
SonarPlugin - Class in org.sonar.api
Deprecated.
replaced by Plugin in version 5.6.
SonarPlugin() - Constructor for class org.sonar.api.SonarPlugin
Deprecated.
 
SonarProduct - Enum in org.sonar.api
List of different products/runtimes.
SonarQubeSide - Enum in org.sonar.api
Runtime stack in SonarQube product.
SonarQubeVersion - Class in org.sonar.api
Version of SonarQube at runtime, but not at compilation time.
SonarQubeVersion(Version) - Constructor for class org.sonar.api.SonarQubeVersion
 
SonarRuntime - Interface in org.sonar.api
Information about runtime environment.
SonarRuntimeImpl - Class in org.sonar.api.internal
 
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
 
sourceExclusions() - Method in class org.sonar.api.scan.filesystem.FileExclusions
 
SourceFile - Interface in org.sonar.api.component
Deprecated.
since 5.6
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
 
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 interface org.sonar.api.Startable
Start this component.
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.
Startable - Interface in org.sonar.api
An interface which is implemented by classes annotated with ScannerSide, ServerSide and/or ComputeEngineSide (referred to below as "component") that can be started and stopped.
startDebug(String) - Method in class org.sonar.api.utils.log.Profiler
 
startInfo(String) - Method in class org.sonar.api.utils.log.Profiler
 
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
 
staticResourcePatterns() - Static method in class org.sonar.api.web.ServletFilter.UrlPattern.Builder
 
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.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.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.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
Deprecated.
since 5.6 plugins should use their own dependencies
StaxParser(StaxParser.XmlStreamHandler) - Constructor for class org.sonar.api.utils.StaxParser
Deprecated.
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
Deprecated.
Stax parser for a given stream handler and iso control chars set awarness to on.
StaxParser.XmlStreamHandler - Interface in org.sonar.api.utils
Deprecated.
Simple interface for handling XML stream to parse
stop() - Method in interface org.sonar.api.Startable
Stop this component.
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(DefaultHighlighting) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
 
store(DefaultCoverage) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
 
store(DefaultCpdTokens) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
 
store(DefaultSymbolTable) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
 
store(AnalysisError) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
 
storeProperty(String, String) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
Value is overridden if the key was already stored.
stream() - Method in interface org.sonar.api.server.ws.Response
 
stream(SMHierarchicCursor) - Method in interface org.sonar.api.utils.StaxParser.XmlStreamHandler
Deprecated.
 
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_EMAIL - 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.
sum(boolean, Collection<Measure>) - Static method in class org.sonar.api.measures.MeasureUtils
Deprecated.
Sums a series of measures
sum(boolean, Measure...) - Static method in class org.sonar.api.measures.MeasureUtils
Deprecated.
Sums a series of measures
SumChildDistributionFormula - Class in org.sonar.api.measures
Deprecated.
since 5.2. Aggregation of measures is provided by MeasureComputer. Decorator and Formula are no more supported.
SumChildDistributionFormula() - Constructor for class org.sonar.api.measures.SumChildDistributionFormula
Deprecated.
 
SumChildValuesFormula - Class in org.sonar.api.measures
Deprecated.
since 5.2. Aggregation of measures is provided by MeasureComputer. Decorator and Formula are no more supported.
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
Deprecated.
Sums a series of measures for the given variation index
sumOrNull(Integer, Integer) - Static method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
SUN_CONVENTIONS_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
Deprecated.
in 4.2. Use your own constant.
supports(File) - Method in class org.sonar.api.batch.scm.ScmProvider
Whether this provider is able to manage files located in this directory.
Symbol - Interface in org.sonar.api.source
Deprecated.
Symbolizable - Interface in org.sonar.api.source
Deprecated.
Symbolizable.SymbolTable - Interface in org.sonar.api.source
Deprecated.
 
Symbolizable.SymbolTableBuilder - Interface in org.sonar.api.source
Deprecated.
 
symbols() - Method in interface org.sonar.api.source.Symbolizable.SymbolTable
Deprecated.
 
SYNCHRONIZATION_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
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
 
Task - Interface in org.sonar.api.task
Implement this interface to provide the behavior of a task.
taskClass(Class<? extends Task>) - Method in class org.sonar.api.task.TaskDefinition.Builder
 
taskClass() - Method in class org.sonar.api.task.TaskDefinition
 
TaskComponent - Interface in org.sonar.api.task
Deprecated.
TaskDefinition - Class in org.sonar.api.task
Register and describe a TaskExtension.
TaskDefinition.Builder - Class in org.sonar.api.task
 
TaskExtension - Interface in org.sonar.api.task
Deprecated.
since 5.1. Not used.
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_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_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
Deprecated.
Related to characteristic TESTABILITY
testable() - Method in interface org.sonar.api.test.CoverageBlock
Deprecated.
 
Testable - Interface in org.sonar.api.test
Deprecated.
since 5.2
testCase() - Method in interface org.sonar.api.test.CoverageBlock
Deprecated.
 
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
 
testedLines() - Method in interface org.sonar.api.test.Testable
Deprecated.
 
TestException - Exception in org.sonar.api.test.exception
Deprecated.
since 5.6 feature will be removed soon
TestException(String) - Constructor for exception org.sonar.api.test.exception.TestException
Deprecated.
 
TestException(String, Throwable) - Constructor for exception org.sonar.api.test.exception.TestException
Deprecated.
 
testExclusions() - Method in class org.sonar.api.scan.filesystem.FileExclusions
 
testInclusions() - Method in class org.sonar.api.scan.filesystem.FileExclusions
 
TestInputFileBuilder - Class in org.sonar.api.batch.fs.internal
Intended to be used in unit tests that need to create InputFiles.
TestInputFileBuilder(String, String) - Constructor for class org.sonar.api.batch.fs.internal.TestInputFileBuilder
Create a InputFile identified by the given module key and relative path.
TestInputFileBuilder(String, File, File) - Constructor for class org.sonar.api.batch.fs.internal.TestInputFileBuilder
Create a InputFile with a given module key and module base directory.
TestInputFileBuilder(String, String, int) - Constructor for class org.sonar.api.batch.fs.internal.TestInputFileBuilder
 
TestIssue - Class in org.sonar.api.ce.measure.test
 
TestIssue.Builder - Class in org.sonar.api.ce.measure.test
 
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
 
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
Deprecated.
Related to characteristic PORTABILITY
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
 
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
 
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.fs.internal.DefaultIndexedFile
 
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.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.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.measures.Measure
Deprecated.
 
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
Deprecated.
 
toString() - Method in class org.sonar.api.resources.File
Deprecated.
 
toString() - Method in class org.sonar.api.resources.Library
Deprecated.
 
toString() - Method in class org.sonar.api.resources.Project
Deprecated.
 
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.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
Deprecated.
Returns a string representation of the plugin, suitable for debugging purposes only.
toString() - Method in class org.sonar.api.task.TaskDefinition
 
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.Version
 
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 enum org.sonar.api.web.DashboardLayout
Deprecated.
 
toString() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
 
total() - Method in class org.sonar.api.utils.Paging
Total number of items.
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(Supplier<String>) - Method in interface org.sonar.api.utils.log.Logger
Logs a TRACE message, which is only to be constructed if the logging level is such that the message will actually be logged.
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
Deprecated.
Related to characteristic REUSABILITY
type() - Method in class org.sonar.api.batch.debt.DebtRemediationFunction
 
type() - Method in interface org.sonar.api.batch.fs.IndexedFile
Does it contain main or test code ?
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.DefaultIndexedFile
 
type() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
type() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
 
type() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
 
type() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
type() - Method in interface org.sonar.api.ce.measure.Issue
 
type() - Method in class org.sonar.api.ce.measure.test.TestIssue
 
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.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 class org.sonar.api.server.rule.RulesDefinition.Rule
 
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
TypeOfText - Enum in org.sonar.api.batch.sensor.highlighting
Possible types for highlighting code.

U

UnauthorizedException - Exception in org.sonar.api.server.authentication
This exception should be used when a functional error is generated by an Identity Provider plugin.
UnauthorizedException(String) - Constructor for exception org.sonar.api.server.authentication.UnauthorizedException
 
UnauthorizedException(String, Throwable) - Constructor for exception org.sonar.api.server.authentication.UnauthorizedException
 
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
Deprecated.
 
uncoveredLines() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
Deprecated.
 
UNDERSTANDABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
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
Deprecated.
Related to characteristic TESTABILITY
UNIT_TESTS - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
Related to characteristic RELIABILITY
unsetData() - Method in class org.sonar.api.measures.Measure
Deprecated.
 
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
Deprecated.
unzip(InputStream, File, Predicate<ZipEntry>) - Static method in class org.sonar.api.utils.ZipUtils
Unzip a file to a directory.
unzip(File, File, ZipUtils.ZipEntryFilter) - Static method in class org.sonar.api.utils.ZipUtils
Deprecated.
unzip(File, File, Predicate<ZipEntry>) - Static method in class org.sonar.api.utils.ZipUtils
Unzip a file to a directory.
updatedAt() - Method in interface org.sonar.api.issue.IssueComment
 
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
 
url - Variable in class org.sonar.api.measures.Measure
Deprecated.
 
USABILITY_ACCESSIBILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
Related to characteristic ACCESSIBILITY
USABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
Related to characteristic ACCESSIBILITY
USABILITY_EASE_OF_USE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
Deprecated.
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
Deprecated.
 
useMemory() - Method in enum org.sonar.api.measures.PersistenceMode
Deprecated.
 
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
UserGroupValidation - Class in org.sonar.api.user
 
UserIdentity - Class in org.sonar.api.server.authentication
User information provided by the Identity Provider to be register into the platform.
UserIdentity.Builder - Class in org.sonar.api.server.authentication
 
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
 
usesBaseEffort() - Method in enum org.sonar.api.server.debt.DebtRemediationFunction.Type
 
usesCoefficient() - Method in enum org.sonar.api.server.debt.DebtRemediationFunction.Type
Deprecated.
usesGapMultiplier() - Method in enum org.sonar.api.server.debt.DebtRemediationFunction.Type
 
usesOffset() - Method in enum org.sonar.api.server.debt.DebtRemediationFunction.Type
Deprecated.

V

V5_5 - Static variable in class org.sonar.api.SonarQubeVersion
Deprecated.
in 6.0. Please define your own constants.
V5_6 - Static variable in class org.sonar.api.SonarQubeVersion
Deprecated.
in 6.0. Please define your own constants.
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
 
validateGroupName(String) - Static method in class org.sonar.api.user.UserGroupValidation
 
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
Deprecated.
 
value() - Method in class org.sonar.api.measures.Measure
Deprecated.
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<Object, Object>.
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
Deprecated.
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.ce.posttask.CeTask.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.ce.posttask.QualityGate.EvaluationStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.ce.posttask.QualityGate.Operator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.ce.posttask.QualityGate.Status
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
Deprecated.
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.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.rules.RuleType
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.sonar.api.rules.RuleType
Returns the enum constant of the specified DB column value.
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.SonarProduct
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.SonarQubeSide
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
Deprecated.
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.web.DashboardLayout
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.web.page.Page.Qualifier
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.web.page.Page.Scope
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
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.api.web.WidgetPropertyType
Deprecated.
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
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.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.ce.posttask.CeTask.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.ce.posttask.QualityGate.EvaluationStatus
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.posttask.QualityGate.Operator
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.posttask.QualityGate.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.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
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.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.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.rules.RuleType
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.SonarProduct
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.api.SonarQubeSide
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
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.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.web.DashboardLayout
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.page.Page.Qualifier
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.page.Page.Scope
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
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.WidgetPropertyType
Deprecated.
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
Deprecated.
 
variation2 - Variable in class org.sonar.api.measures.Measure
Deprecated.
 
variation3 - Variable in class org.sonar.api.measures.Measure
Deprecated.
 
variation4 - Variable in class org.sonar.api.measures.Measure
Deprecated.
 
variation5 - Variable in class org.sonar.api.measures.Measure
Deprecated.
 
verifyCsrfState() - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.CallbackContext
Check that the state is valid.
Version - Class in org.sonar.api.utils
Version composed of maximum four fields (major, minor, patch and build ID numbers) and optionally a qualifier.
VIEW - Static variable in class org.sonar.api.resources.Qualifiers
Root views.
View - Interface in org.sonar.api.web
Deprecated.
since 6.3 see PageDefinition. This class is ignored.
VIEWER - Static variable in annotation type org.sonar.api.web.UserRole
Deprecated.
use the constant USER since 1.12.
VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
 
VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
VULNERABILITIES - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model
VULNERABILITIES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
SonarQube Quality Model

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.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.SelectionMode - Enum in org.sonar.api.server.ws
 
WeightedMeanAggregationFormula - Class in org.sonar.api.measures
Deprecated.
since 5.2. Aggregation of measures is provided by MeasureComputer. Decorator and Formula are no more supported.
WeightedMeanAggregationFormula(Metric, boolean) - Constructor for class org.sonar.api.measures.WeightedMeanAggregationFormula
Deprecated.
 
Widget - Interface in org.sonar.api.web
Deprecated.
since 6.2, this extension is ignored as dashboards have been removed
WidgetCategory - Annotation Type in org.sonar.api.web
Deprecated.
since 6.2, this extension is ignored as dashboards have been removed
WidgetLayout - Annotation Type in org.sonar.api.web
Deprecated.
since 6.2, this extension is ignored as dashboards have been removed
WidgetLayoutType - Enum in org.sonar.api.web
Deprecated.
since 6.2, this extension is ignored as dashboards have been removed
WidgetProperties - Annotation Type in org.sonar.api.web
Deprecated.
since 6.2, this extension is ignored as dashboards have been removed
WidgetProperty - Annotation Type in org.sonar.api.web
Deprecated.
since 6.2, this extension is ignored as dashboards have been removed
WidgetPropertyType - Enum in org.sonar.api.web
Deprecated.
since 6.2, this extension is ignored as dashboards have been removed
WidgetScope - Annotation Type in org.sonar.api.web
Deprecated.
since 6.2, this extension is ignored as dashboards have been removed
WildcardPattern - Class in org.sonar.api.utils
Implementation of Ant-style matching patterns.
WildcardPattern(String, String) - Constructor for class org.sonar.api.utils.WildcardPattern
 
withCeTask(CeTask) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
 
withConfigKey(String) - Method in class org.sonar.api.rules.RuleQuery
 
withKey(String) - Method in class org.sonar.api.rules.RuleQuery
 
withPageSize(int) - Method in class org.sonar.api.utils.Paging.Builder
 
withProject(Project) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
 
withQualityGate(QualityGate) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
 
withRepositoryKey(String) - Method in class org.sonar.api.rules.RuleQuery
 
withScannerContext(ScannerContext) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
 
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
 
WONT_FIX_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
 
WONT_FIX_ISSUES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
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
 
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
 

X

XmlParserException - Exception in org.sonar.api.utils
Deprecated.
since 5.6
XmlParserException() - Constructor for exception org.sonar.api.utils.XmlParserException
Deprecated.
 
XmlParserException(String) - Constructor for exception org.sonar.api.utils.XmlParserException
Deprecated.
 
XmlParserException(String, Throwable) - Constructor for exception org.sonar.api.utils.XmlParserException
Deprecated.
 
XmlParserException(Throwable) - Constructor for exception org.sonar.api.utils.XmlParserException
Deprecated.
 
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
Deprecated.
since 5.6 plugins should use their own dependencies
XpathParser() - Constructor for class org.sonar.api.utils.XpathParser
Deprecated.
 

Z

zipDir(File, File) - Static method in class org.sonar.api.utils.ZipUtils
 
ZipUtils - Class in org.sonar.api.utils
Utility to zip directories and unzip files.
ZipUtils.ZipEntryFilter - Interface in org.sonar.api.utils
Deprecated.
replaced by Predicate in 6.2.
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 
Skip navigation links

Copyright © 2009–2017 SonarSource. All rights reserved.