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
absolutePath() - Method in interface org.sonar.api.batch.fs.InputDir
Deprecated.
Normalized absolute path.
absolutePath() - Method in interface org.sonar.api.batch.fs.InputFile
Deprecated.
since 6.6 use InputFile.inputStream() for file content, IndexedFile.filename() for file name, IndexedFile.uri() for an unique identifier, and InputFile.toString() for logging
absolutePath() - Method in interface org.sonar.api.batch.fs.InputPath
Deprecated.
since 6.5 use InputPath.uri()
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
 
activateRule(String, String) - Method in interface org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInQualityProfile
Activate a rule with specified key.
activateRule(String, String) - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInQualityProfileImpl
 
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.
activeRules() - Method in interface org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInQualityProfile
 
activeRules() - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInQualityProfileImpl
 
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
 
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
Deprecated.
 
addProperties(Properties) - Method in class org.sonar.api.config.Settings
Deprecated.
 
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
Deprecated.
AnnotationProfileParser(RuleFinder) - Constructor for class org.sonar.api.profiles.AnnotationProfileParser
Deprecated.
 
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
APP - Static variable in class org.sonar.api.resources.Qualifiers
Application portfolios.
appendProperty(String, String) - Method in class org.sonar.api.config.Settings
Deprecated.
 
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(InputFile) - Method in class org.sonar.api.batch.fs.internal.StatusPredicate
 
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
 
asConfig() - Method in class org.sonar.api.config.internal.MapSettings
 
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 - Interface in org.sonar.api.ce.posttask
 
Branch.Type - Enum in org.sonar.api.ce.posttask
 
BRANCH_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
 
BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
 
branchChangedFiles(String, Path) - Method in class org.sonar.api.batch.scm.ScmProvider
Return absolute path of the files changed in the current branch, compared to the provided target branch.
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
Deprecated.
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.BranchBuilder
 
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".
BuiltInQualityProfileAnnotationLoader - Class in org.sonar.api.server.profile
Read definitions of quality profiles based on the annotation BelongsToProfile provided by sonar-check-api.
BuiltInQualityProfileAnnotationLoader() - Constructor for class org.sonar.api.server.profile.BuiltInQualityProfileAnnotationLoader
 
BuiltInQualityProfilesDefinition - Interface in org.sonar.api.server.profile
Define built-in quality profiles which are automatically registered during SonarQube startup.
BuiltInQualityProfilesDefinition.BuiltInActiveRule - Class in org.sonar.api.server.profile
A rule activated on a built in quality profile.
BuiltInQualityProfilesDefinition.BuiltInQualityProfile - Interface in org.sonar.api.server.profile
 
BuiltInQualityProfilesDefinition.BuiltInQualityProfileImpl - Class in org.sonar.api.server.profile
 
BuiltInQualityProfilesDefinition.Context - Class in org.sonar.api.server.profile
Instantiated by core but not by plugins, except for their tests.
BuiltInQualityProfilesDefinition.NewBuiltInActiveRule - Class in org.sonar.api.server.profile
 
BuiltInQualityProfilesDefinition.NewBuiltInQualityProfile - Interface in org.sonar.api.server.profile
 
BuiltInQualityProfilesDefinition.NewBuiltInQualityProfileImpl - Class in org.sonar.api.server.profile
 
BuiltInQualityProfilesDefinition.NewOverriddenParam - Class in org.sonar.api.server.profile
 
BuiltInQualityProfilesDefinition.OverriddenParam - Class in org.sonar.api.server.profile
 

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 - Class in org.sonar.api.batch.fs.internal.charhandler
 
CharHandler() - Constructor for class org.sonar.api.batch.fs.internal.charhandler.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.internal.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
Deprecated.
 
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.
 
config() - Method in interface org.sonar.api.batch.postjob.PostJobContext
Get configuration of the current project.
config() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
 
config() - Method in interface org.sonar.api.batch.sensor.SensorContext
Get settings of the current module, or of the project for a global Sensor.
Configuration - Interface in org.sonar.api.config
Component to get effective configuration.
CONFIGURATION - Static variable in annotation type org.sonar.api.web.NavigationSection
Deprecated.
 
ConfigurationBridge - Class in org.sonar.api.config.internal
Used to help migration from Settings to Configuration
ConfigurationBridge(Settings) - Constructor for class org.sonar.api.config.internal.ConfigurationBridge
 
configurationPredicate() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
 
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.profile.BuiltInQualityProfilesDefinition.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
Deprecated.
 
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
 
createBuiltInQualityProfile(String, String) - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.Context
createConstantPerIssue(Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
Deprecated.
 
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
Deprecated.
 
createLinearWithOffset(Duration, Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
Deprecated.
 
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.
 
createPageParam() - Method in class org.sonar.api.server.ws.WebService.NewAction
 
createPageSize(int, int) - Method in class org.sonar.api.server.ws.WebService.NewAction
 
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
 
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
Deprecated.
 
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.
 
createSearchQuery(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.
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
Deprecated.
since 6.6 useless
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
Deprecated.
since 6.5 debt model will soon be unavailable on batch side
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
Deprecated.
 
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(Configuration, 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
DefaultFilePredicates(Path) - Constructor for class org.sonar.api.batch.fs.internal.DefaultFilePredicates
Client code should use FileSystem.predicates() to get an instance
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(Path, 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, String) - Constructor for class org.sonar.api.batch.fs.internal.DefaultIndexedFile
Testing purposes only!
DefaultIndexedFile(Path, String, String, String, InputFile.Type, String, int, SensorStrategy) - 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(ProjectDefinition) - 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(BuiltInQualityProfilesDefinition.Context) - Method in interface org.sonar.api.server.profile.BuiltInQualityProfilesDefinition
This method is executed when server is started.
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.profile.BuiltInQualityProfilesDefinition.NewBuiltInQualityProfile
 
done() - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInQualityProfileImpl
 
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
 
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
 
EmailSettings(Configuration) - 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.charhandler.CharHandler
 
eof() - Method in class org.sonar.api.batch.fs.internal.charhandler.FileHashComputer
 
eof() - Method in class org.sonar.api.batch.fs.internal.charhandler.LineCounter
 
eof() - Method in class org.sonar.api.batch.fs.internal.charhandler.LineHashComputer
 
eof() - Method in class org.sonar.api.batch.fs.internal.charhandler.LineOffsetCounter
 
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
Deprecated.
 
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.profile.BuiltInQualityProfilesDefinition.BuiltInQualityProfileImpl
 
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
Deprecated.
 
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
file() - Method in interface org.sonar.api.batch.fs.InputDir
Deprecated.
The underlying absolute File
file() - Method in interface org.sonar.api.batch.fs.InputFile
Deprecated.
since 6.6 use InputFile.inputStream() for file content, IndexedFile.filename() for file name, IndexedFile.uri() for an unique identifier, and InputFile.toString() for logging
file() - Method in interface org.sonar.api.batch.fs.InputPath
Deprecated.
since 6.5 use InputPath.uri()
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(Configuration) - 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
 
FileHashComputer - Class in org.sonar.api.batch.fs.internal.charhandler
 
FileHashComputer(String) - Constructor for class org.sonar.api.batch.fs.internal.charhandler.FileHashComputer
 
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.LineHashConsumer - Interface in org.sonar.api.batch.fs.internal
 
filename() - Method in interface org.sonar.api.batch.fs.IndexedFile
Filename for this file (inclusing extension).
filename() - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
 
filename() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
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
Deprecated.
since 6.6 Plugins should avoid working with File and prefer working with InputFile
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
Warning: relies on default timezone!
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
Warning: relies on default timezone!
formatDateTime(long) - Static method in class org.sonar.api.utils.DateUtils
Warning: relies on default timezone!
formatDateTime(OffsetDateTime) - Static method in class org.sonar.api.utils.DateUtils
 
formatDateTimeNullSafe(Date) - Static method in class org.sonar.api.utils.DateUtils
Warning: relies on default timezone!
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
 
FROM_NAME - Static variable in class org.sonar.api.config.EmailSettings
 
FROM_NAME_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
Deprecated.
 
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 interface org.sonar.api.config.Configuration
The effective value of the specified property.
get(String) - Method in class org.sonar.api.config.internal.ConfigurationBridge
 
get(String) - Method in class org.sonar.api.config.internal.MapSettings
 
get(String) - Method in class org.sonar.api.config.PropertyDefinitions
 
get(String) - Method in class org.sonar.api.config.Settings
Deprecated.
 
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
 
getBaseDir() - Method in class org.sonar.api.batch.fs.internal.DefaultInputModule
 
getBestValue() - Method in class org.sonar.api.measures.Metric
 
getBoolean(String) - Method in interface org.sonar.api.config.Configuration
Effective value as boolean.
getBoolean(String) - Method in class org.sonar.api.config.Settings
Deprecated.
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 class org.sonar.api.batch.fs.internal.DefaultInputModule
 
getBranch() - Method in interface org.sonar.api.ce.posttask.PostProjectAnalysisTask.ProjectAnalysis
The branch that is being analyzed.
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
Deprecated.
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
Deprecated.
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
Deprecated.
 
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
Deprecated.
The definition related to the specified property.
getDefinitions() - Method in class org.sonar.api.config.Settings
Deprecated.
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 class org.sonar.api.batch.fs.internal.DefaultInputModule
 
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 interface org.sonar.api.config.Configuration
Effective value as Double.
getDouble(String) - Method in class org.sonar.api.config.Settings
Deprecated.
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
Deprecated.
 
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() - 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 interface org.sonar.api.config.Configuration
Effective value as Float.
getFloat(String) - Method in class org.sonar.api.config.Settings
Deprecated.
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
 
getFromName() - Method in class org.sonar.api.config.EmailSettings
 
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
 
getHash() - Method in class org.sonar.api.batch.fs.internal.charhandler.FileHashComputer
 
getHeader(String) - Method in interface org.sonar.api.server.ws.LocalConnector.LocalRequest
 
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
UUID identifying the installation.
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 interface org.sonar.api.config.Configuration
Effective value as int.
getInt(String) - Method in class org.sonar.api.config.Settings
Deprecated.
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
Deprecated.
 
getKeyWithBranch() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getKeyWithBranch() - Method in class org.sonar.api.batch.fs.internal.DefaultInputModule
 
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
 
getLastValidOffset() - Method in class org.sonar.api.batch.fs.internal.charhandler.LineOffsetCounter
 
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 interface org.sonar.api.config.Configuration
Effective value as long.
getLong(String) - Method in class org.sonar.api.config.Settings
Deprecated.
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.
 
getModuleRelativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
 
getModuleRelativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
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 class org.sonar.api.batch.fs.internal.DefaultInputModule
 
getName() - Method in interface org.sonar.api.ce.posttask.Branch
 
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
 
getOriginalLineOffsets() - Method in class org.sonar.api.batch.fs.internal.charhandler.LineOffsetCounter
 
getOriginalName() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getOriginalName() - Method in class org.sonar.api.batch.fs.internal.DefaultInputModule
 
getOriginalName() - Method in class org.sonar.api.resources.Project
Deprecated.
 
getOriginalVersion() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
 
getOriginalVersion() - Method in class org.sonar.api.batch.fs.internal.DefaultInputModule
 
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
 
getOverriddenParam(String) - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInActiveRule
 
getOverriddenParams() - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInActiveRule
 
getOverriddenSeverity() - Method in class org.sonar.api.rules.ActiveRule
Deprecated. 
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
Deprecated.
in 6.5
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
Deprecated.
 
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.
getProjectRelativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
 
getProjectRelativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
getProjects() - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
Deprecated.
 
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.internal.MapSettings
 
getProperties() - Method in class org.sonar.api.config.Settings
Deprecated.
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
Deprecated.
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
Deprecated.
 
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
Deprecated.
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 interface org.sonar.api.config.Configuration
Used to read multi-valued properties.
getStringArray(String) - Method in class org.sonar.api.config.internal.ConfigurationBridge
 
getStringArray(String) - Method in class org.sonar.api.config.Settings
Deprecated.
Value is split by comma and trimmed.
getStringArrayBySeparator(String, String) - Method in class org.sonar.api.config.Settings
Deprecated.
Value is split and trimmed.
getStringLines(String) - Method in class org.sonar.api.config.Settings
Deprecated.
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 interface org.sonar.api.ce.posttask.Branch
 
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
Deprecated.
since 6.5, please use Server.getPublicRootUrl() instead
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.batch.fs.internal.DefaultInputModule
 
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
 
getWorkDir() - Method in class org.sonar.api.batch.fs.internal.DefaultInputModule
 
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.charhandler.CharHandler
 
handleAll(char) - Method in class org.sonar.api.batch.fs.internal.charhandler.LineCounter
 
handleAll(char) - Method in class org.sonar.api.batch.fs.internal.charhandler.LineOffsetCounter
 
handleGetObject(String) - Method in class org.sonar.api.utils.LocalizedMessages
 
handleIgnoreEoL(char) - Method in class org.sonar.api.batch.fs.internal.charhandler.CharHandler
 
handleIgnoreEoL(char) - Method in class org.sonar.api.batch.fs.internal.charhandler.FileHashComputer
 
handleIgnoreEoL(char) - Method in class org.sonar.api.batch.fs.internal.charhandler.LineCounter
 
handleIgnoreEoL(char) - Method in class org.sonar.api.batch.fs.internal.charhandler.LineHashComputer
 
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 find file by its absolute path.
hasAbsolutePath(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
hasAnyStatus() - Method in interface org.sonar.api.batch.fs.FilePredicates
Explicitely look for InputFile having any InputFile.status()
hasAnyStatus() - 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
Deprecated.
 
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
Deprecated.
 
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.profile.BuiltInQualityProfilesDefinition.BuiltInQualityProfileImpl
 
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 interface org.sonar.api.config.Configuration
 
hasKey(String) - Method in class org.sonar.api.config.internal.ConfigurationBridge
 
hasKey(String) - Method in class org.sonar.api.config.Settings
Deprecated.
 
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(InputFile.Status) - Method in interface org.sonar.api.batch.fs.FilePredicates
Look for InputFile having a specific InputFile.status()
hasStatus(InputFile.Status) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
 
HasStatus - Class in org.sonar.api.issue.condition
 
HasStatus(String, String...) - Constructor for class org.sonar.api.issue.condition.HasStatus
 
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
 
hasURI(URI) - Method in interface org.sonar.api.batch.fs.FilePredicates
Predicate that gets a file by its IndexedFile.uri().
hasURI(URI) - 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
header(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
 
header(String) - Method in class org.sonar.api.server.ws.Request
Optional value of the HTTP header with specified name.
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
Deprecated.
since 6.6 no known valid use case
Initializer() - Constructor for class org.sonar.api.batch.Initializer
Deprecated.
 
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
Deprecated.
since 6.6 Ability to report issues or measures on directories will soon be dropped. Report issues on project if needed.
InputDir - Interface in org.sonar.api.batch.fs
Deprecated.
since 6.6 Ability to report issues or measures on directories will soon be dropped. Report issues on project if needed.
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
Warning - may not be supported in SonarLint
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.
isCopied() - Method in interface org.sonar.api.issue.Issue
During a scan returns true if the issue is copied from another branch.
isDataType() - Method in class org.sonar.api.measures.Metric
 
isDebugEnabled() - Method in interface org.sonar.api.utils.log.Logger
 
isDebugEnabled() - Method in class org.sonar.api.utils.log.Profiler
 
isDefault() - Method in interface org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.BuiltInQualityProfile
 
isDefault() - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.BuiltInQualityProfileImpl
 
isDefault() - Method in interface org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInQualityProfile
 
isDefault() - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInQualityProfileImpl
 
isDev() - Method in class org.sonar.api.platform.Server
Deprecated.
in 6.6
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
 
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.
isExcludedForCoverage() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
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.fs.internal.SensorStrategy
 
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.
 
isMain() - Method in interface org.sonar.api.ce.posttask.Branch
 
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
 
isPublished() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
 
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
 
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 (scanner, 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 class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewOverriddenParam
 
key() - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.OverriddenParam
 
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.profile.BuiltInQualityProfilesDefinition.BuiltInQualityProfile
 
language() - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.BuiltInQualityProfileImpl
 
language() - Method in interface org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInQualityProfile
 
language() - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInQualityProfileImpl
 
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).
LineCounter - Class in org.sonar.api.batch.fs.internal.charhandler
 
LineCounter(String, Charset) - Constructor for class org.sonar.api.batch.fs.internal.charhandler.LineCounter
 
LineHashComputer - Class in org.sonar.api.batch.fs.internal.charhandler
 
LineHashComputer(FileMetadata.LineHashConsumer, File) - Constructor for class org.sonar.api.batch.fs.internal.charhandler.LineHashComputer
 
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.
LineOffsetCounter - Class in org.sonar.api.batch.fs.internal.charhandler
 
LineOffsetCounter() - Constructor for class org.sonar.api.batch.fs.internal.charhandler.LineOffsetCounter
 
lines() - Method in interface org.sonar.api.batch.fs.InputFile
Number of physical lines.
lines() - Method in class org.sonar.api.batch.fs.internal.charhandler.LineCounter
 
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(BuiltInQualityProfilesDefinition.NewBuiltInQualityProfile, String, Class...) - Method in class org.sonar.api.server.profile.BuiltInQualityProfileAnnotationLoader
 
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
 
LONG_LIVED_BRANCHES_REGEX - Static variable in interface org.sonar.api.CoreProperties
 
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.internal
In-memory map-based implementation of Settings.
MapSettings() - Constructor for class org.sonar.api.config.internal.MapSettings
 
MapSettings(PropertyDefinitions) - Constructor for class org.sonar.api.config.internal.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(Path, Path) - Method in class org.sonar.api.batch.fs.internal.PathPattern
 
match(Path, Path, 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 "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.
MessageException(String) - Constructor for exception org.sonar.api.utils.MessageException
 
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
 
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 interface org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.BuiltInQualityProfile
 
name() - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.BuiltInQualityProfileImpl
 
name() - Method in interface org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInQualityProfile
 
name() - Method in class org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.NewBuiltInQualityProfileImpl
 
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.