- absolutePath() - Method in interface org.sonar.api.batch.fs.IndexedFile
-
Normalized absolute path.
- absolutePath() - Method in interface org.sonar.api.batch.fs.InputDir
-
Normalized absolute path.
- absolutePath() - Method in interface org.sonar.api.batch.fs.InputFile
-
Normalized absolute path.
- absolutePath() - Method in interface org.sonar.api.batch.fs.InputPath
-
- absolutePath() - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
-
- absolutePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- absolutePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- AbstractCpdMapping - Class in org.sonar.api.batch
-
- AbstractCpdMapping() - Constructor for class org.sonar.api.batch.AbstractCpdMapping
-
Deprecated.
- AbstractDashboardWidget - Class in org.sonar.api.web
-
- AbstractDashboardWidget() - Constructor for class org.sonar.api.web.AbstractDashboardWidget
-
Deprecated.
- AbstractFilePredicate - Class in org.sonar.api.batch.fs.internal
-
- 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
-
- AbstractRubyTemplate() - Constructor for class org.sonar.api.web.AbstractRubyTemplate
-
Deprecated.
- AbstractSumChildrenDecorator - Class in org.sonar.api.batch
-
- 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
-
- ACCESSORS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- 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
-
- actions() - Method in class org.sonar.api.server.ws.WebService.Controller
-
- activate() - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- activatedByDefault() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
Should this rule be enabled by default.
- activateRule(Rule, RulePriority) - Method in class org.sonar.api.profiles.RulesProfile
-
- active() - Method in interface org.sonar.api.user.User
-
- ActiveRule - Interface in org.sonar.api.batch.rule
-
Configuration of a rule activated on a Quality profile
- ActiveRule - Class in org.sonar.api.rules
-
- ActiveRule() - Constructor for class org.sonar.api.rules.ActiveRule
-
- ActiveRule(RulesProfile, Rule, RulePriority) - Constructor for class org.sonar.api.rules.ActiveRule
-
- ActiveRuleParam - Class in org.sonar.api.rules
-
- ActiveRuleParam() - Constructor for class org.sonar.api.rules.ActiveRuleParam
-
- ActiveRuleParam(ActiveRule, RuleParam, String) - Constructor for class org.sonar.api.rules.ActiveRuleParam
-
- ActiveRules - Interface in org.sonar.api.batch.rule
-
The rules that are activated on the current module.
- activeRules() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- activeRules() - Method in interface org.sonar.api.batch.sensor.SensorContext
-
Get list of active rules.
- ActiveRulesBuilder - Class in org.sonar.api.batch.rule.internal
-
- 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
-
- 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
-
- 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
-
- additionalProperties() - Method in class org.sonar.api.config.License
-
Get additional properties available on this license (like threshold conditions)
- addLanguages(String, String...) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
Adds a language to the list.
- addLocation(NewIssueLocation) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- addLocation(NewIssueLocation) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
-
Add a secondary location for this issue.
- addLocation(NewIssueLocation) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
- addMaskedArgument(String) - Method in class org.sonar.api.utils.command.Command
-
- addMeasure(String, int) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Add a new measure of a given metric which measure type will be int
- addMeasure(String, double) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Add a new measure of a given metric which measure type will be double
- addMeasure(String, long) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Add a new measure of a given metric which measure type will be long
- addMeasure(String, String) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Add a new measure of a given metric which measure type will be string
- addMeasure(String, boolean) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Add a new measure of a given metric which measure type will be boolean
- addMeasure(String, int) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addMeasure(String, double) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addMeasure(String, long) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addMeasure(String, String) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addMeasure(String, boolean) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addPage(Page) - Method in class org.sonar.api.web.page.Context
-
- addPageParam() - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- addPageSize(int, int) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- addPagingParams(int) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
Add predefined parameters related to pagination of results.
- addPagingParams(int, int) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
Add predefined parameters related to pagination of results with a maximum page size.
- addParam(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- addProperties(Map<String, String>) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ScannerContextBuilder
-
- addProperties(Map<String, String>) - Method in class org.sonar.api.config.Settings
-
- addProperties(Properties) - Method in class org.sonar.api.config.Settings
-
- addRelations(String, String...) - Method in class org.sonar.api.resources.ResourceTypeTree.Builder
-
- addSearchQuery(String, String...) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- 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.
- 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
-
- 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_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
-
- 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
-
- ANALYSIS_MODE_INCREMENTAL - Static variable in interface org.sonar.api.CoreProperties
-
- ANALYSIS_MODE_ISSUES - Static variable in interface org.sonar.api.CoreProperties
-
- ANALYSIS_MODE_PREVIEW - Static variable in interface org.sonar.api.CoreProperties
-
- ANALYSIS_MODE_PUBLISH - Static variable in interface org.sonar.api.CoreProperties
-
- AnalysisError - Interface in org.sonar.api.batch.sensor.error
-
Represents an analysis error, such as a parsing error, reported by a
Sensor
.
- AnalysisMode - Interface in org.sonar.api.batch
-
Use this component to find the current running mode.
- analysisMode() - Method in interface org.sonar.api.batch.postjob.PostJobContext
-
- and(Collection<FilePredicate>) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
- and(FilePredicate...) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
- and(FilePredicate, FilePredicate) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
- and(Collection<FilePredicate>) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- and(FilePredicate...) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- and(FilePredicate, FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- andTotal(int) - Method in class org.sonar.api.utils.Paging.Builder
-
- AnnotationProfileParser - Class in org.sonar.api.profiles
-
- AnnotationProfileParser(RuleFinder) - Constructor for class org.sonar.api.profiles.AnnotationProfileParser
-
- AnnotationRuleParser - Class in org.sonar.api.rules
-
- AnnotationRuleParser() - Constructor for class org.sonar.api.rules.AnnotationRuleParser
-
Deprecated.
- AnnotationUtils - Class in org.sonar.api.utils
-
A utility class for annotations
- ANYONE - Static variable in class org.sonar.api.security.DefaultGroups
-
- API_ABUSE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic SECURITY
- ApiVersion - Class in org.sonar.api.internal
-
For internal use
- appendProperty(String, String) - Method in class org.sonar.api.config.Settings
-
- apply(InputFile) - Method in interface org.sonar.api.batch.fs.FilePredicate
-
Test if provided file is valid for this predicate
- apply(InputFile) - Method in class org.sonar.api.batch.fs.internal.FileExtensionPredicate
-
- apply(InputFile) - Method in class org.sonar.api.batch.fs.internal.FilenamePredicate
-
- apply(InputFile) - Method in class org.sonar.api.batch.fs.internal.RelativePathPredicate
-
- apply(Statement, Description) - Method in class org.sonar.api.utils.internal.JUnitTempFolder
-
- ARCHITECTURE_CHANGEABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic CHANGEABILITY
- ARCHITECTURE_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic RELIABILITY
- as(Class<P>, Resource) - Method in interface org.sonar.api.component.ResourcePerspectives
-
Deprecated.
- as(Class<P>, InputPath) - Method in interface org.sonar.api.component.ResourcePerspectives
-
Deprecated.
- ASCENDING - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- assignee() - Method in interface org.sonar.api.issue.Issue
-
Login of the user who is assigned to this issue.
- at(TextPointer) - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
-
- at(TextPointer) - Method in interface org.sonar.api.batch.sensor.error.NewAnalysisError
-
Location of this error.
- at(NewIssueLocation) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- at(TextRange) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
-
- at(NewIssueLocation) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
-
Primary location for this issue.
- at(TextRange) - Method in interface org.sonar.api.batch.sensor.issue.NewIssueLocation
-
Position in the file.
- at(Date) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester
-
- at(NewIssueLocation) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
- attribute(String, String) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
No more supported from batch side since 5.2
- attribute(String) - Method in interface org.sonar.api.issue.Issue
-
- attributes() - Method in interface org.sonar.api.issue.Issue
-
Empty on batch side since version 5.2.
- authenticate(String, String) - Method in interface org.sonar.api.security.LoginPasswordAuthenticator
-
Deprecated.
- authenticate(UserIdentity) - Method in interface org.sonar.api.server.authentication.BaseIdentityProvider.Context
-
Authenticate and register the user into the platform.
- authenticate(UserIdentity) - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.CallbackContext
-
Authenticate and register the user into the platform.
- Authenticator - Class in org.sonar.api.security
-
- Authenticator() - Constructor for class org.sonar.api.security.Authenticator
-
- Authenticator.Context - Class in org.sonar.api.security
-
- author() - Method in class org.sonar.api.batch.scm.BlameLine
-
- author(String) - Method in class org.sonar.api.batch.scm.BlameLine
-
Sets author for this line.
- authorLogin() - Method in interface org.sonar.api.issue.Issue
-
Login of the SCM account that introduced this issue.
- AVAILABLE_FOR_FILTERS - Static variable in class org.sonar.api.resources.ResourceTypes
-
- availableForFilters() - Method in class org.sonar.api.resources.ResourceType.Builder
-
- AverageFormula - Class in org.sonar.api.measures
-
- AverageFormula() - Constructor for class org.sonar.api.measures.AverageFormula
-
Deprecated.
- 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
-
- 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
-
- CHANGEABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic CHANGEABILITY
- characteristicById(int) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- characteristicByKey(String) - Method in interface org.sonar.api.batch.debt.DebtModel
-
Deprecated.
Return a characteristic or a sub-characteristic by a key
- characteristicByKey(String) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- characteristics() - Method in interface org.sonar.api.batch.debt.DebtModel
-
Deprecated.
Return only characteristics
- characteristics() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- CharHandler() - Constructor for class org.sonar.api.batch.fs.internal.FileMetadata.CharHandler
-
- charset() - Method in interface org.sonar.api.batch.fs.InputFile
-
Charset to be used to decode this specific file.
- charset() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- CheckFactory - Class in org.sonar.api.batch.rule
-
- 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
-
- 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
-
- CLASS_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CLASS_COMPLEXITY_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CLASS_COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CLASSES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CLASSES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- clean() - Method in class org.sonar.api.utils.internal.DefaultTempFolder
-
- clear() - Method in class org.sonar.api.config.MapSettings
-
Delete all properties
- clear() - Method in class org.sonar.api.measures.CountDistributionBuilder
-
Deprecated.
Resets all entries to zero
- clear() - Method in class org.sonar.api.measures.PropertiesBuilder
-
Deprecated.
- clear() - Method in class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
Resets all entries to zero
- clear() - Method in class org.sonar.api.utils.log.LogTester
-
- clearConditions() - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.QualityGateBuilder
-
- clone() - Method in class org.sonar.api.profiles.RulesProfile
-
- clone() - Method in class org.sonar.api.rules.ActiveRule
-
- clone() - Method in class org.sonar.api.rules.ActiveRuleParam
-
- CLOSE - Static variable in interface org.sonar.api.issue.DefaultTransitions
-
- close(AutoCloseable) - Method in class org.sonar.api.utils.System2
-
- 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
-
- 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
- CodeColorizerFormat - Class in org.sonar.api.web
-
- CodeColorizerFormat(String) - Constructor for class org.sonar.api.web.CodeColorizerFormat
-
Deprecated.
- CODEVIEWER - Static variable in annotation type org.sonar.api.web.UserRole
-
- coefficient() - Method in class org.sonar.api.batch.debt.DebtRemediationFunction
-
- coefficient() - Method in interface org.sonar.api.server.debt.DebtRemediationFunction
-
- coefficient() - Method in class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
-
- 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
-
- COMMENTED_OUT_CODE_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- 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 - Interface in org.sonar.api.component
-
- 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
-
- CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- conditionsByLine() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
-
Deprecated.
- conditionsByLine() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- conditionsToCover() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
-
Deprecated.
- CONFIGURATION - Static variable in annotation type org.sonar.api.web.NavigationSection
-
Deprecated.
- CONFIRM - Static variable in interface org.sonar.api.issue.DefaultTransitions
-
- CONFIRMED_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CONFIRMED_ISSUES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- constantPerIssue(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.DebtRemediationFunctions
-
Shortcut for create(Type.CONSTANT_ISSUE, null, base effort)
.
- consume(int, byte[]) - Method in interface org.sonar.api.batch.fs.internal.FileMetadata.LineHashConsumer
-
- consumeLine(String) - Method in interface org.sonar.api.utils.command.StreamConsumer
-
- consumeLine(String) - Method in class org.sonar.api.utils.command.StringStreamConsumer
-
- contents() - Method in interface org.sonar.api.batch.fs.InputFile
-
- Context(SonarRuntime) - Constructor for class org.sonar.api.Plugin.Context
-
- Context(String, String, HttpServletRequest) - Constructor for class org.sonar.api.security.Authenticator.Context
-
- Context(String, HttpServletRequest) - Constructor for class org.sonar.api.security.ExternalGroupsProvider.Context
-
- Context(String, HttpServletRequest) - Constructor for class org.sonar.api.security.ExternalUsersProvider.Context
-
- Context() - Constructor for class org.sonar.api.server.rule.RulesDefinition.Context
-
- Context() - Constructor for class org.sonar.api.server.ws.WebService.Context
-
- Context - Class in org.sonar.api.web.page
-
- Context() - Constructor for class org.sonar.api.web.page.Context
-
- controller(String) - Method in class org.sonar.api.server.ws.WebService.Context
-
- controllers() - Method in class org.sonar.api.server.ws.WebService.Context
-
- Converter() - Constructor for class org.sonar.api.utils.KeyValueFormat.Converter
-
- CORE_ALLOW_USERS_TO_SIGNUP_DEAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_ALLOW_USERS_TO_SIGNUP_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_AUTHENTICATOR_CLASS - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_AUTHENTICATOR_CREATE_USERS - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_AUTHENTICATOR_IGNORE_STARTUP_FAILURE - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_AUTHENTICATOR_LOCAL_USERS - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_AUTHENTICATOR_REALM - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_AUTHENTICATOR_UPDATE_USER_ATTRIBUTES - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_DEFAULT_GROUP - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_DEFAULT_GROUP_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_FORCE_AUTHENTICATION_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_FORCE_AUTHENTICATION_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_PREVENT_AUTOMATIC_PROJECT_CREATION - Static variable in interface org.sonar.api.CoreProperties
-
- 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
-
- 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
-
- COVERAGE_LINE_HITS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CoverageAlreadyExistsException - Exception in org.sonar.api.test.exception
-
- CoverageAlreadyExistsException(String) - Constructor for exception org.sonar.api.test.exception.CoverageAlreadyExistsException
-
Deprecated.
- CoverageBlock - Interface in org.sonar.api.test
-
- coverageBlock(TestCase) - Method in interface org.sonar.api.test.Testable
-
Deprecated.
- coverageBlock(Testable) - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
- coverageBlocks() - Method in interface org.sonar.api.test.Testable
-
Deprecated.
- coverageBlocks() - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
- CoverageExtension - Interface in org.sonar.api.batch
-
- CoverageMeasuresBuilder - Class in org.sonar.api.measures
-
- CoverageType - Enum in org.sonar.api.batch.sensor.coverage
-
- COVERED_CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COVERED_CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- 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_CROSS_PROJECT_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- CPD_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
-
- CPD_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
-
- CpdMapping - Interface in org.sonar.api.batch
-
- cpdTokens(String) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- CPU_EFFICIENCY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic EFFICIENCY
- create() - Static method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- create(DebtRemediationFunction.Type, Duration, Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
-
- create(String) - Static method in class org.sonar.api.batch.fs.internal.PathPattern
-
- create(String[]) - Static method in class org.sonar.api.batch.fs.internal.PathPattern
-
- create(String) - 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- create() - Static method in class org.sonar.api.web.Dashboard
-
Deprecated.
- create(String) - Static method in class org.sonar.api.web.ServletFilter.UrlPattern
-
Defines only a single inclusion pattern.
- createAction(String) - Method in class org.sonar.api.server.ws.WebService.NewController
-
- createConstantPerIssue(Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
-
- createController(String) - Method in class org.sonar.api.server.ws.WebService.Context
-
Create a new controller.
- createDashboard() - Method in class org.sonar.api.web.DashboardTemplate
-
Deprecated.
Returns the
Dashboard
object that represents the dashboard to use.
- createdAt() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
-
- createdAt() - Method in interface org.sonar.api.issue.IssueComment
-
- createFieldsParam(Collection<?>) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- createFor(InputFile) - Method in interface org.sonar.api.measures.FileLinesContextFactory
-
- createForCategory(Metric, Integer, Double) - Static method in class org.sonar.api.measures.RuleMeasure
-
- 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
-
- createForRule(Metric, Rule, Double) - Static method in class org.sonar.api.measures.RuleMeasure
-
- createForRule(Metric, RuleKey, Double) - Static method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- createFromMavenIds(String, String, String) - Static method in class org.sonar.api.resources.Library
-
Deprecated.
- createFromValueAndUnit(int, WorkDuration.UNIT, int) - Static method in class org.sonar.api.utils.internal.WorkDuration
-
- createIfDebug(Logger) - Static method in class org.sonar.api.utils.log.Profiler
-
- createIfTrace(Logger) - Static method in class org.sonar.api.utils.log.Profiler
-
- createIssuesForRuleRepositories(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- createIssuesForRuleRepositories(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
-
List rule repositories this
Sensor
create issues for.
- createIssuesForRuleRepository(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- createIssuesForRuleRepository(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
-
Rule repository this
Sensor
create issues for.
- createLinear(Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
-
- createLinearWithOffset(Duration, Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
-
- createMain(String) - Static method in class org.sonar.api.component.mock.MockSourceFile
-
Deprecated.
- createMeasure(double) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
-
- createMeasure(int) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
-
- createMeasure(long) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
-
- createMeasure(String) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
-
- createMeasure(boolean) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
-
- createMeasures() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- createParam(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
Create a parameter with given unique key.
- createParam(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- createParam(String, String) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- createParameter() - Method in class org.sonar.api.rules.Rule
-
- createParameter(String) - Method in class org.sonar.api.rules.Rule
-
- createProfile(ValidationMessages) - Method in class org.sonar.api.profiles.ProfileDefinition
-
- createRepository(String, String) - Method in class org.sonar.api.server.rule.RulesDefinition.Context
-
- createResource(File, List<File>) - Method in class org.sonar.api.batch.AbstractCpdMapping
-
Deprecated.
- createResource(File, List<File>) - Method in interface org.sonar.api.batch.CpdMapping
-
- createRule(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository
-
Create a rule with specified key.
- createRule(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
-
- createRules() - Method in class org.sonar.api.rules.RuleRepository
-
Deprecated.
- createSortParams(Collection<V>, V, boolean) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
Add predefined parameters related to sorting of results.
- createTempDirectory() - Static method in class org.sonar.api.utils.TempFileUtils
-
Deprecated.
Create a temporary directory.
- createTempDirectory(String) - Static method in class org.sonar.api.utils.TempFileUtils
-
Deprecated.
- creationDate() - Method in interface org.sonar.api.issue.Issue
-
- creationDate() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
-
- Criterion - Class in org.sonar.api.web
-
Definition of a criterion to be used to narrow down a Filter
.
- CRITICAL - Static variable in class org.sonar.api.rule.Severity
-
- CRITICAL_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CRITICAL_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- cssClass() - Method in enum org.sonar.api.batch.sensor.highlighting.TypeOfText
-
For internal use
- CsvWriter - Class in org.sonar.api.utils.text
-
- CyclicDependenciesException - Exception in org.sonar.api.utils.dag
-
- CyclicDependenciesException(String) - Constructor for exception org.sonar.api.utils.dag.CyclicDependenciesException
-
- Dashboard - Class in org.sonar.api.web
-
- 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
-
- DashboardTemplate - Class in org.sonar.api.web
-
- 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
-
- 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
-
- debt() - Method in class org.sonar.api.ce.measure.test.TestIssue
-
- debt() - Method in interface org.sonar.api.issue.Issue
-
- DebtCharacteristic - Interface in org.sonar.api.batch.debt
-
- DebtModel - Interface in org.sonar.api.batch.debt
-
- DebtRemediationFunction - Class in org.sonar.api.batch.debt
-
- debtRemediationFunction() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- debtRemediationFunction() - Method in interface org.sonar.api.batch.rule.Rule
-
- DebtRemediationFunction - Interface in org.sonar.api.server.debt
-
Function used to calculate the remediation cost of an issue.
- debtRemediationFunction() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- DebtRemediationFunction.Type - Enum in org.sonar.api.batch.debt
-
- DebtRemediationFunction.Type - Enum in org.sonar.api.server.debt
-
- debtRemediationFunctions() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- debtSubCharacteristic() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- debtSubCharacteristic() - Method in interface org.sonar.api.batch.rule.Rule
-
- debtSubCharacteristic() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- debug(String) - Method in interface org.sonar.api.utils.log.Logger
-
Logs a DEBUG message.
- debug(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
-
- DecoratorBarriers - Interface in org.sonar.api.batch
-
- DecoratorContext - Interface in org.sonar.api.batch
-
- DecoratorExecutionHandler - Interface in org.sonar.api.batch.events
-
- 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
-
- 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
-
- DEFAULT_PRIORITY - Static variable in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
-
- DEFAULT_PRIORITY - Static variable in class org.sonar.api.rules.Rule
-
The default priority given to a rule if not explicitly set
- DEFAULT_UNIT - Static variable in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- DEFAULT_VALUE - Static variable in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- DefaultActiveRule - Class in org.sonar.api.batch.rule.internal
-
- DefaultActiveRules - Class in org.sonar.api.batch.rule.internal
-
- DefaultActiveRules(Collection<NewActiveRule>) - Constructor for class org.sonar.api.batch.rule.internal.DefaultActiveRules
-
- DefaultAnalysisError - Class in org.sonar.api.batch.sensor.error.internal
-
- DefaultAnalysisError() - Constructor for class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
-
- DefaultAnalysisError(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
-
- DefaultCoverage - Class in org.sonar.api.batch.sensor.coverage.internal
-
- DefaultCoverage() - Constructor for class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- DefaultCoverage(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- DefaultCpdTokens - Class in org.sonar.api.batch.sensor.cpd.internal
-
- DefaultCpdTokens(Settings, SensorStorage) - Constructor for class org.sonar.api.batch.sensor.cpd.internal.DefaultCpdTokens
-
- DefaultDebtModel - Class in org.sonar.api.batch.debt.internal
-
- DefaultDebtModel() - Constructor for class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- DefaultDebtRemediationFunction - Class in org.sonar.api.server.debt.internal
-
- DefaultDebtRemediationFunction(DebtRemediationFunction.Type, String, String) - Constructor for class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
-
- DefaultFilePredicates - Class in org.sonar.api.batch.fs.internal
-
- DefaultFileSystem - Class in org.sonar.api.batch.fs.internal
-
- DefaultFileSystem(Path) - Constructor for class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
Only for testing
- DefaultFileSystem(File) - Constructor for class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
Only for testing
- DefaultFileSystem(File, DefaultFileSystem.Cache) - Constructor for class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- DefaultFileSystem.Cache - Class in org.sonar.api.batch.fs.internal
-
- DefaultFormulaContext - Class in org.sonar.api.batch
-
- DefaultFormulaContext(Metric) - Constructor for class org.sonar.api.batch.DefaultFormulaContext
-
Deprecated.
- DefaultFormulaData - Class in org.sonar.api.batch
-
- DefaultFormulaData(DecoratorContext) - Constructor for class org.sonar.api.batch.DefaultFormulaData
-
Deprecated.
- DefaultGroups - Class in org.sonar.api.security
-
Name of the default user groups
- DefaultHighlighting - Class in org.sonar.api.batch.sensor.highlighting.internal
-
- DefaultHighlighting(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
-
- DefaultIndexedFile - Class in org.sonar.api.batch.fs.internal
-
- DefaultIndexedFile(String, Path, String) - Constructor for class org.sonar.api.batch.fs.internal.DefaultIndexedFile
-
Testing purposes only!
- DefaultIndexedFile(String, Path, String, int) - Constructor for class org.sonar.api.batch.fs.internal.DefaultIndexedFile
-
- DefaultIndexedFile(String, Path, String, InputFile.Type, int) - Constructor for class org.sonar.api.batch.fs.internal.DefaultIndexedFile
-
- DefaultInputComponent - Class in org.sonar.api.batch.fs.internal
-
- DefaultInputComponent(int) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputComponent
-
- DefaultInputDir - Class in org.sonar.api.batch.fs.internal
-
- DefaultInputDir(String, String) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- DefaultInputDir(String, String, int) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- DefaultInputFile - Class in org.sonar.api.batch.fs.internal
-
- DefaultInputFile(DefaultIndexedFile, Consumer<DefaultInputFile>) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- DefaultInputModule - Class in org.sonar.api.batch.fs.internal
-
- DefaultInputModule(String) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputModule
-
For testing only!
- DefaultInputModule(ProjectDefinition, int) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputModule
-
- DefaultIssue - Class in org.sonar.api.batch.sensor.issue.internal
-
- DefaultIssue() - Constructor for class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- DefaultIssue(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- DefaultIssueLocation - Class in org.sonar.api.batch.sensor.issue.internal
-
- DefaultIssueLocation() - Constructor for class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
-
- DefaultMeasure<G extends Serializable> - Class in org.sonar.api.batch.sensor.measure.internal
-
- DefaultMeasure() - Constructor for class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- DefaultMeasure(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- DefaultPostJobDescriptor - Class in org.sonar.api.batch.postjob.internal
-
- DefaultPostJobDescriptor() - Constructor for class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
-
- DefaultRule - Class in org.sonar.api.batch.rule.internal
-
- DefaultSensorDescriptor - Class in org.sonar.api.batch.sensor.internal
-
- DefaultSensorDescriptor() - Constructor for class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- defaultSeverity() - Static method in class org.sonar.api.rule.Severity
-
- defaultStatus() - Static method in enum org.sonar.api.rule.RuleStatus
-
- DefaultStorable - Class in org.sonar.api.batch.sensor.internal
-
- DefaultStorable() - Constructor for class org.sonar.api.batch.sensor.internal.DefaultStorable
-
- DefaultStorable(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.internal.DefaultStorable
-
- DefaultSymbolTable - Class in org.sonar.api.batch.sensor.symbol.internal
-
- DefaultSymbolTable(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable
-
- DefaultTab - Annotation Type in org.sonar.api.web
-
- DefaultTempFolder - Class in org.sonar.api.utils.internal
-
- DefaultTempFolder(File) - Constructor for class org.sonar.api.utils.internal.DefaultTempFolder
-
- DefaultTempFolder(File, boolean) - Constructor for class org.sonar.api.utils.internal.DefaultTempFolder
-
- DefaultTextPointer - Class in org.sonar.api.batch.fs.internal
-
- DefaultTextPointer(int, int) - Constructor for class org.sonar.api.batch.fs.internal.DefaultTextPointer
-
- DefaultTextRange - Class in org.sonar.api.batch.fs.internal
-
- DefaultTextRange(TextPointer, TextPointer) - Constructor for class org.sonar.api.batch.fs.internal.DefaultTextRange
-
- DefaultTransitions - Interface in org.sonar.api.issue
-
- defaultValue(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- defaultValue() - Method in class org.sonar.api.config.PropertyDefinition
-
- defaultValue() - Method in class org.sonar.api.server.rule.RulesDefinition.Param
-
- defaultValue() - Method in class org.sonar.api.server.ws.WebService.Param
-
- Definable<T> - Interface in org.sonar.api.server.ws
-
- define(MeasureComputer.MeasureComputerDefinitionContext) - Method in interface org.sonar.api.ce.measure.MeasureComputer
-
Use to define which metrics are required to compute some measures on some given metrics
- define(Plugin.Context) - Method in interface org.sonar.api.Plugin
-
This method is executed at runtime when:
Web Server starts
Compute Engine starts
Scanner starts
- define(RulesDefinition.Context) - Method in interface org.sonar.api.server.rule.RulesDefinition
-
This method is executed when server is started.
- define(T) - Method in interface org.sonar.api.server.ws.Definable
-
- define(WebService.Context) - Method in interface org.sonar.api.server.ws.WebService
-
Executed once at server startup.
- define(Plugin.Context) - Method in class org.sonar.api.SonarPlugin
-
Deprecated.
- define(Context) - Method in interface org.sonar.api.web.page.PageDefinition
-
This method is executed when server is started
- definition() - Method in class org.sonar.api.batch.fs.internal.DefaultInputModule
-
- definition() - Method in class org.sonar.api.resources.Project
-
Deprecated.
- definitions() - Static method in class org.sonar.api.config.EmailSettings
-
- deliver(Notification, String) - Method in class org.sonar.api.notifications.NotificationChannel
-
Implements the delivery of the given notification to the given user.
- DependedUpon - Annotation Type in org.sonar.api.batch
-
- Dependency - Class in org.sonar.api.design
-
- Dependency(Resource, Resource) - Constructor for class org.sonar.api.design.Dependency
-
Deprecated.
- DEPENDENCY_MATRIX - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DEPENDENCY_MATRIX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- 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
-
- 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
-
- describe(SensorDescriptor) - Method in interface org.sonar.api.batch.sensor.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
-
- DESIGN_SKIP_DESIGN_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- DESIGN_SKIP_DESIGN_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
Indicates whether Java bytecode analysis should be skipped.
- DESIGN_SKIP_PACKAGE_DESIGN_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- DESIGN_SKIP_PACKAGE_DESIGN_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
Indicates whether Package Design Analysis should be skipped.
- DEVELOPMENT_COST - Static variable in interface org.sonar.api.CoreProperties
-
- DEVELOPMENT_COST - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DEVELOPMENT_COST_DEF_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- DEVELOPMENT_COST_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- dir() - Method in class org.sonar.api.scan.filesystem.PathResolver.RelativePath
-
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
-
- 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
-
- DIRECTORY_CYCLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DIRECTORY_EDGES_WEIGHT - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DIRECTORY_EDGES_WEIGHT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DIRECTORY_FEEDBACK_EDGES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DIRECTORY_FEEDBACK_EDGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DIRECTORY_TANGLE_INDEX - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DIRECTORY_TANGLE_INDEX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DIRECTORY_TANGLES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DIRECTORY_TANGLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- 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
-
- DOMAIN_DUPLICATION - Static variable in class org.sonar.api.measures.CoreMetrics
-
- 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
-
- 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
-
- 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
-
- DOMAIN_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- done() - Method in interface org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository
-
- done() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
-
- done() - Method in class org.sonar.api.server.ws.WebService.NewController
-
- done() - Method in interface org.sonar.api.source.Highlightable.HighlightingBuilder
-
Deprecated.
- doOnNewUser(NewUserHandler.Context) - Method in interface org.sonar.api.platform.NewUserHandler
-
- doPreloadFiles() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
This method is called before each search of files.
- doSave() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- doSave() - Method in class org.sonar.api.batch.sensor.cpd.internal.DefaultCpdTokens
-
- doSave() - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
-
- doSave() - Method in class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
-
- doSave() - Method in class org.sonar.api.batch.sensor.internal.DefaultStorable
-
- doSave() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- doSave() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- doSave() - Method in class org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable
-
- download(URI) - Method in class org.sonar.api.utils.HttpDownloader
-
- download(URI, File) - Method in class org.sonar.api.utils.HttpDownloader
-
- downloadPlainText(URI, String) - Method in class org.sonar.api.utils.HttpDownloader
-
- DUPLICATED_BLOCKS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATED_BLOCKS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATED_FILES - Static variable in class org.sonar.api.measures.CoreMetrics
-
For files: if it contains duplicates, then 1, otherwise 0.
- DUPLICATED_FILES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATED_LINES_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATED_LINES_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DuplicatedSourceException - Exception in org.sonar.api.resources
-
- DuplicatedSourceException(Resource) - Constructor for exception org.sonar.api.resources.DuplicatedSourceException
-
Deprecated.
- DUPLICATIONS_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATIONS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- 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
-
- FACETS - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- fail(String) - Method in class org.sonar.api.batch.BuildBreaker
-
Deprecated.
Execute this method to fail the build.
- FALSE_POSITIVE - Static variable in interface org.sonar.api.issue.DefaultTransitions
-
- FALSE_POSITIVE_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FALSE_POSITIVE_ISSUES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FAULT_TOLERANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic RELIABILITY
- FIELD_SEPARATOR - Static variable in class org.sonar.api.utils.KeyValueFormat
-
- fields(PropertyFieldDefinition, PropertyFieldDefinition...) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- fields(List<PropertyFieldDefinition>) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- fields() - Method in class org.sonar.api.config.PropertyDefinition
-
- FIELDS - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- FieldUtils2 - Class in org.sonar.api.utils
-
Add features missing in org.apache.commons.lang.reflect.FieldUtils
- file() - Method in interface org.sonar.api.batch.fs.IndexedFile
-
The underlying absolute
File
.
- file() - Method in interface org.sonar.api.batch.fs.InputDir
-
The underlying absolute
File
- file() - Method in interface org.sonar.api.batch.fs.InputFile
-
The underlying absolute
File
.
- file() - Method in interface org.sonar.api.batch.fs.InputPath
-
- file() - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
-
- file() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- file() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- File - Class in org.sonar.api.resources
-
- 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
-
- FILE_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_COMPLEXITY_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_CYCLES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_CYCLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_EDGES_WEIGHT - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_EDGES_WEIGHT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_FEEDBACK_EDGES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_FEEDBACK_EDGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_TANGLE_INDEX - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_TANGLE_INDEX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_TANGLES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_TANGLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FileAttributesImpl(String, boolean) - Constructor for class org.sonar.api.ce.measure.test.TestComponent.FileAttributesImpl
-
- FileExclusions - Class in org.sonar.api.scan.filesystem
-
Configuration of file inclusions and exclusions.
- FileExclusions(Settings) - Constructor for class org.sonar.api.scan.filesystem.FileExclusions
-
- FileExtensionPredicate - Class in org.sonar.api.batch.fs.internal
-
- FileExtensionPredicate(String) - Constructor for class org.sonar.api.batch.fs.internal.FileExtensionPredicate
-
- FileLinesContext - Interface in org.sonar.api.measures
-
Provides facility to store measures for the lines of file.
- FileLinesContextFactory - Interface in org.sonar.api.measures
-
This interface is not intended to be implemented by clients.
- FileMetadata - Class in org.sonar.api.batch.fs.internal
-
Computes hash of files.
- FileMetadata() - Constructor for class org.sonar.api.batch.fs.internal.FileMetadata
-
- FileMetadata.CharHandler - Class in org.sonar.api.batch.fs.internal
-
- FileMetadata.LineHashConsumer - Interface in org.sonar.api.batch.fs.internal
-
- FilenamePredicate - Class in org.sonar.api.batch.fs.internal
-
- FilenamePredicate(String) - Constructor for class org.sonar.api.batch.fs.internal.FilenamePredicate
-
- FilePredicate - Interface in org.sonar.api.batch.fs
-
Determines if a file must be kept in search results.
- FilePredicates - Interface in org.sonar.api.batch.fs
-
- files(FilePredicate) - Method in interface org.sonar.api.batch.fs.FileSystem
-
Files matching the given predicate.
- files(FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- FILES - Static variable in class org.sonar.api.measures.CoreMetrics
-
Computed by the platform.
- FILES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- filesToBlame() - Method in interface org.sonar.api.batch.scm.BlameCommand.BlameInput
-
List of files that should be blamed.
- FileSystem - Interface in org.sonar.api.batch.fs
-
The
FileSystem
manages all the source files to be analyzed.
- fileSystem() - Method in interface org.sonar.api.batch.scm.BlameCommand.BlameInput
-
Filesystem of the current (sub )project.
- fileSystem() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- fileSystem() - Method in interface org.sonar.api.batch.sensor.SensorContext
-
Get filesystem of the current module.
- FileSystem.Index - Interface in org.sonar.api.batch.fs
-
Interface of the underlying file index.
- fillInStackTrace() - Method in exception org.sonar.api.utils.MessageException
-
Does not fill in the stack trace
- filter(Iterable<InputFile>) - Method in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
-
- filter(Iterable<InputFile>) - Method in interface org.sonar.api.batch.fs.internal.OptimizedFilePredicate
-
Filter provided files to keep only the ones that are valid for this predicate
- filter(Collection<Measure>) - Method in interface org.sonar.api.measures.MeasuresFilter
-
Deprecated.
- FilterableIssue - Interface in org.sonar.api.scan.issue.filter
-
- filterOnMetricKey() - Method in class org.sonar.api.measures.MeasuresFilters.MetricFilter
-
Deprecated.
- find(RuleKey) - Method in interface org.sonar.api.batch.rule.ActiveRules
-
- find(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
-
- findById(int) - Method in interface org.sonar.api.security.UserFinder
-
Deprecated.
- findByInternalKey(String, String) - Method in interface org.sonar.api.batch.rule.ActiveRules
-
- 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 €
- 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
-
- 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
-
- format(Locale, Duration) - Method in class org.sonar.api.utils.Durations
-
- format(Duration) - Method in class org.sonar.api.utils.Durations
-
Return the formatted work duration using the english bundles.
- format(Map<K, V>, KeyValueFormat.Converter<K>, KeyValueFormat.Converter<V>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- format(Map) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- format(String, Object...) - Method in class org.sonar.api.utils.LocalizedMessages
-
- format(Notification) - Method in class org.sonar.plugins.emailnotifications.api.EmailTemplate
-
- formatDate(Locale, Date) - Method in interface org.sonar.api.i18n.I18n
-
Return the formatted date.
- formatDate(Date) - Static method in class org.sonar.api.utils.DateUtils
-
- formatDateTime(Locale, Date) - Method in interface org.sonar.api.i18n.I18n
-
Return the formatted datetime.
- formatDateTime(Date) - Static method in class org.sonar.api.utils.DateUtils
-
- formatDateTime(long) - Static method in class org.sonar.api.utils.DateUtils
-
- formatDateTimeNullSafe(Date) - Static method in class org.sonar.api.utils.DateUtils
-
- formatDouble(Locale, Double) - Method in interface org.sonar.api.i18n.I18n
-
Return the formatted decimal, with always one fraction digit.
- formatDuration(long) - Static method in class org.sonar.api.utils.TimeUtils
-
Label for a duration, expressed in numbers of ms, seconds or minutes.
- formatIntDate(Map<Integer, Date>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- formatIntDateTime(Map<Integer, Date>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- formatIntDouble(Map<Integer, Double>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- formatInteger(Locale, Integer) - Method in interface org.sonar.api.i18n.I18n
-
Return the formatted integer.
- formatIntString(Map<Integer, String>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- formatQuietly(String, Object...) - Method in class org.sonar.api.utils.LocalizedMessages
-
- formatStringInt(Map<String, Integer>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- forMetric(Metric<G>) - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- forMetric(Metric<G>) - Method in interface org.sonar.api.batch.sensor.measure.NewMeasure
-
Set the metric this measure belong to.
- Formula - Interface in org.sonar.api.measures
-
- FormulaContext - Interface in org.sonar.api.measures
-
- FormulaData - Interface in org.sonar.api.measures
-
- forPageIndex(int) - Static method in class org.sonar.api.utils.Paging
-
- 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
-
- forSonarLint(Version) - Static method in class org.sonar.api.internal.SonarRuntimeImpl
-
Create an instance for SonarLint runtime environment.
- forSonarQube(Version, SonarQubeSide) - Static method in class org.sonar.api.internal.SonarRuntimeImpl
-
Create an instance for SonarQube runtime environment.
- FROM - Static variable in class org.sonar.api.config.EmailSettings
-
- FROM_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- fromCheckPriority(Priority) - Static method in enum org.sonar.api.rules.RulePriority
-
Deprecated.
- fromIOFile(File, Project) - Static method in class org.sonar.api.resources.Directory
-
- 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
-
- 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
-
- gap(Double) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- gap() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- gap() - Method in interface org.sonar.api.batch.sensor.issue.Issue
-
Gap used to compute the effort for fixing the issue.
- gap(Double) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
-
Gap used for the computation of the effort.
- gap() - Method in interface org.sonar.api.issue.Issue
-
Arbitrary distance to threshold for resolving the issue.
- gap() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
-
- gapDescription() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- gapMultiplier() - Method in interface org.sonar.api.server.debt.DebtRemediationFunction
-
- gapMultiplier() - Method in class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
-
- generateCsrfState() - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.InitContext
-
Generate a non-guessable state to prevent Cross Site Request Forgery.
- GENERATED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- GENERATED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- GENERATED_NCLOC - Static variable in class org.sonar.api.measures.CoreMetrics
-
- GENERATED_NCLOC_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- generateRandomSecretKey() - Method in class org.sonar.api.config.Encryption
-
- generatesMetrics() - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
-
Deprecated.
Each metric is used individually.
- get() - Method in interface org.sonar.api.batch.bootstrap.ProjectKey
-
- get() - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
-
- get(FileSystem.Index) - Method in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
-
- get(FileSystem.Index) - Method in class org.sonar.api.batch.fs.internal.FileExtensionPredicate
-
- get(FileSystem.Index) - Method in class org.sonar.api.batch.fs.internal.FilenamePredicate
-
- get(FileSystem.Index) - Method in interface org.sonar.api.batch.fs.internal.OptimizedFilePredicate
-
Get all files that are valid for this predicate.
- get(FileSystem.Index) - Method in class org.sonar.api.batch.fs.internal.RelativePathPredicate
-
- get(String) - Method in class org.sonar.api.config.MapSettings
-
- get(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- get(String) - Method in class org.sonar.api.config.Settings
-
- get(String) - Method in class org.sonar.api.resources.Languages
-
Return a language from the current object based on its key
- get(String) - Method in class org.sonar.api.resources.ResourceTypes
-
- get() - Method in class org.sonar.api.SonarQubeVersion
-
- get(Class<?>) - Static method in class org.sonar.api.utils.log.Loggers
-
- get(String) - Static method in class org.sonar.api.utils.log.Loggers
-
- getActiveRule(String, String) - Method in class org.sonar.api.profiles.RulesProfile
-
Note: disabled rules are excluded.
- getActiveRule(Rule) - Method in class org.sonar.api.profiles.RulesProfile
-
Note: disabled rules are excluded.
- getActiveRule() - Method in class org.sonar.api.rules.ActiveRuleParam
-
- getActiveRuleByConfigKey(String, String) - Method in class org.sonar.api.profiles.RulesProfile
-
Note: disabled rules are excluded.
- getActiveRuleParams() - Method in class org.sonar.api.rules.ActiveRule
-
- getActiveRules() - Method in class org.sonar.api.profiles.RulesProfile
-
- getActiveRules(boolean) - Method in class org.sonar.api.profiles.RulesProfile
-
- getActiveRules(RulePriority) - Method in class org.sonar.api.profiles.RulesProfile
-
Note: disabled rules are excluded.
- getActiveRulesByRepository(String) - Method in class org.sonar.api.profiles.RulesProfile
-
Get the active rules of a specific repository.
- getAlertStatus() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getAlertText() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getAll() - Method in class org.sonar.api.config.PropertyDefinitions
-
- getAll() - Method in class org.sonar.api.resources.ResourceTypes
-
- getAll(Predicate<ResourceType>) - Method in class org.sonar.api.resources.ResourceTypes
-
- getAllOrdered() - Method in class org.sonar.api.resources.ResourceTypes
-
- getAllWithPropertyKey(String) - Method in class org.sonar.api.resources.ResourceTypes
-
- getAllWithPropertyValue(String, String) - Method in class org.sonar.api.resources.ResourceTypes
-
- getAllWithPropertyValue(String, boolean) - Method in class org.sonar.api.resources.ResourceTypes
-
- getAnalysisDate() - Method in interface org.sonar.api.ce.posttask.PostProjectAnalysisTask.ProjectAnalysis
-
Date of the analysis.
- getAnnotation(Object, Class<A>) - Static method in class org.sonar.api.utils.AnnotationUtils
-
Searches for a class annotation.
- getApiVersion() - Method in class org.sonar.api.internal.SonarRuntimeImpl
-
- getApiVersion() - Method in interface org.sonar.api.SonarRuntime
-
Version of API (sonar-plugin-api artifact) at runtime.
- getArguments() - Method in class org.sonar.api.utils.command.Command
-
- getBackgroundColor() - Method in class org.sonar.api.server.authentication.Display
-
Background color for the provider button displayed in the login form.
- getBaseDir() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getBestValue() - Method in class org.sonar.api.measures.Metric
-
- getBoolean(String) - Method in class org.sonar.api.config.Settings
-
Effective value as boolean.
- getBooleanProperty(String) - Method in class org.sonar.api.resources.ResourceType
-
Returns the value of the property for this resource type.
- getBooleanValue() - Method in interface org.sonar.api.ce.measure.Measure
-
The value of this measure as a boolean.
- getBooleanValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
-
- getBottomLimits() - Method in class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
Gives the bottom limits of ranges used
- getBranch() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getBranch() - Method in interface org.sonar.api.component.Module
-
Deprecated.
- getBranch() - Method in class org.sonar.api.resources.Project
-
Deprecated.
- getBuildDir() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- 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
-
- 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
-
- getCharacteristicKey() - Method in class org.sonar.api.rules.Rule
-
- 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
-
- getCode() - Method in enum org.sonar.api.web.DashboardLayout
-
Deprecated.
- getColorName() - Method in enum org.sonar.api.measures.Metric.Level
-
- getColumns() - Method in enum org.sonar.api.web.DashboardLayout
-
Deprecated.
- getCommand() - Method in exception org.sonar.api.utils.command.CommandException
-
- getComponent() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Returns the current component.
- getComponent() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- getComponentQualifiers() - Method in class org.sonar.api.web.page.Page
-
- getConditions() - Method in interface org.sonar.api.ce.posttask.QualityGate
-
Conditions of the Quality Gate.
- getConditions() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getConditionsByLine() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getConfigKey() - Method in class org.sonar.api.rules.ActiveRule
-
- getConfigKey() - Method in class org.sonar.api.rules.Rule
-
- getConfigKey() - Method in class org.sonar.api.rules.RuleQuery
-
- getContextPath() - Method in class org.sonar.api.platform.Server
-
Context path of web server.
- getContextProperties() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- getCoveredConditions() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getCoveredConditionsByLine() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getCoveredLines() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getCreatedAt() - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- getCreatedAt() - Method in class org.sonar.api.rules.Rule
-
- getCreatedAt() - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- getData() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getDataAsLevel() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getDate() - Method in interface org.sonar.api.ce.posttask.PostProjectAnalysisTask.ProjectAnalysis
-
- getDate(String) - Method in class org.sonar.api.config.Settings
-
Effective value as
Date
, without time fields.
- getDate() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getDateTime(String) - Method in class org.sonar.api.config.Settings
-
Effective value as
Date
, with time fields.
- getDbConstant() - Method in enum org.sonar.api.rules.RuleType
-
- getDecimalScale() - Method in class org.sonar.api.measures.Metric
-
- getDeclarationEndOffset() - Method in interface org.sonar.api.source.Symbol
-
- getDeclarationStartOffset() - Method in interface org.sonar.api.source.Symbol
-
- 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
-
- getDefaultCharacteristicKey() - Method in class org.sonar.api.rules.Rule
-
- getDefaultMessage() - Method in class org.sonar.api.notifications.Notification
-
Returns the default message to display for this notification.
- getDefaultProfile() - Method in class org.sonar.api.profiles.RulesProfile
-
- getDefaultSubCharacteristicKey() - Method in class org.sonar.api.rules.Rule
-
- getDefaultTimeZone() - Method in class org.sonar.api.utils.System2
-
- getDefaultValue(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- getDefaultValue(String) - Method in class org.sonar.api.config.Settings
-
- getDefaultValue() - Method in class org.sonar.api.rules.RuleParam
-
- getDefaultValueAsBoolean() - Method in class org.sonar.api.rules.RuleParam
-
- getDefaultValueAsInteger() - Method in class org.sonar.api.rules.RuleParam
-
- getDefinition(String) - Method in class org.sonar.api.config.Settings
-
The definition related to the specified property.
- getDefinitions() - Method in class org.sonar.api.config.Settings
-
All the property definitions declared by core and plugins.
- getDeleteHistoricalData() - Method in class org.sonar.api.measures.Metric
-
- getDependencies() - Method in class org.sonar.api.utils.dag.Node
-
- getDeployDir() - Method in class org.sonar.api.platform.Server
-
- getDeprecatedKey(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- getDescription() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getDescription() - Method in interface org.sonar.api.component.Module
-
Deprecated.
- getDescription(String, String, Locale) - Method in interface org.sonar.api.i18n.RuleI18n
-
- 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.web.Dashboard
-
Deprecated.
Returns the description of the dashboard.
- getDirection() - Method in class org.sonar.api.measures.Metric
-
- getDirectory() - Method in class org.sonar.api.utils.command.Command
-
- getDisplay() - Method in interface org.sonar.api.server.authentication.IdentityProvider
-
Display information for the login form
- getDocument() - Method in class org.sonar.api.utils.XpathParser
-
Deprecated.
- getDomain() - Method in class org.sonar.api.measures.Metric
-
- getDouble(String) - Method in class org.sonar.api.config.Settings
-
Effective value as Double
.
- getDoubleValue() - Method in interface org.sonar.api.ce.measure.Measure
-
The value of this measure as a double.
- getDoubleValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
-
- getDurationSinceLocked() - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- getEffectiveKey() - Method in class org.sonar.api.resources.Resource
-
Deprecated.
- getElementValue(Node) - Method in class org.sonar.api.utils.XpathParser
-
Deprecated.
- getEmail() - Method in class org.sonar.api.database.model.User
-
- getEmail() - Method in class org.sonar.api.platform.NewUserHandler.Context
-
- getEmail() - Method in class org.sonar.api.security.UserDetails
-
- getEmail() - Method in class org.sonar.api.server.authentication.UserIdentity
-
Optional non-blank email.
- getEnabled() - Method in class org.sonar.api.measures.Metric
-
- getEncryption() - Method in class org.sonar.api.config.Settings
-
- getEnvironmentVariables() - Method in class org.sonar.api.utils.command.Command
-
Environment variables that are propagated during command execution.
- getErrorKey() - Method in class org.sonar.api.config.PropertyDefinition.Result
-
- getErrors() - Method in class org.sonar.api.utils.ValidationMessages
-
- getErrorThreshold() - Method in interface org.sonar.api.ce.posttask.QualityGate.Condition
-
- getExclusions() - Method in class org.sonar.api.web.ServletFilter.UrlPattern
-
- getExecutable() - Method in class org.sonar.api.utils.command.Command
-
- getExpirationDate() - Method in class org.sonar.api.config.License
-
- getExpirationDateAsString() - Method in class org.sonar.api.config.License
-
- getExtension(InputFile) - Static method in class org.sonar.api.batch.fs.internal.FileExtensionPredicate
-
- getExtensions() - Method in class org.sonar.api.Plugin.Context
-
- getExtensions() - Method in class org.sonar.api.SonarPlugin
-
Deprecated.
Classes of the implemented extensions.
- getFamily() - Method in class org.sonar.api.web.Criterion
-
Get the the criterion's family.
- getFields(Class, boolean) - Static method in class org.sonar.api.utils.FieldUtils2
-
Get accessible Field
breaking scope if requested.
- getFieldValue(String) - Method in class org.sonar.api.notifications.Notification
-
Returns the value of a field.
- getFileAttributes() - Method in interface org.sonar.api.ce.measure.Component
-
The attributes of the Component if it's type is File.
- getFileAttributes() - Method in class org.sonar.api.ce.measure.test.TestComponent
-
- getFilename(InputFile) - Static method in class org.sonar.api.batch.fs.internal.FilenamePredicate
-
- getFileName() - Method in class org.sonar.api.server.ws.internal.PartImpl
-
- getFileName() - Method in interface org.sonar.api.server.ws.Request.Part
-
- getFilesByExtension(String) - Method in interface org.sonar.api.batch.fs.FileSystem.Index
-
- getFilesByName(String) - Method in interface org.sonar.api.batch.fs.FileSystem.Index
-
- getFileSuffixes() - Method in interface org.sonar.api.resources.Language
-
For example ["jav", "java"].
- getFloat(String) - Method in class org.sonar.api.config.Settings
-
Effective value as Float
.
- getFormula() - Method in class org.sonar.api.measures.Metric
-
- getFrom() - Method in class org.sonar.api.config.EmailSettings
-
- getFrom() - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- getFrom() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- getFullyQualifiedName() - Method in interface org.sonar.api.source.Symbol
-
- getGroups() - Method in class org.sonar.api.server.authentication.UserIdentity
-
List of group membership of the user.
- getGroupsProvider() - Method in class org.sonar.api.security.SecurityRealm
-
- getHeader(String) - Method in interface org.sonar.api.server.ws.LocalConnector.LocalResponse
-
- getHeader(String) - Method in interface org.sonar.api.server.ws.Response
-
- getHeaderNames() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalResponse
-
HTTP headers
- getHeaderNames() - Method in interface org.sonar.api.server.ws.Response
-
- getHitsByLine() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getHomeDir() - Method in interface org.sonar.api.platform.ServerFileSystem
-
Root directory of the server installation
- getHtml() - Method in interface org.sonar.api.web.Footer
-
Deprecated.
Static HTML
- getIconPath() - Method in class org.sonar.api.resources.ResourceType
-
Returns the relative path of the icon used to represent the resource type
- getIconPath() - Method in class org.sonar.api.server.authentication.Display
-
URL path to the provider icon, as deployed at runtime, for example "/static/authgithub/github.svg" (in this
case "authgithub" is the plugin key.
- getId() - Method in interface org.sonar.api.ce.posttask.CeTask
-
Id of the Compute Engine task.
- getId() - Method in interface org.sonar.api.ce.posttask.QualityGate
-
The unique identifier of the Quality Gate.
- getId() - Method in class org.sonar.api.database.BaseIdentifiable
-
- getId() - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- getId() - Method in class org.sonar.api.measures.Metric
-
For internal use only
- getId() - Method in class org.sonar.api.platform.Server
-
Name is misleading, this is an UUID generated
at each startup, so it changes if server is restarted.
- getId() - Method in class org.sonar.api.profiles.RulesProfile
-
- getId() - Method in class org.sonar.api.resources.Resource
-
Deprecated.
- getId() - Method in class org.sonar.api.rules.ActiveRule
-
- getId() - Method in class org.sonar.api.rules.ActiveRuleParam
-
- getId() - Method in class org.sonar.api.rules.Rule
-
- getId() - Method in class org.sonar.api.rules.RuleParam
-
- getId() - Method in class org.sonar.api.web.AbstractDashboardWidget
-
Deprecated.
- getId() - Method in class org.sonar.api.web.Dashboard.Widget
-
Deprecated.
Returns the identifier of this widget.
- getId() - Method in interface org.sonar.api.web.View
-
Deprecated.
- getId() - Method in interface org.sonar.api.web.Webservice
-
Deprecated.
- getInclusions() - Method in class org.sonar.api.web.ServletFilter.UrlPattern
-
- getInfos() - Method in class org.sonar.api.utils.ValidationMessages
-
- getInheritance() - Method in class org.sonar.api.rules.ActiveRule
-
For internal use only.
- getInitialDbVersion() - Method in interface org.sonar.api.platform.ServerUpgradeStatus
-
The database version before the server startup.
- getInitializer() - Method in interface org.sonar.api.batch.events.InitializerExecutionHandler.InitializerExecutionEvent
-
Deprecated.
- getInitializers() - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler.InitializersPhaseEvent
-
Deprecated.
- getInputMetrics() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition
-
- getInputMetrics() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition
-
- getInputStream() - Method in class org.sonar.api.server.ws.internal.PartImpl
-
- getInputStream() - Method in interface org.sonar.api.server.ws.Request.Part
-
- getInt(String) - Method in class org.sonar.api.config.Settings
-
Effective value as int
.
- getIntValue() - Method in interface org.sonar.api.ce.measure.Measure
-
The value of this measure as a integer.
- getIntValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
-
- getIntValue(String, int) - Method in interface org.sonar.api.measures.FileLinesContext
-
- getIntValue() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getIssues() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Return list of all issues (open, closed, etc.) of current component.
- getIssues() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- getKey() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getKey() - Method in interface org.sonar.api.ce.measure.Component
-
- getKey() - Method in class org.sonar.api.ce.measure.test.TestComponent
-
- getKey() - Method in interface org.sonar.api.ce.posttask.Project
-
The key of the project.
- getKey() - Method in class org.sonar.api.config.GlobalPropertyChangeHandler.PropertyChange
-
- getKey() - Method in class org.sonar.api.measures.Metric
-
- getKey() - Method in class org.sonar.api.notifications.NotificationChannel
-
Returns the unique key of this channel.
- getKey() - Method in class org.sonar.api.profiles.ProfileExporter
-
- getKey() - Method in class org.sonar.api.profiles.ProfileImporter
-
- getKey() - Method in class org.sonar.api.resources.AbstractLanguage
-
For example "java".
- getKey() - Method in interface org.sonar.api.resources.Language
-
For example "java".
- getKey() - Method in class org.sonar.api.resources.Resource
-
Deprecated.
- getKey() - Method in class org.sonar.api.rules.ActiveRuleParam
-
- getKey() - Method in class org.sonar.api.rules.Rule
-
- getKey() - Method in class org.sonar.api.rules.RuleParam
-
- getKey() - Method in class org.sonar.api.rules.RuleQuery
-
- getKey() - Method in class org.sonar.api.rules.RuleRepository
-
Deprecated.
- getKey() - Method in interface org.sonar.api.server.authentication.IdentityProvider
-
Unique key of provider, for example "github".
- getKey() - Method in class org.sonar.api.web.Criterion
-
Get the the criterion's key.
- getKey() - Method in class org.sonar.api.web.page.Page
-
- getKey() - Method in enum org.sonar.api.web.page.Page.Qualifier
-
- getKeys() - Method in class org.sonar.api.utils.LocalizedMessages
-
- getKeysStartingWith(String) - Method in class org.sonar.api.config.Settings
-
- getKeyWithBranch() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getLanguage() - Method in interface org.sonar.api.batch.CpdMapping
-
Deprecated.
- getLanguage() - Method in class org.sonar.api.profiles.RulesProfile
-
- getLanguage() - Method in class org.sonar.api.resources.Directory
-
Deprecated.
- getLanguage() - Method in class org.sonar.api.resources.File
-
Deprecated.
- getLanguage() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- getLanguage() - Method in class org.sonar.api.resources.Project
-
- getLanguage() - Method in class org.sonar.api.resources.Resource
-
- getLanguage() - Method in class org.sonar.api.rules.Rule
-
- getLanguage() - Method in class org.sonar.api.rules.RuleRepository
-
Deprecated.
- getLanguageKey() - Method in interface org.sonar.api.ce.measure.Component.FileAttributes
-
- getLanguageKey() - Method in class org.sonar.api.ce.measure.test.TestComponent.FileAttributesImpl
-
- getLanguageKey() - Method in class org.sonar.api.web.CodeColorizerFormat
-
Deprecated.
- 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
-
- getLong(String) - Method in class org.sonar.api.config.Settings
-
Effective value as long
.
- getLongName() - Method in class org.sonar.api.resources.Directory
-
Deprecated.
- getLongName() - Method in class org.sonar.api.resources.File
-
Deprecated.
- getLongName() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- getLongName() - Method in class org.sonar.api.resources.Project
-
Deprecated.
- getLongName() - Method in class org.sonar.api.resources.Resource
-
Deprecated.
- getLongValue() - Method in interface org.sonar.api.ce.measure.Measure
-
The value of this measure as a long.
- getLongValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
-
- getMeasure(Metric) - Method in interface org.sonar.api.batch.DecoratorContext
-
Deprecated.
Find a measure for the resource
- getMeasure(Metric) - Method in class org.sonar.api.batch.DefaultFormulaData
-
Deprecated.
- getMeasure(Metric<G>) - Method in interface org.sonar.api.batch.SensorContext
-
- getMeasure(Resource, Metric<G>) - Method in interface org.sonar.api.batch.SensorContext
-
- 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
-
- getMeasures(Resource, MeasuresFilter<M>) - Method in interface org.sonar.api.batch.SensorContext
-
- getMeasures(MeasuresFilter<M>) - Method in interface org.sonar.api.measures.FormulaData
-
Deprecated.
- getMediaType() - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- getMediaType() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalRequest
-
- getMediaType() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalResponse
-
- getMediaType() - Method in class org.sonar.api.server.ws.Request
-
Returns the requested MIME type, or "application/octet-stream"
if not specified.
- getMessage() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- getMessageId() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- getMethod() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalRequest
-
HTTP method.
- getMetric(String) - Static method in class org.sonar.api.measures.CoreMetrics
-
- getMetric() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getMetric() - Method in class org.sonar.api.measures.PropertiesBuilder
-
Deprecated.
- getMetricKey() - Method in interface org.sonar.api.ce.posttask.QualityGate.Condition
-
The key of the metric this condition has been evaluated on.
- getMetricKey() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getMetrics() - Static method in class org.sonar.api.measures.CoreMetrics
-
- getMetrics() - Method in interface org.sonar.api.measures.Metrics
-
- getMimeType() - Method in class org.sonar.api.profiles.ProfileExporter
-
- getMinimumScopeToPersist() - Method in class org.sonar.api.measures.SumChildDistributionFormula
-
Deprecated.
- getModules() - Method in class org.sonar.api.resources.Project
-
Deprecated.
- getMultiParam(String) - Method in interface org.sonar.api.server.ws.LocalConnector.LocalRequest
-
- getName() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getName() - Method in interface org.sonar.api.ce.posttask.Project
-
The name of the project.
- getName() - Method in interface org.sonar.api.ce.posttask.QualityGate
-
Name of the Quality Gate.
- getName() - Method in class org.sonar.api.database.model.User
-
- getName(String, String, Locale) - Method in interface org.sonar.api.i18n.RuleI18n
-
- 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
-
- 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
-
- getNoteData() - Method in class org.sonar.api.rules.ActiveRule
-
- getNoteUpdatedAt() - Method in class org.sonar.api.rules.ActiveRule
-
- getNoteUserLogin() - Method in class org.sonar.api.rules.ActiveRule
-
- getObject() - Method in class org.sonar.api.utils.dag.Node
-
- getOperator() - Method in interface org.sonar.api.ce.posttask.QualityGate.Condition
-
The operator used to evaluate the error and/or warning thresholds against the value of the measure
- getOperator() - Method in class org.sonar.api.web.Criterion
-
Get the the criterion's operator.
- getOrganization() - Method in class org.sonar.api.config.License
-
- getOriginalName() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getOriginalName() - Method in class org.sonar.api.resources.Project
-
Deprecated.
- getOriginalVersion() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getOutput() - Method in class org.sonar.api.utils.command.StringStreamConsumer
-
- getOutputMetrics() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition
-
- getOutputMetrics() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition
-
- getPages() - Method in class org.sonar.api.web.page.Context
-
- getParam(String) - Method in class org.sonar.api.rules.Rule
-
- getParam(String) - Method in interface org.sonar.api.server.ws.LocalConnector.LocalRequest
-
- getParam(String, BiFunction<Request, String, T>) - Method in class org.sonar.api.server.ws.Request
-
- getParam(String, Consumer<String>) - Method in class org.sonar.api.server.ws.Request
-
- getParam(String) - Method in class org.sonar.api.server.ws.Request
-
- getParamDescription(String, String, String, Locale) - Method in interface org.sonar.api.i18n.RuleI18n
-
- 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
-
- getParentName() - Method in class org.sonar.api.profiles.RulesProfile
-
For internal use only.
- getPassword() - Method in class org.sonar.api.security.Authenticator.Context
-
Password can be null, for example when using
CAS.
- getPath() - Method in class org.sonar.api.resources.Resource
-
Deprecated.
- getPath() - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- getPath() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalRequest
-
URL path, which is the concatenation of controller path and action key, for example "api/issues/search"
- getPath() - Method in class org.sonar.api.server.ws.Request
-
Return path of the request
- getPermanentServerId() - Method in class org.sonar.api.platform.Server
-
UUID generated on demand by system administrators.
- getPersistenceMode() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Gets the persistence mode of the measure.
- getPersonId() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getPluginName() - Method in class org.sonar.api.rules.ActiveRule
-
- 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
-
- getProduct() - Method in class org.sonar.api.config.License
-
- getProduct() - Method in class org.sonar.api.internal.SonarRuntimeImpl
-
- getProduct() - Method in interface org.sonar.api.SonarRuntime
-
The product being executed at runtime.
- getProject(String) - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
-
- getProject() - Method in interface org.sonar.api.batch.DecoratorContext
-
Deprecated.
- getProject() - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler.ProjectAnalysisEvent
-
Deprecated.
- getProject() - Method in interface org.sonar.api.ce.posttask.PostProjectAnalysisTask.ProjectAnalysis
-
Details of the analyzed project.
- getProjects() - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
-
- getProperties() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getProperties() - Method in interface org.sonar.api.ce.posttask.ScannerContext
-
- getProperties() - Method in class org.sonar.api.config.MapSettings
-
- getProperties() - Method in class org.sonar.api.config.Settings
-
Immutable map of the properties that have non-default values.
- getProperties() - Method in class org.sonar.api.web.Dashboard.Widget
-
Deprecated.
Returns the properties of this widget.
- getProperty(String) - Method in class org.sonar.api.web.Dashboard.Widget
-
Deprecated.
- getPropertyKey() - Method in class org.sonar.api.issue.condition.HasIssuePropertyCondition
-
- getPropertyValues(ClassLoader, String) - Static method in class org.sonar.api.utils.ManifestUtils
-
Search for a property in all the manifests found in the classloader
- getProps() - Method in class org.sonar.api.measures.PropertiesBuilder
-
Deprecated.
- getProviderLogin() - Method in class org.sonar.api.server.authentication.UserIdentity
-
- getPublicRootUrl() - Method in class org.sonar.api.platform.Server
-
Return the public root url, for instance : https://nemo.sonarqube.org.
- getQualifier() - Method in class org.sonar.api.resources.Directory
-
Deprecated.
- getQualifier() - Method in class org.sonar.api.resources.File
-
Deprecated.
Returns the qualifier associated to this File.
- getQualifier() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- getQualifier() - Method in class org.sonar.api.resources.Project
-
Deprecated.
- getQualifier() - Method in class org.sonar.api.resources.Resource
-
Deprecated.
The qualifier tells the type of the resource.
- getQualifier() - Method in class org.sonar.api.resources.ResourceType
-
Qualifier is the unique key.
- getQualitative() - Method in class org.sonar.api.measures.Metric
-
- getQualityGate() - Method in interface org.sonar.api.ce.posttask.PostProjectAnalysisTask.ProjectAnalysis
-
Status and details of the Quality Gate of the project (if any was configured on the project).
- getRawString(String) - Method in class org.sonar.api.config.Settings
-
The value that overrides the default value.
- getReferencesBySymbol() - Method in class org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable
-
- getRepositoryKey() - Method in class org.sonar.api.rules.ActiveRule
-
- getRepositoryKey() - Method in class org.sonar.api.rules.Rule
-
- getRepositoryKey() - Method in class org.sonar.api.rules.RuleQuery
-
- getRequest() - Method in class org.sonar.api.security.Authenticator.Context
-
- getRequest() - Method in class org.sonar.api.security.ExternalGroupsProvider.Context
-
- getRequest() - Method in class org.sonar.api.security.ExternalUsersProvider.Context
-
- getRequest() - Method in interface org.sonar.api.server.authentication.BaseIdentityProvider.Context
-
Get the received HTTP request.
- getRequest() - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.OAuth2Context
-
Get the received HTTP request.
- getResource() - Method in interface org.sonar.api.batch.DecoratorContext
-
Deprecated.
- getResource() - Method in class org.sonar.api.batch.DefaultFormulaContext
-
Deprecated.
- getResource(R) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
Search for an indexed resource.
- getResource(InputPath) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
- getResource() - Method in interface org.sonar.api.measures.FormulaContext
-
Deprecated.
- getResource(String) - Method in class org.sonar.api.utils.System2
-
- getResponse() - Method in interface org.sonar.api.server.authentication.BaseIdentityProvider.Context
-
Get the HTTP response to send
- getResponse() - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.OAuth2Context
-
Get the HTTP response to send
- getResponseCode() - Method in exception org.sonar.api.utils.HttpDownloader.HttpException
-
- getResponseContent() - Method in exception org.sonar.api.utils.HttpDownloader.HttpException
-
- getRoot() - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
-
- getRoot() - Method in class org.sonar.api.resources.Project
-
Deprecated.
- getRoot(String) - Method in class org.sonar.api.resources.ResourceTypes
-
- getRoot() - Method in class org.sonar.api.utils.XpathParser
-
Deprecated.
- getRootDir() - Method in class org.sonar.api.platform.Server
-
- 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
-
- 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
-
- 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
-
- getScope() - Method in class org.sonar.api.resources.Directory
-
Deprecated.
- getScope() - Method in class org.sonar.api.resources.File
-
Deprecated.
- getScope() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- getScope() - Method in class org.sonar.api.resources.Project
-
Deprecated.
- getScope() - Method in class org.sonar.api.resources.Resource
-
Deprecated.
- getScope() - Method in class org.sonar.api.web.page.Page
-
- getSecureConnection() - Method in class org.sonar.api.config.EmailSettings
-
- getSensor() - Method in interface org.sonar.api.batch.events.SensorExecutionHandler.SensorExecutionEvent
-
Deprecated.
- getSensors() - Method in interface org.sonar.api.batch.events.SensorsPhaseHandler.SensorsPhaseEvent
-
- getServer() - Method in class org.sonar.api.config.License
-
- getServerBaseURL() - Method in class org.sonar.api.config.EmailSettings
-
- getServerBaseURL() - Method in interface org.sonar.api.server.authentication.BaseIdentityProvider.Context
-
Return the server base URL
- getSettings() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Returns settings of the current component.
- getSettings() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- getSeverity() - Method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- getSeverity() - Method in class org.sonar.api.rules.ActiveRule
-
- getSeverity() - Method in class org.sonar.api.rules.Rule
-
- getSmtpHost() - Method in class org.sonar.api.config.EmailSettings
-
- getSmtpPassword() - Method in class org.sonar.api.config.EmailSettings
-
- getSmtpPort() - Method in class org.sonar.api.config.EmailSettings
-
- getSmtpUsername() - Method in class org.sonar.api.config.EmailSettings
-
- getSonarQubeSide() - Method in class org.sonar.api.internal.SonarRuntimeImpl
-
- getSonarQubeSide() - Method in interface org.sonar.api.SonarRuntime
-
The SonarQube stack being executed at runtime.
- getSonarQubeVersion() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
Default value is the version of this API at compilation time.
- getSonarQubeVersion() - Method in interface org.sonar.api.batch.sensor.SensorContext
-
Version of API at runtime, not at compilation time.
- getSonarQubeVersion() - Method in class org.sonar.api.Plugin.Context
-
Shortcut on getRuntime().getApiVersion()
since version 6.0.
- getStartedAt() - Method in class org.sonar.api.platform.Server
-
Date when server started.
- getStatus() - Method in interface org.sonar.api.ce.posttask.CeTask
-
Indicates whether the Compute Engine task ended successfully or not.
- getStatus() - Method in interface org.sonar.api.ce.posttask.QualityGate.Condition
-
Evaluation status of this condition
- getStatus() - Method in interface org.sonar.api.ce.posttask.QualityGate
-
Status of the Quality Gate for the current project processing.
- getStatus() - Method in class org.sonar.api.rules.Rule
-
- getStatus() - Method in interface org.sonar.api.server.ws.LocalConnector.LocalResponse
-
- getString(String) - Method in interface org.sonar.api.ce.measure.Settings
-
Returns the property as a string
Matching on key is case sensitive
- getString(String) - Method in class org.sonar.api.ce.measure.test.TestSettings
-
- getString(String) - Method in class org.sonar.api.config.Settings
-
The effective value of the specified property.
- getStringArray(String) - Method in interface org.sonar.api.ce.measure.Settings
-
Returns the property as a an array
Returns an empty array if no property is found for this key
Matching on key is case sensitive
- getStringArray(String) - Method in class org.sonar.api.ce.measure.test.TestSettings
-
- getStringArray(String) - Method in class org.sonar.api.config.Settings
-
Value is split by comma and trimmed.
- getStringArrayBySeparator(String, String) - Method in class org.sonar.api.config.Settings
-
Value is split and trimmed.
- getStringLines(String) - Method in class org.sonar.api.config.Settings
-
Value is split by carriage returns.
- getStringProperty(String) - Method in class org.sonar.api.resources.ResourceType
-
Returns the value of the property for this resource type.
- getStringValue() - Method in interface org.sonar.api.ce.measure.Measure
-
The value of this measure as a string.
- getStringValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
-
- getStringValue(String, int) - Method in interface org.sonar.api.measures.FileLinesContext
-
- getSubCategory(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- getSubCharacteristicKey() - Method in class org.sonar.api.rules.Rule
-
- getSubject() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- getSubProjects() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getSuffixes(String...) - Method in class org.sonar.api.resources.Languages
-
- getSupportedLanguages() - Method in class org.sonar.api.profiles.ProfileExporter
-
- getSupportedLanguages() - Method in class org.sonar.api.profiles.ProfileImporter
-
- getSupportedSchemes() - Method in class org.sonar.api.utils.UriReader.SchemeProcessor
-
- 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.RubyRailsWebservice
-
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
-
- 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 class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- getTokenizer() - Method in interface org.sonar.api.batch.CpdMapping
-
Deprecated.
- getTokenizers() - Method in class org.sonar.api.web.CodeColorizerFormat
-
Deprecated.
sonar-colorizer tokenizers for HTML output.
- getTokenLines() - Method in class org.sonar.api.batch.sensor.cpd.internal.DefaultCpdTokens
-
- getTree(String) - Method in class org.sonar.api.resources.ResourceTypes
-
- getType() - Method in interface org.sonar.api.ce.measure.Component
-
- getType() - Method in class org.sonar.api.ce.measure.test.TestComponent
-
- getType() - Method in class org.sonar.api.config.License
-
- getType() - Method in class org.sonar.api.measures.Metric
-
- getType() - Method in class org.sonar.api.notifications.Notification
-
Returns the type of the notification
- getType() - Method in class org.sonar.api.rules.RuleParam
-
- getTypes() - Method in class org.sonar.api.resources.ResourceTypeTree
-
- getUnit() - Method in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- getUpdatedAt() - Method in class org.sonar.api.rules.Rule
-
- getUpdatedAt() - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- getUri() - Method in exception org.sonar.api.utils.HttpDownloader.HttpException
-
- getUrl() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getURL() - Method in class org.sonar.api.platform.Server
-
- getUrl() - Method in class org.sonar.api.web.ServletFilter.UrlPattern
-
- getUsage() - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- getUsed() - Method in class org.sonar.api.profiles.RulesProfile
-
- getUserId() - Method in class org.sonar.api.security.UserDetails
-
- getUserManaged() - Method in class org.sonar.api.measures.Metric
-
- getUsername() - Method in class org.sonar.api.security.Authenticator.Context
-
Username can be null, for example when using
CAS.
- getUsername() - Method in class org.sonar.api.security.ExternalGroupsProvider.Context
-
- getUsername() - Method in class org.sonar.api.security.ExternalUsersProvider.Context
-
- getUsersProvider() - Method in class org.sonar.api.security.SecurityRealm
-
- getUuid() - Method in interface org.sonar.api.ce.posttask.Project
-
The UUID of the project.
- getUuid() - Method in class org.sonar.api.resources.Resource
-
Deprecated.
- getValue() - Method in interface org.sonar.api.ce.posttask.QualityGate.Condition
-
The value of the measure.
- getValue() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getValue(Measure, Double) - Static method in class org.sonar.api.measures.MeasureUtils
-
Deprecated.
Get the value of a measure, or alternatively a default value
- getValue() - Method in class org.sonar.api.rules.ActiveRuleParam
-
- getValue() - Method in interface org.sonar.api.server.ws.Request.Param
-
- getValue() - Method in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- getValue() - Method in class org.sonar.api.web.Criterion
-
Get the the criterion's value.
- getValueAsLong(Measure, Long) - Static method in class org.sonar.api.measures.MeasureUtils
-
Deprecated.
- getVariation(int) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getVariation(Measure, int) - Static method in class org.sonar.api.measures.MeasureUtils
-
Deprecated.
- getVariation(Measure, int, Double) - Static method in class org.sonar.api.measures.MeasureUtils
-
Deprecated.
- getVariation1() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getVariation2() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getVariation3() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getVariation4() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getVariation5() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- getVariationAsLong(Measure, int) - Static method in class org.sonar.api.measures.MeasureUtils
-
Deprecated.
- getVariationAsLong(Measure, int, Long) - Static method in class org.sonar.api.measures.MeasureUtils
-
Deprecated.
- getVersion() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getVersion() - Method in class org.sonar.api.platform.Server
-
Non-null version of SonarQube at runtime
- getVersion() - Method in class org.sonar.api.profiles.RulesProfile
-
- getVersion() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- 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.
- getWidgets() - Method in class org.sonar.api.web.Dashboard
-
Deprecated.
- getWidgetsOfColumn(int) - Method in class org.sonar.api.web.Dashboard
-
Deprecated.
- getWorkDir() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getWorstValue() - Method in class org.sonar.api.measures.Metric
-
- global() - Method in class org.sonar.api.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
-
- GOOGLE_ANALYTICS_ACCOUNT_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- GOOGLE_ANALYTICS_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
-
- grantDefaultRoles(Resource) - Method in interface org.sonar.api.security.ResourcePermissions
-
Limitation - the resource id is used instead of logical key.
- grantGroupRole(Resource, String, String) - Method in interface org.sonar.api.security.ResourcePermissions
-
Limitation - the resource id is used instead of logical key.
- grantUserRole(Resource, String, String) - Method in interface org.sonar.api.security.ResourcePermissions
-
Limitation - the resource id is used instead of logical key.
- 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
-
- 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
-
- IllegalDurationException(String) - Constructor for exception org.sonar.api.test.exception.IllegalDurationException
-
Deprecated.
- IMPORT_UNKNOWN_FILES_KEY - Static variable in interface org.sonar.api.CoreProperties
-
- 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
-
- indicativeSize(int) - Method in class org.sonar.api.config.PropertyFieldDefinition.Builder
-
- indicativeSize() - Method in class org.sonar.api.config.PropertyFieldDefinition
-
- INFO - Static variable in class org.sonar.api.rule.Severity
-
- info(String) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an INFO level message.
- info(String, Object) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an INFO parameterized message according to the specified format and argument.
- info(String, Object, Object) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an INFO parameterized message according to the specified format and arguments.
- info(String, Object...) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an INFO parameterized message according to the specified format and arguments.
- INFO_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- INFO_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- INHERITED - Static variable in class org.sonar.api.rules.ActiveRule
-
- init() - Method in interface org.sonar.api.security.LoginPasswordAuthenticator
-
- init() - Method in class org.sonar.api.security.SecurityRealm
-
Invoked during server startup and can be used to initialize internal state.
- init(BaseIdentityProvider.Context) - Method in interface org.sonar.api.server.authentication.BaseIdentityProvider
-
Entry-point of authentication workflow.
- init(OAuth2IdentityProvider.InitContext) - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider
-
Entry-point of authentication workflow.
- Initializer - Class in org.sonar.api.batch
-
Initializer are executed at the very beginning of each module analysis, prior the core listing files to be analyzed.
- Initializer() - Constructor for class org.sonar.api.batch.Initializer
-
- InitializerExecutionHandler - Interface in org.sonar.api.batch.events
-
- 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
-
- 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
-
- inputComponent() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
-
- inputComponent() - Method in interface org.sonar.api.batch.sensor.issue.IssueLocation
-
- inputComponent() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- inputComponent() - Method in interface org.sonar.api.batch.sensor.measure.Measure
-
- 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
-
- InputDir - Interface in org.sonar.api.batch.fs
-
Layer over
File
for directories.
- inputDir(File) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- inputFile(String) - Method in interface org.sonar.api.batch.fs.FileSystem.Index
-
- inputFile(FilePredicate) - Method in interface org.sonar.api.batch.fs.FileSystem
-
Returns the single element matching the predicate.
- InputFile - Interface in org.sonar.api.batch.fs
-
This layer over
File
adds information for code analyzers.
- inputFile(FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- inputFile() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- inputFile() - Method in class org.sonar.api.batch.sensor.cpd.internal.DefaultCpdTokens
-
- inputFile() - Method in interface org.sonar.api.batch.sensor.error.AnalysisError
-
The file that was being processed when the error occurred.
- inputFile() - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
-
- inputFile() - Method in class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
-
- inputFile() - Method in class org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable
-
- InputFile.Status - Enum in org.sonar.api.batch.fs
-
Status regarding previous analysis
- InputFile.Type - Enum in org.sonar.api.batch.fs
-
- InputFileFilter - Interface in org.sonar.api.batch.fs
-
Extension point to exclude some files from inspection
- inputFiles() - Method in interface org.sonar.api.batch.fs.FileSystem.Index
-
- inputFiles(FilePredicate) - Method in interface org.sonar.api.batch.fs.FileSystem
-
Input files matching the given attributes.
- inputFiles() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
Bypass default predicate to get all files/dirs indexed.
- inputFiles(FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- InputModule - Interface in org.sonar.api.batch.fs
-
Used to create issues and measures on modules.
- InputModuleHierarchy - Interface in org.sonar.api.batch.fs.internal
-
- InputPath - Interface in org.sonar.api.batch.fs
-
Layer over
File
for files or directories.
- inputStream() - Method in interface org.sonar.api.batch.fs.IndexedFile
-
Creates a stream of the file's contents.
- inputStream() - Method in interface org.sonar.api.batch.fs.InputFile
-
Creates a stream of the file's contents.
- INSTANCE - Static variable in class org.sonar.api.utils.System2
-
- InstantiationStrategy - Annotation Type in org.sonar.api.batch
-
Define instantiation strategy of batch IoC components.
- INSTRUCTION_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic RELIABILITY
- INTEGER - Static variable in class org.sonar.api.server.rule.RuleParamType
-
- INTEGRATION_TESTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic TESTABILITY
- internalKey() - Method in interface org.sonar.api.batch.rule.ActiveRule
-
Optional key declared and used by the underlying rule engine.
- internalKey() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
-
- internalKey() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- internalKey() - Method in interface org.sonar.api.batch.rule.Rule
-
- internalKey() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- is(File) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
- is(File) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- isActivated() - Method in class org.sonar.api.web.Dashboard
-
Deprecated.
A dashboard can be activated for all anonymous users or users who haven't configured their own dashboards.
- isAdmin() - Method in class org.sonar.api.web.page.Page
-
- isAnyone(String) - Static method in class org.sonar.api.security.DefaultGroups
-
- isBestValue() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- isBlockUnit(Resource) - Static method in class org.sonar.api.resources.Scopes
-
- isCancelled() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- isCancelled() - Method in interface org.sonar.api.batch.sensor.SensorContext
-
Test if a cancellation of the analysis was requested.
- isDataType() - Method in class org.sonar.api.measures.Metric
-
- isDebugEnabled() - Method in interface org.sonar.api.utils.log.Logger
-
- isDebugEnabled() - Method in class org.sonar.api.utils.log.Profiler
-
- isDefaultJvmEncoding() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- isDev() - Method in class org.sonar.api.platform.Server
-
The dev mode is enabled when the property sonar.web.dev
is true
.
- isDirectory(Resource) - Static method in class org.sonar.api.resources.Qualifiers
-
- isDirectory(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
Deprecated.
- isDirectory(Resource) - Static method in class org.sonar.api.resources.Scopes
-
- isEmpty() - Method in interface org.sonar.api.batch.fs.InputFile
-
Check if the file content is empty (ignore potential BOM).
- isEmpty() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- isEmpty() - Method in class org.sonar.api.ce.measure.RangeDistributionBuilder
-
- isEmpty() - Method in class org.sonar.api.measures.CountDistributionBuilder
-
Deprecated.
- isEmpty() - Method in class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
- isEnabled() - Method in class org.sonar.api.rules.ActiveRule
-
- isEnabled() - Method in class org.sonar.api.rules.Rule
-
- isEnabled() - Method in interface org.sonar.api.server.authentication.IdentityProvider
-
Is the provider fully configured and enabled ? If true
, then
the provider is available in login form.
- isEncrypted(String) - Method in class org.sonar.api.config.Encryption
-
- isEnd() - Method in interface org.sonar.api.batch.events.DecoratorExecutionHandler.DecoratorExecutionEvent
-
Deprecated.
- isEnd() - Method in interface org.sonar.api.batch.events.DecoratorsPhaseHandler.DecoratorsPhaseEvent
-
Deprecated.
- isEnd() - Method in interface org.sonar.api.batch.events.InitializerExecutionHandler.InitializerExecutionEvent
-
Deprecated.
- isEnd() - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler.InitializersPhaseEvent
-
Deprecated.
- isEnd() - Method in interface org.sonar.api.batch.events.PostJobExecutionHandler.PostJobExecutionEvent
-
Deprecated.
- isEnd() - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler.PostJobsPhaseEvent
-
Deprecated.
- isEnd() - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler.ProjectAnalysisEvent
-
Deprecated.
- isEnd() - Method in interface org.sonar.api.batch.events.SensorExecutionHandler.SensorExecutionEvent
-
Deprecated.
- isEnd() - Method in interface org.sonar.api.batch.events.SensorsPhaseHandler.SensorsPhaseEvent
-
- isEnd() - Method in interface org.sonar.api.scan.event.ProjectScanHandler.ProjectScanEvent
-
- isEntity(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
Deprecated.
- isExcluded() - Method in class org.sonar.api.resources.Resource
-
- isExpired() - Method in class org.sonar.api.config.License
-
- isFile() - Method in interface org.sonar.api.batch.fs.InputComponent
-
- 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.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
-
True if Java 7 or Java 8 runtime environment
- isLibrary(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- isLocked() - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- isManual() - Method in class org.sonar.api.rule.RuleKey
-
- 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
-
- isProject(Resource, boolean) - Static method in class org.sonar.api.resources.Qualifiers
-
- isProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
Deprecated.
This method equal isRootProject(resource) or isModuleProject(resource) or isView(resource) or isSubview(resource)
- isProject(Resource) - Static method in class org.sonar.api.resources.Scopes
-
- isPublish() - Method in interface org.sonar.api.batch.AnalysisMode
-
- isPublish() - Method in class org.sonar.api.batch.sensor.internal.MockAnalysisMode
-
- isRequired() - Method in class org.sonar.api.server.ws.WebService.Param
-
Is the parameter required or optional ?
- isRoot(InputModule) - Method in interface org.sonar.api.batch.fs.internal.InputModuleHierarchy
-
- isRoot() - Method in class org.sonar.api.resources.Project
-
Deprecated.
- isRootProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
Deprecated.
- isSecured() - Method in class org.sonar.api.platform.Server
-
- isSet(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
Deprecated.
- isSpace(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
Deprecated.
- isSpecial() - Method in class org.sonar.api.config.Category
-
- isStart() - Method in interface org.sonar.api.batch.events.DecoratorExecutionHandler.DecoratorExecutionEvent
-
Deprecated.
- isStart() - Method in interface org.sonar.api.batch.events.DecoratorsPhaseHandler.DecoratorsPhaseEvent
-
Deprecated.
- isStart() - Method in interface org.sonar.api.batch.events.InitializerExecutionHandler.InitializerExecutionEvent
-
Deprecated.
- isStart() - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler.InitializersPhaseEvent
-
Deprecated.
- isStart() - Method in interface org.sonar.api.batch.events.PostJobExecutionHandler.PostJobExecutionEvent
-
Deprecated.
- isStart() - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler.PostJobsPhaseEvent
-
Deprecated.
- isStart() - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler.ProjectAnalysisEvent
-
Deprecated.
- isStart() - Method in interface org.sonar.api.batch.events.SensorExecutionHandler.SensorExecutionEvent
-
Deprecated.
- isStart() - Method in interface org.sonar.api.batch.events.SensorsPhaseHandler.SensorsPhaseEvent
-
- isStart() - Method in interface org.sonar.api.scan.event.ProjectScanHandler.ProjectScanEvent
-
- Issuable - Interface in org.sonar.api.issue
-
This perspective allows to add issues related to the selected component.
- Issuable.IssueBuilder - Interface in org.sonar.api.issue
-
- isSub() - Method in interface org.sonar.api.batch.debt.DebtCharacteristic
-
Deprecated.
- isSubview(Resource) - Static method in class org.sonar.api.resources.Qualifiers
-
- isSubview(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
Deprecated.
- Issue - Interface in org.sonar.api.batch.sensor.issue
-
Represents an issue detected by a
Sensor
.
- Issue - Interface in org.sonar.api.ce.measure
-
- Issue - 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
-
- IssueFilter - Interface in org.sonar.api.scan.issue.filter
-
- IssueFilterChain - Interface in org.sonar.api.issue.batch
-
- 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
-
- 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.
- ISSUES_TRACKED - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
Deprecated.
- 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
-
- 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
-
- 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
-
- IT_BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_COVERAGE_LINE_HITS_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_COVERAGE_LINE_HITS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_COVERED_CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_COVERED_CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_LINE_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- l10nKey() - Method in exception org.sonar.api.utils.MessageException
-
- l10nParams() - Method in exception org.sonar.api.utils.MessageException
-
- language() - Method in interface org.sonar.api.batch.fs.IndexedFile
-
Language, for example "java" or "php".
- language() - Method in interface org.sonar.api.batch.fs.InputFile
-
Language, for example "java" or "php".
- language() - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
-
- language() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- language() - Method in interface org.sonar.api.batch.rule.ActiveRule
-
Language of rule, for example java
- language() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
-
- language() - Method in class org.sonar.api.component.mock.MockSourceFile
-
Deprecated.
- language() - Method in interface org.sonar.api.issue.Issue
-
- Language - Interface in org.sonar.api.resources
-
The extension point to define a new language
Instantiation strategy changed to PER_BATCH in version 4.2.
- language() - Method in class org.sonar.api.resources.Resource
-
Deprecated.
- language() - Method in interface org.sonar.api.server.rule.RulesDefinition.ExtendedRepository
-
- language() - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
-
- LANGUAGE_RELATED_PORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic PORTABILITY
- LANGUAGE_SPECIFIC_PARAMETERS - Static variable in interface org.sonar.api.CoreProperties
-
- LANGUAGE_SPECIFIC_PARAMETERS_LANGUAGE_KEY - Static variable in interface org.sonar.api.CoreProperties
-
- LANGUAGE_SPECIFIC_PARAMETERS_MAN_DAYS_KEY - Static variable in interface org.sonar.api.CoreProperties
-
- LANGUAGE_SPECIFIC_PARAMETERS_SIZE_METRIC_KEY - Static variable in interface org.sonar.api.CoreProperties
-
- languages() - Method in interface org.sonar.api.batch.fs.FileSystem
-
Languages detected in all files, whatever their type (main or test)
- languages() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- 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
-
- Library(String, String) - Constructor for class org.sonar.api.resources.Library
-
Deprecated.
- LIBRARY - Static variable in class org.sonar.api.resources.Qualifiers
-
- License - Class in org.sonar.api.config
-
SonarSource license.
- line() - Method in class org.sonar.api.batch.fs.internal.DefaultTextPointer
-
- line() - Method in interface org.sonar.api.batch.fs.TextPointer
-
The logical line where this pointer is located.
- line() - Method in interface org.sonar.api.batch.postjob.issue.PostJobIssue
-
Line of the issue.
- line(Integer) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
- line() - Method in interface org.sonar.api.issue.Issue
-
Optional line number.
- line() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
-
- LINE_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- linear(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.DebtRemediationFunctions
-
Shortcut for create(Type.LINEAR, gap multiplier, null)
.
- linearWithOffset(String, String) - Method in interface org.sonar.api.server.rule.RulesDefinition.DebtRemediationFunctions
-
Shortcut for create(Type.LINEAR_OFFSET, gap multiplier, base effort)
.
- lineHits(int, int) - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- lineHits(int, int) - Method in interface org.sonar.api.batch.sensor.coverage.NewCoverage
-
Call this method as many time as needed to report coverage hits per line.
- lineHits(String, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- lineHitsData() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
-
Deprecated.
- lineOffset() - Method in class org.sonar.api.batch.fs.internal.DefaultTextPointer
-
- lineOffset() - Method in interface org.sonar.api.batch.fs.TextPointer
-
The offset of this pointer in the current line.
- lines() - Method in interface org.sonar.api.batch.fs.InputFile
-
Number of physical lines.
- lines() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- lines() - Method in class org.sonar.api.batch.fs.internal.Metadata
-
- LINES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- lines() - Method in interface org.sonar.api.test.CoverageBlock
-
Deprecated.
- LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Computed by the platform since SQ 5.1
- LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
-
- LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- linesToCover() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
-
Deprecated.
- linesToCover() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- LINKS_CI - Static variable in interface org.sonar.api.CoreProperties
-
- LINKS_HOME_PAGE - Static variable in interface org.sonar.api.CoreProperties
-
- LINKS_ISSUE_TRACKER - Static variable in interface org.sonar.api.CoreProperties
-
- LINKS_SOURCES - Static variable in interface org.sonar.api.CoreProperties
-
- LINKS_SOURCES_DEV - Static variable in interface org.sonar.api.CoreProperties
-
- load(System2) - Static method in class org.sonar.api.internal.ApiVersion
-
- load(RulesDefinition.NewExtendedRepository, Class...) - Method in class org.sonar.api.server.rule.RulesDefinitionAnnotationLoader
-
- load(RulesDefinition.NewRepository) - Method in class org.sonar.api.server.rule.RulesDefinitionI18nLoader
-
Loads descriptions of rules and related rule parameters.
- load(RulesDefinition.NewRepository, InputStream, String) - Method in class org.sonar.api.server.rule.RulesDefinitionXmlLoader
-
Loads rules by reading the XML input stream.
- load(RulesDefinition.NewRepository, InputStream, Charset) - Method in class org.sonar.api.server.rule.RulesDefinitionXmlLoader
-
- load(RulesDefinition.NewRepository, Reader) - Method in class org.sonar.api.server.rule.RulesDefinitionXmlLoader
-
Loads rules by reading the XML input stream.
- loadTemplateFromCache() - Method in class org.sonar.api.web.AbstractRubyTemplate
-
Deprecated.
- localConnector() - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- localConnector() - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- LocalConnector - Interface in org.sonar.api.server.ws
-
This class allows a web service to call another web service through the sonar-ws library.
- localConnector() - Method in class org.sonar.api.server.ws.Request
-
Allows a web service to call another web service.
- LocalConnector.LocalRequest - Interface in org.sonar.api.server.ws
-
- LocalConnector.LocalResponse - Interface in org.sonar.api.server.ws
-
- LocalizedMessages - Class in org.sonar.api.utils
-
- LocalizedMessages(Locale, String...) - Constructor for class org.sonar.api.utils.LocalizedMessages
-
Constructs a resource bundle from a list of other resource bundles.
- location() - Method in interface org.sonar.api.batch.sensor.error.AnalysisError
-
Location of the error.
- location() - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
-
- locations() - Method in interface org.sonar.api.batch.sensor.issue.Issue.Flow
-
- log(Logger) - Method in class org.sonar.api.utils.ValidationMessages
-
- log(Logger) - Method in class org.sonar.api.utils.ValidationMessages
-
- 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
-
- logins(Collection<String>) - Method in class org.sonar.api.user.UserQuery.Builder
-
- logins(String...) - Method in class org.sonar.api.user.UserQuery.Builder
-
- logins() - Method in class org.sonar.api.user.UserQuery
-
- logs() - Method in class org.sonar.api.utils.log.LogTester
-
Logs in chronological order (item at index 0 is the oldest one)
- logs(LoggerLevel) - Method in class org.sonar.api.utils.log.LogTester
-
Logs in chronological order (item at index 0 is the oldest one) for
a given level
- LogTester - Class in org.sonar.api.utils.log
-
For tests only
This JUnit rule allows to configure and access logs in tests.
- LogTester() - Constructor for class org.sonar.api.utils.log.LogTester
-
- longName() - Method in interface org.sonar.api.component.Component
-
Deprecated.
- longName() - Method in class org.sonar.api.component.mock.MockSourceFile
-
Deprecated.
- longName() - Method in class org.sonar.api.resources.Project
-
Deprecated.
- longToDate(Long) - Static method in class org.sonar.api.utils.DateUtils
-
- LT - Static variable in class org.sonar.api.web.Criterion
-
- LTE - Static variable in class org.sonar.api.web.Criterion
-
- 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
-
- MapSettings - Class in org.sonar.api.config
-
In-memory map-based implementation of
Settings
.
- MapSettings() - Constructor for class org.sonar.api.config.MapSettings
-
- MapSettings(PropertyDefinitions) - Constructor for class org.sonar.api.config.MapSettings
-
- markdownDescription() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- markdownText() - Method in interface org.sonar.api.issue.IssueComment
-
- markForPublishing(InputFile) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- markForPublishing(InputFile) - Method in interface org.sonar.api.batch.sensor.SensorContext
-
Indicate that a file should be published in the report sent to SonarQube.
- match(IndexedFile) - Method in class org.sonar.api.batch.fs.internal.PathPattern
-
- match(IndexedFile, boolean) - Method in class org.sonar.api.batch.fs.internal.PathPattern
-
- match(String) - Method in class org.sonar.api.utils.WildcardPattern
-
Returns true if specified value matches this pattern.
- match(WildcardPattern[], String) - Static method in class org.sonar.api.utils.WildcardPattern
-
Returns true if specified value matches one of specified patterns.
- matches(Issue) - Method in interface org.sonar.api.issue.condition.Condition
-
- matches(Issue) - Method in class org.sonar.api.issue.condition.HasIssuePropertyCondition
-
- matches(Issue) - Method in class org.sonar.api.issue.condition.HasResolution
-
- matches(Issue) - Method in class org.sonar.api.issue.condition.HasStatus
-
- matches(Issue) - Method in class org.sonar.api.issue.condition.IsUnResolved
-
- matches(Issue) - Method in class org.sonar.api.issue.condition.NotCondition
-
- matches(String) - Method in class org.sonar.api.web.ServletFilter.UrlPattern
-
- matchesPathPattern(String) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
Predicate that gets the files which relative or absolute path matches a wildcard pattern.
- matchesPathPattern(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- matchesPathPatterns(String[]) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
Predicate that gets the files matching at least one wildcard pattern.
- matchesPathPatterns(String[]) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- matchFilePattern(String) - Method in class org.sonar.api.resources.Directory
-
Deprecated.
- matchFilePattern(String) - Method in class org.sonar.api.resources.File
-
Deprecated.
Check resource against an Ant pattern, like mypackag?/*Foo.java.
- matchFilePattern(String) - Method in class org.sonar.api.resources.Library
-
Deprecated.
- matchFilePattern(String) - Method in class org.sonar.api.resources.Project
-
Deprecated.
- matchFilePattern(String) - Method in class org.sonar.api.resources.Resource
-
Deprecated.
Check resource against an Ant pattern, like mypackag?/*Foo.java.
- MAX_DECIMAL_SCALE - Static variable in class org.sonar.api.measures.Metric
-
The maximum supported value of scale for decimal metrics
- MAX_TEXT_SIZE - Static variable in class org.sonar.api.measures.Measure
-
Deprecated.
- maxOrNull(Integer, Integer) - Static method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- MeanAggregationFormula - Class in org.sonar.api.measures
-
- 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<G extends Serializable> - Class in org.sonar.api.measures
-
- 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
-
- 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
-
- MeasuresFilters - Class in org.sonar.api.measures
-
- MeasuresFilters.MetricFilter<M> - Class in org.sonar.api.measures
-
Deprecated.
Used for internal optimizations.
- MeasureUtils - Class in org.sonar.api.measures
-
- MEMORY_EFFICIENCY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic EFFICIENCY
- merge(Metric) - Method in class org.sonar.api.measures.Metric
-
Merge with fields from other metric.
- message() - Method in interface org.sonar.api.batch.postjob.issue.PostJobIssue
-
Message of the issue.
- message() - Method in interface org.sonar.api.batch.sensor.error.AnalysisError
-
A description of the error.
- message() - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
-
- message(String) - Method in class org.sonar.api.batch.sensor.error.internal.DefaultAnalysisError
-
- message(String) - Method in interface org.sonar.api.batch.sensor.error.NewAnalysisError
-
Message about the error.
- message(String) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
-
- message() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
-
- message() - Method in interface org.sonar.api.batch.sensor.issue.IssueLocation
-
Message of the issue.
- message(String) - Method in interface org.sonar.api.batch.sensor.issue.NewIssueLocation
-
Optional, but recommended, plain-text message for this location.
- message(Locale, String, String, Object...) - Method in interface org.sonar.api.i18n.I18n
-
Searches the message of the key
for the locale
in the list of available bundles.
- message(String) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
- message() - Method in interface org.sonar.api.issue.Issue
-
- message() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
-
- message() - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
- MESSAGE_MAX_SIZE - Static variable in interface org.sonar.api.batch.sensor.issue.NewIssueLocation
-
Maximum number of characters in the message.
- MESSAGE_MAX_SIZE - Static variable in interface org.sonar.api.issue.Issue
-
Maximum number of characters in the message.
- MessageException - Exception in org.sonar.api.utils
-
Runtime exception for "functional" error.
- Metadata - Class in org.sonar.api.batch.fs.internal
-
- Metadata(int, int, String, int[], int) - Constructor for class org.sonar.api.batch.fs.internal.Metadata
-
- method() - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- method() - Method in class org.sonar.api.server.ws.Request
-
Returns the name of the HTTP method with which this request was made.
- Metric<G extends Serializable> - Interface in org.sonar.api.batch.measure
-
- metric() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- metric() - Method in interface org.sonar.api.batch.sensor.measure.Measure
-
The metric this measure belong to.
- metric - Variable in class org.sonar.api.measures.Measure
-
Deprecated.
- metric(Metric<?>) - Static method in class org.sonar.api.measures.MeasuresFilters
-
Deprecated.
- metric(String) - Static method in class org.sonar.api.measures.MeasuresFilters
-
Deprecated.
- Metric<G extends Serializable> - Class in org.sonar.api.measures
-
Used to define a metric in a plugin.
- Metric() - Constructor for class org.sonar.api.measures.Metric
-
- Metric(String) - Constructor for class org.sonar.api.measures.Metric
-
- Metric(String, Metric.ValueType) - Constructor for class org.sonar.api.measures.Metric
-
- Metric(String, String, String, Metric.ValueType, Integer, Boolean, String) - Constructor for class org.sonar.api.measures.Metric
-
- 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
-
- 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
-
- 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
-
- MODULE - Static variable in class org.sonar.api.resources.Qualifiers
-
Module of a multi-modules project.
- moduleKey() - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
-
- moduleKey() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- moduleKey() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- ModuleScanPhaseHandler - Interface in org.sonar.api.scan.event
-
- ModuleScanPhaseHandler.ModuleScanPhaseEvent - Interface in org.sonar.api.scan.event
-
- multiParam(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- multiParam(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- multiParam(String) - Method in class org.sonar.api.server.ws.Request
-
- multiple() - Method in class org.sonar.api.server.rule.RuleParamType
-
- multipleListOfValues(String...) - Static method in class org.sonar.api.server.rule.RuleParamType
-
- multiply(int) - Method in class org.sonar.api.utils.Duration
-
Multiply the duration with the given factor.
- multiply(int) - Method in class org.sonar.api.utils.internal.WorkDuration
-
- multiValues(boolean) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- multiValues() - Method in class org.sonar.api.config.PropertyDefinition
-
- mustBeRoot() - Method in class org.sonar.api.user.UserQuery.Builder
-
- mustBeRoot() - Method in class org.sonar.api.user.UserQuery
-
- mustNotBeRoot() - Method in class org.sonar.api.user.UserQuery.Builder
-
- MutableTestable - Interface in org.sonar.api.test
-
- MutableTestCase - Interface in org.sonar.api.test
-
- MutableTestPlan - Interface in org.sonar.api.test
-
- PACKAGE_CYCLES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_CYCLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_EDGES_WEIGHT - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_EDGES_WEIGHT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_FEEDBACK_EDGES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_FEEDBACK_EDGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_TANGLE_INDEX - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_TANGLE_INDEX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_TANGLES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_TANGLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PAGE - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- Page - Interface in org.sonar.api.web
-
- Page - Class in org.sonar.api.web.page
-
- Page.Builder - Class in org.sonar.api.web.page
-
- Page.Qualifier - Enum in org.sonar.api.web.page
-
- Page.Scope - Enum in org.sonar.api.web.page
-
- PAGE_SIZE - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- PageDecoration - Class in org.sonar.api.web
-
- PageDecoration() - Constructor for class org.sonar.api.web.PageDecoration
-
Deprecated.
- PageDefinition - Interface in org.sonar.api.web.page
-
Defines the Javascript pages added to SonarQube.
- pageIndex() - Method in class org.sonar.api.utils.Paging
-
Page index, starting with 1.
- pages() - Method in class org.sonar.api.utils.Paging
-
Number of pages.
- pageSize() - Method in class org.sonar.api.utils.Paging
-
Maximum number of items per page.
- Paging - Class in org.sonar.api.utils
-
- Paging.Builder - Class in org.sonar.api.utils
-
- PAIR_SEPARATOR - Static variable in class org.sonar.api.utils.KeyValueFormat
-
- param(String) - Method in interface org.sonar.api.batch.rule.ActiveRule
-
Value of given parameter.
- param(String) - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
-
- param(String) - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- param(String) - Method in interface org.sonar.api.batch.rule.Rule
-
- param(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- param(String) - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- param(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- param(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- param(String) - Method in class org.sonar.api.server.ws.Request
-
- param(String, String) - Method in class org.sonar.api.server.ws.Request
-
- param(String) - Method in class org.sonar.api.server.ws.WebService.Action
-
- Param(WebService.Action, WebService.NewParam) - Constructor for class org.sonar.api.server.ws.WebService.Param
-
- paramAsBoolean(String, boolean) - Method in class org.sonar.api.server.ws.Request
-
- paramAsBoolean(String) - Method in class org.sonar.api.server.ws.Request
-
- paramAsDate(String) - Method in class org.sonar.api.server.ws.Request
-
- paramAsDateTime(String) - Method in class org.sonar.api.server.ws.Request
-
- paramAsEnum(String, Class<E>) - Method in class org.sonar.api.server.ws.Request
-
- paramAsEnums(String, Class<E>) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- paramAsEnums(String, Class<E>) - Method in class org.sonar.api.server.ws.Request
-
- paramAsInputStream(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- paramAsInputStream(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- paramAsInputStream(String) - Method in class org.sonar.api.server.ws.Request
-
- paramAsInt(String, int) - Method in class org.sonar.api.server.ws.Request
-
- paramAsInt(String) - Method in class org.sonar.api.server.ws.Request
-
- paramAsLong(String, long) - Method in class org.sonar.api.server.ws.Request
-
- paramAsLong(String) - Method in class org.sonar.api.server.ws.Request
-
- paramAsPart(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- paramAsPart(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- paramAsPart(String) - Method in class org.sonar.api.server.ws.Request
-
- paramAsStrings(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- paramAsStrings(String) - Method in class org.sonar.api.server.ws.Request
-
- params() - Method in interface org.sonar.api.batch.rule.ActiveRule
-
Immutable parameter values.
- params() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
-
- params() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- params() - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- params() - Method in interface org.sonar.api.batch.rule.Rule
-
- params() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- params() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- params() - Method in class org.sonar.api.server.ws.WebService.Action
-
- parent(InputModule) - Method in interface org.sonar.api.batch.fs.internal.InputModuleHierarchy
-
- parse(String, String, String, Collection<Class>, ValidationMessages) - Method in class org.sonar.api.profiles.AnnotationProfileParser
-
- parse(Reader, ValidationMessages) - Method in class org.sonar.api.profiles.XMLProfileParser
-
- parse(String) - Static method in class org.sonar.api.rule.RuleKey
-
- parse(String, Collection<Class>) - Method in class org.sonar.api.rules.AnnotationRuleParser
-
Deprecated.
- parse(File) - Method in class org.sonar.api.rules.XMLRuleParser
-
Deprecated.
- parse(InputStream) - Method in class org.sonar.api.rules.XMLRuleParser
-
Deprecated.
Warning : the input stream is closed in this method
- parse(Reader) - Method in class org.sonar.api.rules.XMLRuleParser
-
Deprecated.
- parse(String) - Static method in class org.sonar.api.server.rule.RuleParamType
-
- parse(String, KeyValueFormat.Converter<K>, KeyValueFormat.Converter<V>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
If input is null, then an empty map is returned.
- parse(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parse(File) - Method in class org.sonar.api.utils.StaxParser
-
Deprecated.
- parse(InputStream) - Method in class org.sonar.api.utils.StaxParser
-
Deprecated.
- parse(Reader) - Method in class org.sonar.api.utils.StaxParser
-
Deprecated.
- parse(URL) - Method in class org.sonar.api.utils.StaxParser
-
Deprecated.
- parse(String) - Static method in class org.sonar.api.utils.Version
-
Convert a
String
to a Version.
- parse(File) - Method in class org.sonar.api.utils.XpathParser
-
Deprecated.
- parse(InputStream) - Method in class org.sonar.api.utils.XpathParser
-
Deprecated.
- parse(String) - Method in class org.sonar.api.utils.XpathParser
-
Deprecated.
- parseDate(String) - Static method in class org.sonar.api.utils.DateUtils
-
- parseDateOrDateTime(String) - Static method in class org.sonar.api.utils.DateUtils
-
- parseDateQuietly(String) - Static method in class org.sonar.api.utils.DateUtils
-
- parseDateTime(String) - Static method in class org.sonar.api.utils.DateUtils
-
- parseDateTimeQuietly(String) - Static method in class org.sonar.api.utils.DateUtils
-
- parseEndingDateOrDateTime(String) - Static method in class org.sonar.api.utils.DateUtils
-
Return the datetime if @param stringDate is a datetime, date + 1 day if stringDate is a date.
- parseIntDate(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parseIntDateTime(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parseIntDouble(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parseIntInt(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parseIntString(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parseKey(String) - Static method in class org.sonar.api.resources.Directory
-
Deprecated.
- parseNumber(String, Locale) - Static method in class org.sonar.api.utils.ParsingUtils
-
Parses a string with a locale and returns the corresponding number
- parseNumber(String) - Static method in class org.sonar.api.utils.ParsingUtils
-
Parses a string with the default locale and returns the corresponding number
- parseResource(ClassLoader, String, ValidationMessages) - Method in class org.sonar.api.profiles.XMLProfileParser
-
- parseStartingDateOrDateTime(String) - Static method in class org.sonar.api.utils.DateUtils
-
- parseStringDouble(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parseStringInt(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- ParsingUtils - Class in org.sonar.api.utils
-
Utility to parse various inputs
- PartImpl - Class in org.sonar.api.server.ws.internal
-
- PartImpl(InputStream, String) - Constructor for class org.sonar.api.server.ws.internal.PartImpl
-
- PASSWORD - Static variable in interface org.sonar.api.CoreProperties
-
- patch() - Method in class org.sonar.api.utils.Version
-
- path() - Method in interface org.sonar.api.batch.fs.IndexedFile
-
The underlying absolute
Path
.
- path() - Method in interface org.sonar.api.batch.fs.InputDir
-
The underlying absolute
Path
- path() - Method in interface org.sonar.api.batch.fs.InputFile
-
The underlying absolute
Path
.
- path() - Method in interface org.sonar.api.batch.fs.InputPath
-
- path() - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
-
- path() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- path() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- path() - Method in class org.sonar.api.batch.fs.internal.RelativePathPredicate
-
- path() - Method in interface org.sonar.api.component.Component
-
Deprecated.
Path of the component relative to basedir of the parent module.
- path() - Method in class org.sonar.api.component.mock.MockSourceFile
-
Deprecated.
- path() - Method in class org.sonar.api.resources.Project
-
Deprecated.
- path() - Method in class org.sonar.api.scan.filesystem.PathResolver.RelativePath
-
Deprecated.
- path() - Method in class org.sonar.api.server.ws.WebService.Action
-
- path() - Method in class org.sonar.api.server.ws.WebService.Controller
-
- PathPattern - Class in org.sonar.api.batch.fs.internal
-
- PathResolver - Class in org.sonar.api.scan.filesystem
-
- PathResolver() - Constructor for class org.sonar.api.scan.filesystem.PathResolver
-
- PathResolver.RelativePath - Class in org.sonar.api.scan.filesystem
-
- PathUtils - Class in org.sonar.api.utils
-
- PER_BATCH - Static variable in annotation type org.sonar.api.batch.InstantiationStrategy
-
Shared extension.
- PER_PROJECT - Static variable in annotation type org.sonar.api.batch.InstantiationStrategy
-
Created and initialized for each project and sub-project (a project is a module in Maven terminology).
- PER_TASK - Static variable in annotation type org.sonar.api.batch.InstantiationStrategy
-
Shared task extension.
- PERMANENT_SERVER_ID - Static variable in interface org.sonar.api.CoreProperties
-
- persistenceMode - Variable in class org.sonar.api.measures.Measure
-
Deprecated.
- PersistenceMode - Enum in org.sonar.api.measures
-
- personId - Variable in class org.sonar.api.measures.Measure
-
Deprecated.
- Perspective - Interface in org.sonar.api.component
-
- Phase - Annotation Type in org.sonar.api.batch
-
- Phase.Name - Enum in org.sonar.api.batch
-
- Plugin - Interface in org.sonar.api
-
Entry-point for plugins to inject extensions into SonarQube.
- Plugin.Context - Class in org.sonar.api
-
- PORTABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic PORTABILITY
- possibleValues() - Method in class org.sonar.api.server.ws.WebService.Param
-
- possibleValues() - Static method in enum org.sonar.api.server.ws.WebService.SelectionMode
-
- PostJob - Interface in org.sonar.api.batch
-
- PostJob - Interface in org.sonar.api.batch.postjob
-
PostJobs are executed at the very end of scanner analysis.
- PostJobContext - Interface in org.sonar.api.batch.postjob
-
- PostJobDescriptor - Interface in org.sonar.api.batch.postjob
-
- PostJobExecutionHandler - Interface in org.sonar.api.batch.events
-
- PostJobExecutionHandler.PostJobExecutionEvent - Interface in org.sonar.api.batch.events
-
Deprecated.
This interface is not intended to be implemented by clients.
- PostJobIssue - Interface in org.sonar.api.batch.postjob.issue
-
Represents an issue state at the end of the scanner analysis in preview/issues mode.
- PostJobsPhaseHandler - Interface in org.sonar.api.batch.events
-
- PostJobsPhaseHandler.PostJobsPhaseEvent - Interface in org.sonar.api.batch.events
-
Deprecated.
This interface is not intended to be implemented by clients.
- PostProjectAnalysisTask - Interface in org.sonar.api.ce.posttask
-
Extension point of which any plugin can provide an implementation and will allow them to be notified whenever some
analysis report processing ends in the Compute Engine.
- PostProjectAnalysisTask.ProjectAnalysis - Interface in org.sonar.api.ce.posttask
-
- PostProjectAnalysisTaskTester - Class in org.sonar.api.ce.posttask
-
- PostProjectAnalysisTaskTester.CeTaskBuilder - Class in org.sonar.api.ce.posttask
-
- PostProjectAnalysisTaskTester.ConditionBuilder - Class in org.sonar.api.ce.posttask
-
- PostProjectAnalysisTaskTester.ProjectBuilder - Class in org.sonar.api.ce.posttask
-
- PostProjectAnalysisTaskTester.QualityGateBuilder - Class in org.sonar.api.ce.posttask
-
- PostProjectAnalysisTaskTester.ScannerContextBuilder - Class in org.sonar.api.ce.posttask
-
- predicates() - Method in interface org.sonar.api.batch.fs.FileSystem
-
- predicates - Variable in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- predicates() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- PREFIX - Static variable in class org.sonar.api.config.EmailSettings
-
- PREFIX_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- PREVIEW_EXCLUDE_PLUGINS - Static variable in interface org.sonar.api.CoreProperties
-
- PREVIEW_EXCLUDE_PLUGINS_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- PREVIEW_INCLUDE_PLUGINS - Static variable in interface org.sonar.api.CoreProperties
-
- PREVIEW_INCLUDE_PLUGINS_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- PREVIEW_READ_TIMEOUT_SEC - Static variable in interface org.sonar.api.CoreProperties
-
- primaryLocation() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- primaryLocation() - Method in interface org.sonar.api.batch.sensor.issue.Issue
-
Primary locations for this issue.
- println(String) - Method in class org.sonar.api.utils.System2
-
- priority() - Method in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
-
- priority() - Method in interface org.sonar.api.batch.fs.internal.OptimizedFilePredicate
-
For optimization.
- priority() - Method in class org.sonar.api.batch.fs.internal.RelativePathPredicate
-
- ProfileDefinition - Class in org.sonar.api.profiles
-
Define a profile which is automatically registered during sonar startup.
- ProfileDefinition() - Constructor for class org.sonar.api.profiles.ProfileDefinition
-
- ProfileExporter - Class in org.sonar.api.profiles
-
Export quality profile rules to a file
- ProfileExporter(String, String) - Constructor for class org.sonar.api.profiles.ProfileExporter
-
- ProfileImporter - Class in org.sonar.api.profiles
-
Create a quality profile from an external rules file.
- ProfileImporter(String, String) - Constructor for class org.sonar.api.profiles.ProfileImporter
-
- Profiler - Class in org.sonar.api.utils.log
-
- Profiler() - Constructor for class org.sonar.api.utils.log.Profiler
-
- PROFILING_LOG_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROGRAM_UNIT - Static variable in class org.sonar.api.resources.Scopes
-
- Project - Interface in org.sonar.api.ce.posttask
-
- Project - Class in org.sonar.api.resources
-
- Project(ProjectDefinition) - Constructor for class org.sonar.api.resources.Project
-
Deprecated.
- PROJECT - Static variable in class org.sonar.api.resources.Qualifiers
-
Single project or root of multi-modules projects
Scope is Scopes.PROJECT
- PROJECT - Static variable in class org.sonar.api.resources.Scopes
-
For example view, subview, project, module or library.
- PROJECT - Static variable in annotation type org.sonar.api.web.WidgetScope
-
Deprecated.
- PROJECT_BRANCH_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_COVERAGE_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_DATE_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
Value format is yyyy-MM-dd
- PROJECT_DESCRIPTION_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_INCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_KEY_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_LANGUAGE_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_NAME_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_ORGANIZATION_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_TEST_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_TEST_INCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_VERSION_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- ProjectAnalysisHandler - Interface in org.sonar.api.batch.events
-
- ProjectAnalysisHandler.ProjectAnalysisEvent - Interface in org.sonar.api.batch.events
-
Deprecated.
This interface is not intended to be implemented by clients.
- ProjectBuilder - Class in org.sonar.api.batch.bootstrap
-
This extension point allows to change project structure at runtime.
- ProjectBuilder() - Constructor for class org.sonar.api.batch.bootstrap.ProjectBuilder
-
- ProjectBuilder.Context - Interface in org.sonar.api.batch.bootstrap
-
- ProjectBuilderContext - Class in org.sonar.api.batch.bootstrap.internal
-
- ProjectBuilderContext(ProjectReactor) - Constructor for class org.sonar.api.batch.bootstrap.internal.ProjectBuilderContext
-
- ProjectDefinition - Class in org.sonar.api.batch.bootstrap
-
Defines project metadata (key, name, source directories, ...).
- ProjectIssues - Interface in org.sonar.api.issue
-
Used by batch components to get all project issues.
- ProjectKey - Interface in org.sonar.api.batch.bootstrap
-
Provides root project key with branch
- projectKey() - Method in interface org.sonar.api.issue.Issue
-
- projectKey() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
-
- projectReactor() - Method in class org.sonar.api.batch.bootstrap.internal.ProjectBuilderContext
-
- projectReactor() - Method in interface org.sonar.api.batch.bootstrap.ProjectBuilder.Context
-
- ProjectReactor - Class in org.sonar.api.batch.bootstrap
-
Mutable project definitions that can be modified by
ProjectBuilder
extensions.
- ProjectReactor(ProjectDefinition) - Constructor for class org.sonar.api.batch.bootstrap.ProjectReactor
-
- PROJECTS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PROJECTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- ProjectScanHandler - Interface in org.sonar.api.scan.event
-
- ProjectScanHandler.ProjectScanEvent - Interface in org.sonar.api.scan.event
-
- projectUuid() - Method in interface org.sonar.api.issue.Issue
-
- prop(String, Number) - Method in class org.sonar.api.utils.text.JsonWriter
-
Encodes the property name and value.
- prop(String, String) - Method in class org.sonar.api.utils.text.JsonWriter
-
- prop(String, boolean) - Method in class org.sonar.api.utils.text.JsonWriter
-
- prop(String, long) - Method in class org.sonar.api.utils.text.JsonWriter
-
- prop(String, double) - Method in class org.sonar.api.utils.text.JsonWriter
-
- prop(String, String) - Method in class org.sonar.api.utils.text.XmlWriter
-
- prop(String, Number) - Method in class org.sonar.api.utils.text.XmlWriter
-
- prop(String, boolean) - Method in class org.sonar.api.utils.text.XmlWriter
-
- prop(String, long) - Method in class org.sonar.api.utils.text.XmlWriter
-
- prop(String, double) - Method in class org.sonar.api.utils.text.XmlWriter
-
- PROP_DRIVER - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_EMBEDDED_PORT - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_EMBEDDED_PORT_DEFAULT_VALUE - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_PASSWORD - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_PASSWORD_DEFAULT_VALUE - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_URL - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_USER - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_USER_DEFAULT_VALUE - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- propDate(String, Date) - Method in class org.sonar.api.utils.text.JsonWriter
-
Encodes the property name and date value (ISO format).
- propDateTime(String, Date) - Method in class org.sonar.api.utils.text.JsonWriter
-
Encodes the property name and datetime value (ISO format).
- properties() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- properties() - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
-
- properties() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- Properties - Annotation Type in org.sonar.api
-
Plugin properties.
- properties() - Method in class org.sonar.api.utils.System2
-
- PropertiesBuilder<K,V> - Class in org.sonar.api.measures
-
- PropertiesBuilder(Metric, Map<K, V>) - Constructor for class org.sonar.api.measures.PropertiesBuilder
-
Deprecated.
- PropertiesBuilder(Metric) - Constructor for class org.sonar.api.measures.PropertiesBuilder
-
Deprecated.
- PropertiesBuilder() - Constructor for class org.sonar.api.measures.PropertiesBuilder
-
Deprecated.
- propertiesByCategory(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- Property - Annotation Type in org.sonar.api
-
Property value can be set in different ways :
System property
Batch command-line (-Dfoo=bar in Maven or sonar-runner)
Maven pom.xml (element <properties>)
Maven settings.xml
SonarQube web administration console
- property(String) - Method in class org.sonar.api.utils.System2
-
- PropertyDefinition - Class in org.sonar.api.config
-
Declare a plugin property.
- PropertyDefinition.Builder - Class in org.sonar.api.config
-
- PropertyDefinition.Result - Class in org.sonar.api.config
-
- PropertyDefinitions - Class in org.sonar.api.config
-
Metadata of all the properties declared by plugins
- PropertyDefinitions(Object...) - Constructor for class org.sonar.api.config.PropertyDefinitions
-
- PropertyDefinitions(Collection<PropertyDefinition>) - Constructor for class org.sonar.api.config.PropertyDefinitions
-
- PropertyField - Annotation Type in org.sonar.api
-
Property field.
- PropertyFieldDefinition - Class in org.sonar.api.config
-
- PropertyFieldDefinition.Builder - Class in org.sonar.api.config
-
- propertySetKey(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- propertySetKey() - Method in class org.sonar.api.config.PropertyDefinition
-
- PropertyType - Enum in org.sonar.api
-
- provide() - Method in class org.sonar.api.ExtensionProvider
-
Deprecated.
- PUBLIC_API - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PUBLIC_API_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PUBLIC_DOCUMENTED_API_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PUBLIC_DOCUMENTED_API_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PUBLIC_UNDOCUMENTED_API - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PUBLIC_UNDOCUMENTED_API_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- publish() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- range() - Method in class org.sonar.api.batch.sensor.highlighting.internal.SyntaxHighlightingRule
-
- RangeDistributionBuilder - Class in org.sonar.api.ce.measure
-
Utility to build a distribution based on defined ranges
- RangeDistributionBuilder() - Constructor for class org.sonar.api.ce.measure.RangeDistributionBuilder
-
- RangeDistributionBuilder(Number[]) - Constructor for class org.sonar.api.ce.measure.RangeDistributionBuilder
-
RangeDistributionBuilder for a defined range
Each entry is initialized at zero
- RangeDistributionBuilder - Class in org.sonar.api.measures
-
- RangeDistributionBuilder(Metric<String>, Number[]) - Constructor for class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
RangeDistributionBuilder for a metric and a defined range
Each entry is initialized at zero
- RangeDistributionBuilder(Metric<String>) - Constructor for class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
- RATING_GRID - Static variable in interface org.sonar.api.CoreProperties
-
- RATING_GRID_DEF_VALUES - Static variable in interface org.sonar.api.CoreProperties
-
- READABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic MAINTAINABILITY
- readBase64(String) - Static method in class org.sonar.api.config.License
-
- readBytes(URI) - Method in class org.sonar.api.utils.UriReader
-
Reads all bytes from uri.
- readBytes(URI) - Method in class org.sonar.api.utils.UriReader.SchemeProcessor
-
- readFile(File, Charset, FileMetadata.CharHandler...) - Static method in class org.sonar.api.batch.fs.internal.FileMetadata
-
- readInputStreamParam(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- readMetadata(File, Charset) - Method in class org.sonar.api.batch.fs.internal.FileMetadata
-
Compute hash of a file ignoring line ends differences.
- readMetadata(Reader) - Method in class org.sonar.api.batch.fs.internal.FileMetadata
-
For testing purpose
- readMultiParam(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- readParam(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- readPart(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- readString(URI, Charset) - Method in class org.sonar.api.utils.UriReader
-
Reads all characters from uri, using the given character set.
- readString(URI, Charset) - Method in class org.sonar.api.utils.UriReader.SchemeProcessor
-
- redirectTo(String) - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.InitContext
-
Redirect the request to the url.
- redirectToRequestedPage() - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.CallbackContext
-
Redirect the request to the requested page.
- references(Symbol) - Method in interface org.sonar.api.source.Symbolizable.SymbolTable
-
- referencesForSymbolAt(String, int, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
Return list of symbol references ranges for the symbol at a given position in a file.
- relativeFile(File, String) - Method in class org.sonar.api.scan.filesystem.PathResolver
-
- relativeFiles(File, List<String>) - Method in class org.sonar.api.scan.filesystem.PathResolver
-
- relativePath() - Method in interface org.sonar.api.batch.fs.IndexedFile
-
Path relative to module base directory.
- relativePath() - Method in interface org.sonar.api.batch.fs.InputDir
-
Path relative to module base directory.
- relativePath() - Method in interface org.sonar.api.batch.fs.InputFile
-
Path relative to module base directory.
- relativePath() - Method in interface org.sonar.api.batch.fs.InputPath
-
- relativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
-
- relativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- relativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- relativePath(InputModule) - Method in interface org.sonar.api.batch.fs.internal.InputModuleHierarchy
-
- relativePath(Collection<File>, File) - Method in class org.sonar.api.scan.filesystem.PathResolver
-
- relativePath(Path, Path) - Method in class org.sonar.api.scan.filesystem.PathResolver
-
Similar to
Path.relativize(Path)
except that:
null is returned if file is not a child of dir
the resulting path is converted to use Unix separators
- relativePath(File, File) - Method in class org.sonar.api.scan.filesystem.PathResolver
-
- RelativePath(File, String) - Constructor for class org.sonar.api.scan.filesystem.PathResolver.RelativePath
-
Deprecated.
- relativePathFromSourceDir() - Method in class org.sonar.api.resources.Directory
-
Deprecated.
Internal.
- RelativePathPredicate - Class in org.sonar.api.batch.fs.internal
-
- release(String) - Method in interface org.sonar.api.utils.Semaphores
-
Deprecated.
Release the lock on a semaphore by its name.
- RELIABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic RELIABILITY
- RELIABILITY_RATING - Static variable in class org.sonar.api.measures.CoreMetrics
-
- RELIABILITY_RATING_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- RELIABILITY_REMEDIATION_EFFORT - Static variable in class org.sonar.api.measures.CoreMetrics
-
- RELIABILITY_REMEDIATION_EFFORT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- remove() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- remove(String) - Method in class org.sonar.api.config.MapSettings
-
- remove(String) - Method in class org.sonar.api.config.Settings
-
- removeActiveRule(ActiveRule) - Method in class org.sonar.api.profiles.RulesProfile
-
- removeProperty(String) - Method in class org.sonar.api.config.Settings
-
- REOPEN - Static variable in interface org.sonar.api.issue.DefaultTransitions
-
- REOPENED_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- REOPENED_ISSUES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- reporter(String) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
- reporter() - Method in interface org.sonar.api.issue.Issue
-
- repositories() - Method in class org.sonar.api.server.rule.RulesDefinition.Context
-
- repository() - Method in class org.sonar.api.rule.RuleKey
-
Never null
- repository(String) - Method in class org.sonar.api.server.rule.RulesDefinition.Context
-
- repository() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- Request - Class in org.sonar.api.server.ws
-
- Request() - Constructor for class org.sonar.api.server.ws.Request
-
- Request.Param<T> - Interface in org.sonar.api.server.ws
-
Represents a Request parameter, provides information whether is was specified or not (check
Request.Param.isPresent()
)
and utility method to nicely handles cases where the parameter is not present.
- Request.Part - Interface in org.sonar.api.server.ws
-
- Request.StringParam - Interface in org.sonar.api.server.ws
-
- RequestHandler - Interface in org.sonar.api.server.ws
-
Extension point to execute a HTTP request.
- requireProperties(String...) - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
-
- requireProperties(String...) - Method in interface org.sonar.api.batch.postjob.PostJobDescriptor
-
List properties this
PostJob
depends on.
- requireProperties(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- requireProperties(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
-
List properties this
Sensor
depends on.
- requireProperty(String...) - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
-
- requireProperty(String...) - Method in interface org.sonar.api.batch.postjob.PostJobDescriptor
-
- requireProperty(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- requireProperty(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
-
Property this
Sensor
depends on.
- reset() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- reset() - Method in class org.sonar.api.utils.dag.Node
-
- resetSources() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- resetTests() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- resolution() - Method in interface org.sonar.api.ce.measure.Issue
-
- resolution() - Method in class org.sonar.api.ce.measure.test.TestIssue
-
- resolution() - Method in interface org.sonar.api.issue.Issue
-
The type of resolution, or null if the issue is not resolved.
- RESOLUTION_FALSE_POSITIVE - Static variable in interface org.sonar.api.issue.Issue
-
Resolution when issue is flagged as false positive.
- RESOLUTION_FIXED - Static variable in interface org.sonar.api.issue.Issue
-
- RESOLUTION_REMOVED - Static variable in interface org.sonar.api.issue.Issue
-
Resolution when rule has been uninstalled or disabled in the Quality profile.
- RESOLUTION_WONT_FIX - Static variable in interface org.sonar.api.issue.Issue
-
Issue is irrelevant in the context and was muted by user.
- RESOLUTIONS - Static variable in interface org.sonar.api.issue.Issue
-
- RESOLVE - Static variable in interface org.sonar.api.issue.DefaultTransitions
-
- resolvedIssues() - Method in interface org.sonar.api.batch.postjob.PostJobContext
-
All the issues of this project that have been marked as resolved during this scan.
- resolvedIssues() - Method in interface org.sonar.api.issue.Issuable
-
- resolvedIssues() - Method in interface org.sonar.api.issue.ProjectIssues
-
All the issues of this project that have been marked as resolved during this scan
- resolveOrder() - Method in class org.sonar.api.utils.dag.Node
-
- resolvePath(String) - Method in interface org.sonar.api.batch.fs.FileSystem
-
Utility method mainly used to resolve location of reports.
- resolvePath(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- Resource - Class in org.sonar.api.resources
-
- Resource() - Constructor for class org.sonar.api.resources.Resource
-
Deprecated.
- RESOURCE - Static variable in annotation type org.sonar.api.web.NavigationSection
-
Deprecated.
- RESOURCE_CONFIGURATION - Static variable in annotation type org.sonar.api.web.NavigationSection
-
Deprecated.
Only Ruby and rails application.
- RESOURCE_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic RELIABILITY
- RESOURCE_TAB - Static variable in annotation type org.sonar.api.web.NavigationSection
-
- ResourceLanguage - Annotation Type in org.sonar.api.web
-
- ResourcePermissions - Interface in org.sonar.api.security
-
Grant access to newly created projects.
- ResourcePerspectives - Interface in org.sonar.api.component
-
- ResourceQualifier - Annotation Type in org.sonar.api.web
-
- ResourceScope - Annotation Type in org.sonar.api.web
-
- ResourceType - Class in org.sonar.api.resources
-
Experimental extension to declare types of resources.
- ResourceType.Builder - Class in org.sonar.api.resources
-
- ResourceTypes - Class in org.sonar.api.resources
-
- ResourceTypes() - Constructor for class org.sonar.api.resources.ResourceTypes
-
- ResourceTypes(ResourceTypeTree[]) - Constructor for class org.sonar.api.resources.ResourceTypes
-
- ResourceTypeTree - Class in org.sonar.api.resources
-
- ResourceTypeTree.Builder - Class in org.sonar.api.resources
-
- ResourceUtils - Class in org.sonar.api.resources
-
- Response - Interface in org.sonar.api.server.ws
-
HTTP response
- Response.Stream - Interface in org.sonar.api.server.ws
-
- responseExample() - Method in class org.sonar.api.server.ws.WebService.Action
-
- responseExampleAsString() - Method in class org.sonar.api.server.ws.WebService.Action
-
- responseExampleFormat() - Method in class org.sonar.api.server.ws.WebService.Action
-
- REUSABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic REUSABILITY
- revision() - Method in class org.sonar.api.batch.scm.BlameLine
-
- revision(String) - Method in class org.sonar.api.batch.scm.BlameLine
-
Mandatory field
- root() - Method in interface org.sonar.api.batch.fs.internal.InputModuleHierarchy
-
- ROOT - Static variable in class org.sonar.api.resources.Directory
-
Deprecated.
- RubyRailsPage - Interface in org.sonar.api.web
-
- RubyRailsWebservice - Interface in org.sonar.api.web
-
- RubyRailsWidget - Interface in org.sonar.api.web
-
- Rule - Interface in org.sonar.api.batch.rule
-
- rule(Metric, RuleKey) - Static method in class org.sonar.api.measures.MeasuresFilters
-
Deprecated.
- rule(Metric, Rule) - Static method in class org.sonar.api.measures.MeasuresFilters
-
Deprecated.
- rule() - Method in class org.sonar.api.rule.RuleKey
-
Never null
- Rule - Class in org.sonar.api.rules
-
- Rule() - Constructor for class org.sonar.api.rules.Rule
-
- Rule(String, String) - Constructor for class org.sonar.api.rules.Rule
-
- rule(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.ExtendedRepository
-
- rule(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository
-
- rule(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
-
- rule(String) - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
-
- RuleAnnotationUtils - Class in org.sonar.api.rules
-
- RuleFinder - Interface in org.sonar.api.rules
-
- RuleI18n - Interface in org.sonar.api.i18n
-
- ruleKey() - Method in interface org.sonar.api.batch.postjob.issue.PostJobIssue
-
- ruleKey() - Method in interface org.sonar.api.batch.rule.ActiveRule
-
- ruleKey(C) - Method in class org.sonar.api.batch.rule.Checks
-
- ruleKey() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
-
- ruleKey() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- ruleKey() - Method in interface org.sonar.api.batch.sensor.issue.Issue
-
- ruleKey() - Method in interface org.sonar.api.ce.measure.Issue
-
- ruleKey() - Method in class org.sonar.api.ce.measure.test.TestIssue
-
- ruleKey(RuleKey) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
The rule key is mandatory.
- ruleKey() - Method in interface org.sonar.api.issue.Issue
-
- ruleKey() - Method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- RuleKey - Class in org.sonar.api.rule
-
Key of a rule.
- RuleKey(String, String) - Constructor for class org.sonar.api.rule.RuleKey
-
- ruleKey() - Method in class org.sonar.api.rules.Rule
-
- ruleKey() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
-
- RuleMeasure - Class in org.sonar.api.measures
-
- RuleMeasure(Metric, Rule, RulePriority, Integer) - Constructor for class org.sonar.api.measures.RuleMeasure
-
- RuleMeasure(Metric, RuleKey, RulePriority, Integer) - Constructor for class org.sonar.api.measures.RuleMeasure
-
Deprecated.
This constructor is for internal use only.
- RuleParam - Interface in org.sonar.api.batch.rule
-
- RuleParam - Class in org.sonar.api.rules
-
- RuleParam() - Constructor for class org.sonar.api.rules.RuleParam
-
- RuleParam(Rule, String, String, String) - Constructor for class org.sonar.api.rules.RuleParam
-
- RuleParamType - Class in org.sonar.api.server.rule
-
- RulePriority - Enum in org.sonar.api.rules
-
- RuleQuery - Class in org.sonar.api.rules
-
- ruleRepositories() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- RuleRepository - Class in org.sonar.api.rules
-
- RuleRepository(String, String) - Constructor for class org.sonar.api.rules.RuleRepository
-
Deprecated.
- Rules - Interface in org.sonar.api.batch.rule
-
Searches for rules.
- rules(Metric) - Static method in class org.sonar.api.measures.MeasuresFilters
-
Deprecated.
- rules() - Method in interface org.sonar.api.server.rule.RulesDefinition.ExtendedRepository
-
- rules() - Method in interface org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository
-
- rules() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
-
- rules() - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
-
- RulesBuilder - Class in org.sonar.api.batch.rule.internal
-
For unit testing and internal use only.
- RulesBuilder() - Constructor for class org.sonar.api.batch.rule.internal.RulesBuilder
-
- RulesDefinition - Interface in org.sonar.api.server.rule
-
Defines some coding rules of the same repository.
- RulesDefinition.Context - Class in org.sonar.api.server.rule
-
Instantiated by core but not by plugins, except for their tests.
- RulesDefinition.DebtRemediationFunctions - Interface in org.sonar.api.server.rule
-
- RulesDefinition.ExtendedRepository - Interface in org.sonar.api.server.rule
-
- RulesDefinition.NewExtendedRepository - Interface in org.sonar.api.server.rule
-
- RulesDefinition.NewParam - Class in org.sonar.api.server.rule
-
- RulesDefinition.NewRepository - Interface in org.sonar.api.server.rule
-
- RulesDefinition.NewRepositoryImpl - Class in org.sonar.api.server.rule
-
- RulesDefinition.NewRule - Class in org.sonar.api.server.rule
-
- RulesDefinition.Param - Class in org.sonar.api.server.rule
-
- RulesDefinition.Repository - Interface in org.sonar.api.server.rule
-
- RulesDefinition.RepositoryImpl - Class in org.sonar.api.server.rule
-
- RulesDefinition.Rule - Class in org.sonar.api.server.rule
-
- RulesDefinition.SubCharacteristics - Class in org.sonar.api.server.rule
-
- RulesDefinitionAnnotationLoader - Class in org.sonar.api.server.rule
-
Read definitions of rules based on the annotations provided by sonar-check-api.
- RulesDefinitionAnnotationLoader() - Constructor for class org.sonar.api.server.rule.RulesDefinitionAnnotationLoader
-
- RulesDefinitionI18nLoader - Class in org.sonar.api.server.rule
-
Loads the English bundles of rules (name, description and parameters) that are
deprecated since 4.2.
- RulesDefinitionI18nLoader(RuleI18n) - Constructor for class org.sonar.api.server.rule.RulesDefinitionI18nLoader
-
- RulesDefinitionXmlLoader - Class in org.sonar.api.server.rule
-
Loads definitions of rules from a XML file.
- RulesDefinitionXmlLoader() - Constructor for class org.sonar.api.server.rule.RulesDefinitionXmlLoader
-
- RulesProfile - Class in org.sonar.api.profiles
-
This class is badly named.
- RulesProfile() - Constructor for class org.sonar.api.profiles.RulesProfile
-
- RulesProfile(String, String) - Constructor for class org.sonar.api.profiles.RulesProfile
-
- RulesProfile(String, String, boolean, boolean) - Constructor for class org.sonar.api.profiles.RulesProfile
-
- RuleStatus - Enum in org.sonar.api.rule
-
- RuleTagFormat - Class in org.sonar.api.server.rule
-
The characters allowed in rule tags are the same as those on StackOverflow, basically lower-case
letters, digits, plus (+), sharp (#), dash (-) and dot (.)
See http://meta.stackoverflow.com/questions/22624/what-symbols-characters-are-not-allowed-in-tags
- RuleType - Enum in org.sonar.api.rules
-
- runtime() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- runtime() - Method in interface org.sonar.api.batch.sensor.SensorContext
-
Runtime information, mainly:
to be able to have different behaviours between SonarQube and SonarLint
to enable new features depending on version of API available at runtime
- sanitize(String) - Static method in class org.sonar.api.utils.PathUtils
-
Normalize path and replace file separators by forward slash
- save() - Method in interface org.sonar.api.batch.sensor.coverage.NewCoverage
-
Call this method to save the coverage report for the given file.
- save() - Method in interface org.sonar.api.batch.sensor.cpd.NewCpdTokens
-
Call this method only once when your are done with defining tokens of the file.
- save() - Method in interface org.sonar.api.batch.sensor.error.NewAnalysisError
-
Save this error information.
- save() - Method in interface org.sonar.api.batch.sensor.highlighting.NewHighlighting
-
Call this method only once when your are done with defining highlighting of the file.
- save() - Method in class org.sonar.api.batch.sensor.internal.DefaultStorable
-
- save() - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
-
Save the issue.
- save() - Method in interface org.sonar.api.batch.sensor.measure.NewMeasure
-
Save the measure.
- save() - Method in interface org.sonar.api.batch.sensor.symbol.NewSymbolTable
-
Call this method only once when your are done with defining all symbols of the file.
- save() - Method in interface org.sonar.api.measures.FileLinesContext
-
Saves unsaved values.
- saveDependency(Dependency) - Method in interface org.sonar.api.batch.DecoratorContext
-
- saveDependency(Dependency) - Method in interface org.sonar.api.batch.SensorContext
-
- saveMeasure(Measure) - Method in interface org.sonar.api.batch.DecoratorContext
-
Deprecated.
Add a new measure on the current resource.
- saveMeasure(Metric, Double) - Method in interface org.sonar.api.batch.DecoratorContext
-
Deprecated.
Add a new measure on the current resource.
- saveMeasure(Measure) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
Add a measure on project
- saveMeasure(Metric, Double) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
Add a measure on project
- saveMeasure(Resource, Metric, Double) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
Add or update a measure.
- saveMeasure(Resource, Measure) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
Add or update a measure.
- saveMeasure(InputFile, Metric, Double) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
- saveMeasure(InputFile, Measure) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
- saveResource(Resource) - Method in interface org.sonar.api.batch.SensorContext
-
- scaleValue(double) - Static method in class org.sonar.api.utils.ParsingUtils
-
Scales a double value, taking into account 2 decimals
- scaleValue(double, int) - Static method in class org.sonar.api.utils.ParsingUtils
-
Scales a double value with decimals
- SCAN_TASK - Static variable in interface org.sonar.api.CoreProperties
-
- ScannerContext - Interface in org.sonar.api.ce.posttask
-
- ScannerSide - Annotation Type in org.sonar.api.batch
-
Marker annotation for all the components available in the container of the scanner (code analyzer).
- SchemeProcessor() - Constructor for class org.sonar.api.utils.UriReader.SchemeProcessor
-
- SCM_AUTHORS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SCM_AUTHORS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SCM_DISABLED_KEY - Static variable in interface org.sonar.api.CoreProperties
-
- SCM_LAST_COMMIT_DATETIMES_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SCM_LAST_COMMIT_DATETIMES_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SCM_PROVIDER_KEY - Static variable in interface org.sonar.api.CoreProperties
-
- SCM_REVISIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SCM_REVISIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- ScmProvider - Class in org.sonar.api.batch.scm
-
- ScmProvider() - Constructor for class org.sonar.api.batch.scm.ScmProvider
-
- SCOPE - Static variable in class org.sonar.api.resources.File
-
Deprecated.
- SCOPE_ENTITY - Static variable in class org.sonar.api.resources.Resource
-
- SCOPE_SET - Static variable in class org.sonar.api.resources.Resource
-
- SCOPE_SPACE - Static variable in class org.sonar.api.resources.Resource
-
- Scopes - Class in org.sonar.api.resources
-
Resource scopes are used to group some types of resources.
- scramble(String) - Method in class org.sonar.api.config.Encryption
-
- searchText(String) - Method in class org.sonar.api.user.UserQuery.Builder
-
- searchText() - Method in class org.sonar.api.user.UserQuery
-
Search for logins or names containing a given string
- Section - Enum in org.sonar.api.web
-
- SECURITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic SECURITY
- SECURITY_FEATURES - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic SECURITY
- SECURITY_RATING - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SECURITY_RATING_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SECURITY_REMEDIATION_EFFORT - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SECURITY_REMEDIATION_EFFORT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SecurityRealm - Class in org.sonar.api.security
-
- SecurityRealm() - Constructor for class org.sonar.api.security.SecurityRealm
-
- SELECTED - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- selectLine(int) - Method in interface org.sonar.api.batch.fs.InputFile
-
Returns a
TextRange
in the given file that select the full line.
- selectLine(int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- Semaphore() - Constructor for class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- Semaphores - Interface in org.sonar.api.utils
-
- Semaphores.Semaphore - Class in org.sonar.api.utils
-
Deprecated.
- Sensor - Interface in org.sonar.api.batch
-
- Sensor - Interface in org.sonar.api.batch.sensor
-
A sensor is invoked once for each module of a project, starting from leaf modules.
- SensorContext - Interface in org.sonar.api.batch.sensor
-
- SensorContext - Interface in org.sonar.api.batch
-
- SensorContextTester - Class in org.sonar.api.batch.sensor.internal
-
Utility class to help testing
Sensor
.
- SensorDescriptor - Interface in org.sonar.api.batch.sensor
-
Describe what a
Sensor
is doing.
- SensorExecutionHandler - Interface in org.sonar.api.batch.events
-
- SensorExecutionHandler.SensorExecutionEvent - Interface in org.sonar.api.batch.events
-
Deprecated.
This interface is not intended to be implemented by clients.
- SensorsPhaseHandler - Interface in org.sonar.api.batch.events
-
- SensorsPhaseHandler.SensorsPhaseEvent - Interface in org.sonar.api.batch.events
-
This interface is not intended to be implemented by clients.
- SensorStorage - Interface in org.sonar.api.batch.sensor.internal
-
Interface for storing data computed by sensors.
- SEPARATOR - Static variable in class org.sonar.api.resources.Directory
-
Deprecated.
- Server - Class in org.sonar.api.platform
-
Runtime information about server
- Server() - Constructor for class org.sonar.api.platform.Server
-
- SERVER_BASE_URL - Static variable in interface org.sonar.api.CoreProperties
-
This property defines the SonarQubeServer base url, such as http://yourhost.yourdomain/sonar.
- SERVER_BASE_URL_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- SERVER_ID - Static variable in interface org.sonar.api.CoreProperties
-
- SERVER_ID_IP_ADDRESS - Static variable in interface org.sonar.api.CoreProperties
-
- SERVER_STARTTIME - Static variable in interface org.sonar.api.CoreProperties
-
- ServerComponent - Interface in org.sonar.api
-
- ServerExtension - Interface in org.sonar.api
-
- ServerFileSystem - Interface in org.sonar.api.platform
-
- ServerSide - Annotation Type in org.sonar.api.server
-
- ServerStartHandler - Interface in org.sonar.api.platform
-
- ServerStopHandler - Interface in org.sonar.api.platform
-
- ServerUpgradeStatus - Interface in org.sonar.api.platform
-
- ServletFilter - Class in org.sonar.api.web
-
- ServletFilter() - Constructor for class org.sonar.api.web.ServletFilter
-
- ServletFilter.UrlPattern - Class in org.sonar.api.web
-
- ServletFilter.UrlPattern.Builder - Class in org.sonar.api.web
-
- set(String, String) - Method in class org.sonar.api.config.MapSettings
-
- set(String, String) - Method in class org.sonar.api.config.Settings
-
- setAction(WebService.Action) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- setActivated(boolean) - Method in class org.sonar.api.web.Dashboard
-
Deprecated.
Set whether the dashboard is activated for all anonymous users or users who haven't configured their own dashboards.
- setActivatedByDefault(boolean) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
Should this rule be enabled by default.
- setActiveRule(ActiveRule) - Method in class org.sonar.api.rules.ActiveRuleParam
-
- setActiveRuleParams(List<ActiveRuleParam>) - Method in class org.sonar.api.rules.ActiveRule
-
- setActiveRules(ActiveRules) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- setActiveRules(List<ActiveRule>) - Method in class org.sonar.api.profiles.RulesProfile
-
Set the list of active rules
- setAdmin(boolean) - Method in class org.sonar.api.web.page.Page.Builder
-
if set to true, display the page in the administration section, depending on the scope
- setAlertStatus(Metric.Level) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Set the alert status of the measure
- setAlertText(String) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Sets the text associated to the alert on the measure
- setBackgroundColor(String) - Method in class org.sonar.api.server.authentication.Display.Builder
-
- setBaseDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setBestValue(Double) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets the best value that the metric can get (example: 100.0 for code coverage).
- setBestValue(Double) - Method in class org.sonar.api.measures.Metric
-
- setBooleanPossibleValues() - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setBuildDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setCancelled(boolean) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- setCardinality(Cardinality) - Method in class org.sonar.api.rules.Rule
-
- setCharacteristicId(Integer) - Method in class org.sonar.api.rules.Rule
-
- setCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
-
- setCharset(Charset) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setCharset(Charset) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
-
- setComponentQualifiers(Page.Qualifier...) - Method in class org.sonar.api.web.page.Page.Builder
-
Define the components where the page is displayed.
- setConditions(int, int, int) - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- setConfigKey(String) - Method in class org.sonar.api.rules.Rule
-
Sets the configuration key
- setCoverageBlock(Testable, List<Integer>) - Method in interface org.sonar.api.test.MutableTestCase
-
- setCoverageBlock(InputFile, List<Integer>) - Method in interface org.sonar.api.test.MutableTestCase
-
Deprecated.
- setCreatedAt(long) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setCreatedAt(Date) - Method in class org.sonar.api.rules.Rule
-
- setCreatedAt(Date) - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- setData(String) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Sets the data field of the measure.
- setData(Metric.Level) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Sets an alert level as the data field
- setDate(Date) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Sets the date of the measure - Used only in TimeMachine queries
- setDebt(Duration) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setDebtRemediationFunction(DebtRemediationFunction) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setDebtSubCharacteristic(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setDecimalScale(int) - Method in class org.sonar.api.measures.Metric.Builder
-
- setDecoratorContext(DecoratorContext) - Method in class org.sonar.api.batch.DefaultFormulaContext
-
Deprecated.
- setDefaultCharacteristicId(Integer) - Method in class org.sonar.api.rules.Rule
-
- setDefaultCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
-
- setDefaultMessage(String) - Method in class org.sonar.api.notifications.Notification
-
When creating a new notification, it is strongly advised to give a default message that can be
used by channels that don't want to specifically format messages for different notification types.
- setDefaultPredicate(Predicate<InputFile>) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- setDefaultProfile(Boolean) - Method in class org.sonar.api.profiles.RulesProfile
-
Set whether this is the default profile for the language.
- setDefaultSubCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
-
- setDefaultValue(String) - Method in class org.sonar.api.rules.RuleParam
-
- setDefaultValue(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewParam
-
Empty default value will be converted to null.
- setDefaultValue(Object) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setDeleteHistoricalData(boolean) - Method in class org.sonar.api.measures.Metric.Builder
-
Specifies whether measures from the past can be automatically deleted to minimize database volume.
- setDeprecatedKey(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- setDeprecatedKey(String) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setDeprecatedSince(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- setDeprecatedSince(String) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setDescription(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setDescription(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setDescription(String) - Method in class org.sonar.api.batch.rule.internal.NewRuleParam
-
- setDescription(String) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Sets the measure description
- setDescription(String) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets the metric description.
- setDescription(String) - Method in class org.sonar.api.measures.Metric
-
Sets the metric description
- setDescription(String) - Method in class org.sonar.api.resources.Library
-
Deprecated.
- setDescription(String) - Method in class org.sonar.api.rules.Rule
-
Sets the rule description
- setDescription(String) - Method in class org.sonar.api.rules.RuleParam
-
- setDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewParam
-
Plain-text description.
- setDescription(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
Used in Orchestrator
- setDescription(String, Object...) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- setDescription(String) - Method in class org.sonar.api.server.ws.WebService.NewController
-
Optional description (accept HTML)
- setDescription(String) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setDescription(String, Object...) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setDescription(String) - Method in class org.sonar.api.web.Dashboard
-
Deprecated.
Sets the description of the dashboard.
- setDirection(Integer) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets the metric direction (used for numeric values only), which is used in the Web UI to show if the trend of a metric is good or not.
- setDirection(Integer) - Method in class org.sonar.api.measures.Metric
-
Sets the metric direction.
- setDirectory(File) - Method in class org.sonar.api.utils.command.Command
-
Sets working directory.
- setDomain(String) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets the domain for the metric (General, Complexity...).
- setDomain(String) - Method in class org.sonar.api.measures.Metric
-
Sets the domain for the metric (General, Complexity...)
- setDurationInMs(Long) - Method in interface org.sonar.api.test.MutableTestCase
-
Deprecated.
- setDurationSinceLocked(Long) - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- setEffectiveKey(String) - Method in class org.sonar.api.resources.Resource
-
Deprecated.
Internal use only
- setEffort(Duration) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setEffortToFixDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setEmail(String) - Method in class org.sonar.api.database.model.User
-
- setEmail(String) - Method in class org.sonar.api.platform.NewUserHandler.Context.Builder
-
- setEmail(String) - Method in class org.sonar.api.security.UserDetails
-
- setEmail(String) - Method in class org.sonar.api.server.authentication.UserIdentity.Builder
-
- setEnabled(Boolean) - Method in class org.sonar.api.measures.Metric
-
Sets whether the metric is enabled
- setEncoding(Charset) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- setEnvironmentVariable(String, String) - Method in class org.sonar.api.utils.command.Command
-
- setErrorThreshold(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ConditionBuilder
-
- setExampleValue(Object) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setExcluded(boolean) - Method in class org.sonar.api.resources.Resource
-
- setFallbackForMainMetric(Metric) - Method in class org.sonar.api.measures.AverageFormula
-
Deprecated.
Set a fallback metric if no measures found for the main metric.
- setFieldValue(String, String) - Method in class org.sonar.api.notifications.Notification
-
Adds a field (kind of property) to the notification
- setFileSystem(DefaultFileSystem) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- setFormula(Formula) - Method in class org.sonar.api.measures.Metric.Builder
-
- setFormula(Formula) - Method in class org.sonar.api.measures.Metric
-
- setFrom(Resource) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
For internal use only
- setFrom(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- setFromCore() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
For internal use.
- setGapDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
For rules that use LINEAR or LINEAR_OFFSET remediation functions, the meaning
of the function parameter (= "gap") must be set.
- setGlobal(boolean) - Method in class org.sonar.api.web.Dashboard
-
Deprecated.
A dashboard is global when it doesn't display information from a project but rather more general information.
- setGroups(Set<String>) - Method in class org.sonar.api.server.authentication.UserIdentity.Builder
-
Set group membership of the user.
- setHandler(RequestHandler) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- setHash(String) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
-
- setHeader(String, String) - Method in interface org.sonar.api.server.ws.Response
-
- setHidden(boolean) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets whether the metric should be hidden in Web UI (e.g.
- setHidden(Boolean) - Method in class org.sonar.api.measures.Metric
-
- setHits(int, int) - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- setHtmlDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
The optional description, in HTML format, has no max length.
- setHtmlDescription(URL) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
Load description from a file available in classpath.
- setIconPath(String) - Method in class org.sonar.api.resources.ResourceType.Builder
-
Relative path of the icon used to represent the resource type.
- setIconPath(String) - Method in class org.sonar.api.server.authentication.Display.Builder
-
- setId(Integer) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setId(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.CeTaskBuilder
-
- setId(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.QualityGateBuilder
-
- setId(Integer) - Method in class org.sonar.api.database.BaseIdentifiable
-
- setId(Long) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
Internal use only.
- setId(Integer) - Method in class org.sonar.api.measures.Metric
-
For internal use only
- setId(Integer) - Method in class org.sonar.api.resources.Resource
-
Deprecated.
Internal use only
- setId(Integer) - Method in class org.sonar.api.rules.ActiveRule
-
- setId(Integer) - Method in class org.sonar.api.rules.Rule
-
- setInheritance(String) - Method in class org.sonar.api.rules.ActiveRule
-
For internal use only.
- setInputMetrics(String...) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition.Builder
-
List of metric keys of the measures that will be loaded by this computer.
- setInputMetrics(String...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition.MeasureComputerDefinitionBuilderImpl
-
- setInternal(boolean) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
Internal actions are not displayed by default in the web api documentation.
- setInternal(boolean) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
Internal parameters are not displayed by default in the web api documentation.
- setInternalKey(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setInternalKey(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setInternalKey(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
Optional key that can be used by the rule engine.
- setIntValue(String, int, int) - Method in interface org.sonar.api.measures.FileLinesContext
-
- setIntValue(Integer) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Sets the measure value as an int
- setIssues(List<Issue>) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- setIsTemplate(boolean) - Method in class org.sonar.api.rules.Rule
-
- setKey(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setKey(String) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setKey(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ProjectBuilder
-
- setKey(String) - Method in class org.sonar.api.component.mock.MockSourceFile
-
Deprecated.
- setKey(String) - Method in class org.sonar.api.measures.Metric
-
Sets the metric key
- setKey(String) - Method in class org.sonar.api.profiles.ProfileExporter
-
- setKey(String) - Method in class org.sonar.api.profiles.ProfileImporter
-
- setKey(String) - Method in class org.sonar.api.resources.Resource
-
Deprecated.
Internal use only
- setKey(String) - Method in class org.sonar.api.rules.Rule
-
Sets the rule key
- setKey(String) - Method in class org.sonar.api.rules.RuleParam
-
- setLanguage(String) - Method in class org.sonar.api.batch.fs.internal.DefaultIndexedFile
-
- setLanguage(String) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
-
- setLanguage(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setLanguage(String) - Method in class org.sonar.api.component.mock.MockSourceFile
-
Deprecated.
- setLanguage(String) - Method in class org.sonar.api.profiles.RulesProfile
-
Set the profile language
- setLanguage(Language) - Method in class org.sonar.api.resources.File
-
Deprecated.
Sets the language of the file
- setLanguage(String) - Method in class org.sonar.api.rules.Rule
-
For internal use only.
- setLastValidOffset(int) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
-
- setLayout(DashboardLayout) - Method in class org.sonar.api.web.Dashboard
-
Deprecated.
- setLevel(LoggerLevel) - Method in interface org.sonar.api.utils.log.Logger
-
Attempt to change logger level.
- setLevel(LoggerLevel) - Method in class org.sonar.api.utils.log.Loggers
-
- setLevel(LoggerLevel) - Method in class org.sonar.api.utils.log.LogTester
-
Enable/disable debug logs.
- setLevelToDebug() - Method in class org.sonar.api.utils.TimeProfiler
-
Deprecated.
- setLines(int) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
-
- setLocalConnector(LocalConnector) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- setLocked(boolean) - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- setLockedAt(Date) - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- setLogger(Logger) - Method in class org.sonar.api.utils.TimeProfiler
-
Deprecated.
- setLogin(String) - Method in class org.sonar.api.database.model.User
-
- setLogin(String) - Method in class org.sonar.api.platform.NewUserHandler.Context.Builder
-
- setLogin(String) - Method in class org.sonar.api.server.authentication.UserIdentity.Builder
-
- setLongName(String) - Method in class org.sonar.api.component.mock.MockSourceFile
-
Deprecated.
- setMarkdownDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
The optional description, in a restricted Markdown format, has no max length.
- setMarkdownDescription(URL) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
Load description from a file available in classpath.
- setMediaType(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- setMediaType(String) - Method in interface org.sonar.api.server.ws.Response.Stream
-
- setMessage(String) - Method in interface org.sonar.api.test.MutableTestCase
-
Deprecated.
- setMessage(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- setMessageId(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- setMetadata(Metadata) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setMetadata(Metadata) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
-
- setMetric(Metric) - Method in class org.sonar.api.batch.DefaultFormulaContext
-
Deprecated.
- setMetric(Metric<G>) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Set the underlying metric
- setMetric(Metric) - Method in class org.sonar.api.measures.PropertiesBuilder
-
Deprecated.
- setMetricKey(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ConditionBuilder
-
- setMimeType(String) - Method in class org.sonar.api.profiles.ProfileExporter
-
Set the mime type of the exported file
- setMinimumScopeToPersist(String) - Method in class org.sonar.api.measures.SumChildDistributionFormula
-
Deprecated.
- setModuleBaseDir(Path) - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
For testing purpose.
- setModuleBaseDir(Path) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
-
- setName(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setName(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setName(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setName(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ProjectBuilder
-
- setName(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.QualityGateBuilder
-
- setName(String) - Method in class org.sonar.api.component.mock.MockSourceFile
-
Deprecated.
- setName(String) - Method in class org.sonar.api.database.model.User
-
- setName(String) - Method in class org.sonar.api.measures.Metric
-
Sets the metric name
- setName(String) - Method in class org.sonar.api.platform.NewUserHandler.Context.Builder
-
- setName(String) - Method in class org.sonar.api.profiles.ProfileExporter
-
- setName(String) - Method in class org.sonar.api.profiles.ProfileImporter
-
- setName(String) - Method in class org.sonar.api.profiles.RulesProfile
-
Set the profile name.
- setName(String) - Method in class org.sonar.api.resources.AbstractLanguage
-
Sets the language name
- setName(String) - Method in class org.sonar.api.resources.Library
-
Deprecated.
- setName(String) - Method in class org.sonar.api.rules.Rule
-
Sets the rule name
- setName(String) - Method in class org.sonar.api.rules.RuleRepository
-
Deprecated.
- setName(String) - Method in class org.sonar.api.security.UserDetails
-
- setName(String) - Method in class org.sonar.api.server.authentication.UserIdentity.Builder
-
- setName(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewParam
-
- setName(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.NewRepository
-
- setName(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
-
- setName(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
Required rule name
- setName(String) - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- setName(String) - Method in class org.sonar.api.web.page.Page.Builder
-
Page name displayed in the UI.
- setNewShell(boolean) - Method in class org.sonar.api.utils.command.Command
-
Set to true
if a new shell should be used to execute the command.
- setNonBlankLines(int) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
-
- setNow(long) - Method in class org.sonar.api.utils.internal.TestSystem2
-
- setOnLeakPeriod(boolean) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ConditionBuilder
-
- setOperator(QualityGate.Operator) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ConditionBuilder
-
- setOptimizedBestValue(boolean) - Method in class org.sonar.api.measures.Metric.Builder
-
Specifies whether file-level measures that equal to the defined best value are stored or not.
- setOptimizedBestValue(Boolean) - Method in class org.sonar.api.measures.Metric
-
- setOriginalLineOffsets(int[]) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
-
- setOutputMetrics(String...) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition.Builder
-
List of metric keys of the measures that can be added by this computer.
- setOutputMetrics(String...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition.MeasureComputerDefinitionBuilderImpl
-
- setParam(String, String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setParam(String, String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- setParameter(String, String) - Method in class org.sonar.api.rules.ActiveRule
-
- setParamKey(String) - Method in class org.sonar.api.rules.ActiveRuleParam
-
- setParams(List<RuleParam>) - Method in class org.sonar.api.rules.Rule
-
Sets the rule parameters
- setParent(Dependency) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- setParent(Rule) - Method in class org.sonar.api.rules.Rule
-
- setParentName(String) - Method in class org.sonar.api.profiles.RulesProfile
-
For internal use only.
- setPart(String, InputStream, String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- setPath(String) - Method in class org.sonar.api.component.mock.MockSourceFile
-
Deprecated.
- setPath(String) - Method in class org.sonar.api.resources.Resource
-
Deprecated.
- setPath(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- setPathToSecretKey(String) - Method in class org.sonar.api.config.Encryption
-
- setPersistenceMode(PersistenceMode) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Sets the persistence mode of a measure.
- setPersonId(Integer) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
- setPossibleValues(Object...) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
Exhaustive list of possible values when it makes sense, for example
list of severities.
- setPossibleValues(Collection<?>) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
Exhaustive list of possible values when it makes sense, for example
list of severities.
- setPost(boolean) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- setPreviewOrIssue(boolean) - Method in class org.sonar.api.batch.sensor.internal.MockAnalysisMode
-
- setPriority(RulePriority) - Method in class org.sonar.api.rules.ActiveRule
-
- setProperties(Properties) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setProperties(Map<String, String>) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setProperty(String, String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setProperty(String, String[]) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, String) - Method in class org.sonar.api.config.Settings
-
Change a property value in a restricted scope only, depending on execution context.
- setProperty(String, Boolean) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Integer) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Long) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Double) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Float) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Date) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Date, boolean) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, String) - Method in class org.sonar.api.resources.ResourceType.Builder
-
Sets a property on the resource type.
- setProperty(String, boolean) - Method in class org.sonar.api.resources.ResourceType.Builder
-
- setProperty(String, String) - Method in class org.sonar.api.web.Dashboard.Widget
-
Deprecated.
- setProviderLogin(String) - Method in class org.sonar.api.server.authentication.UserIdentity.Builder
-
- setPublish(boolean) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setPublish(boolean) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
-
- setQualifier(String) - Method in class org.sonar.api.component.mock.MockSourceFile
-
Deprecated.
- setQualifier(String) - Method in class org.sonar.api.resources.File
-
Deprecated.
- setQualitative(Boolean) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets whether the metric is qualitative or not.
- setQualitative(Boolean) - Method in class org.sonar.api.measures.Metric
-
Sets whether the metric is qualitative
- setRawValue(Double) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
For internal use
- setRepositoryKey(String) - Method in class org.sonar.api.rules.Rule
-
- setRequired(boolean) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
Is the parameter required or optional ? Default value is false (optional).
- setResolution(String) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setResponseExample(URL) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
Link to the document containing an example of response.
- setRule(Rule) - Method in class org.sonar.api.measures.RuleMeasure
-
- setRule(Rule) - Method in class org.sonar.api.rules.ActiveRule
-
- setRuleKey(RuleKey) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setRuleKey(RuleKey) - Method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- setRuleParam(RuleParam) - Method in class org.sonar.api.rules.ActiveRuleParam
-
- setRulePriority(RulePriority) - Method in class org.sonar.api.measures.RuleMeasure
-
- setRulesProfile(RulesProfile) - Method in class org.sonar.api.rules.ActiveRule
-
- setRuntime(SonarRuntime) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- setScope(Page.Scope) - Method in class org.sonar.api.web.page.Page.Builder
-
Define where the page is displayed, either in the global menu or in a component page
- setSerializeEmptys(boolean) - Method in class org.sonar.api.utils.text.JsonWriter
-
Enable/disable serialization of properties which value is an empty String.
- setSerializeNulls(boolean) - Method in class org.sonar.api.utils.text.JsonWriter
-
- setSettings(Settings) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- setSeverity(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setSeverity(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setSeverity(String) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setSeverity(RulePriority) - Method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- setSeverity(RulePriority) - Method in class org.sonar.api.rules.ActiveRule
-
- setSeverity(RulePriority) - Method in class org.sonar.api.rules.Rule
-
- setSeverity(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setSince(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- setSince(String) - Method in class org.sonar.api.server.ws.WebService.NewController
-
Optional version when the controller was created
- setSince(String) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setSources(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setSources(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setStackTrace(String) - Method in interface org.sonar.api.test.MutableTestCase
-
Deprecated.
- setStatus(InputFile.Status) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setStatus(InputFile.Status) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
-
- setStatus(RuleStatus) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setStatus(String) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setStatus(CeTask.Status) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.CeTaskBuilder
-
- setStatus(QualityGate.Status) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.QualityGateBuilder
-
- setStatus(String) - Method in class org.sonar.api.rules.Rule
-
- setStatus(RuleStatus) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setStatus(int) - Method in interface org.sonar.api.server.ws.Response.Stream
-
HTTP status code.
- setStatus(TestCase.Status) - Method in interface org.sonar.api.test.MutableTestCase
-
Deprecated.
- setStringValue(String, int, String) - Method in interface org.sonar.api.measures.FileLinesContext
-
- setSubCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
-
- setSubject(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- setSupportedLanguages(String...) - Method in class org.sonar.api.profiles.ProfileExporter
-
Set the list of languages supported
An empty value means that it will be available for every languages.
- setSupportedLanguages(String...) - Method in class org.sonar.api.profiles.ProfileImporter
-
Set the list of languages supported
An empty value means that it will be available for every languages.
- setSymbolTable(Symbolizable.SymbolTable) - Method in interface org.sonar.api.source.Symbolizable
-
Deprecated.
- setTags(String[]) - Method in class org.sonar.api.rules.Rule
-
For definition of rule only
- setTags(String...) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setTemplate(Rule) - Method in class org.sonar.api.rules.Rule
-
- setTemplate(boolean) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setTemplateRuleKey(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setTendency(Integer) - Method in class org.sonar.api.measures.Measure
-
- setTests(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setTests(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- settings() - Method in interface org.sonar.api.batch.postjob.PostJobContext
-
Get settings of the current project.
- settings() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- settings() - Method in interface org.sonar.api.batch.sensor.SensorContext
-
Get settings of the current module.
- Settings - Interface in org.sonar.api.ce.measure
-
- Settings - Class in org.sonar.api.config
-
Component to get effective settings.
- Settings(PropertyDefinitions, Encryption) - Constructor for class org.sonar.api.config.Settings
-
- setTo(Resource) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
For internal use only
- setTo(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- setType(InputFile.Type) - Method in class org.sonar.api.batch.fs.internal.TestInputFileBuilder
-
- setType(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setType(RuleType) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setType(Metric.ValueType) - Method in class org.sonar.api.measures.Metric
-
Sets the metric type
- setType(String) - Method in class org.sonar.api.rules.RuleParam
-
- setType(RuleParamType) - Method in class org.sonar.api.server.rule.RulesDefinition.NewParam
-
- setType(RuleType) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
The type as defined by the SonarQube Quality Model.
- setType(String) - Method in interface org.sonar.api.test.MutableTestCase
-
- setUniqueKey(String, String) - Method in class org.sonar.api.rules.Rule
-
- setUpdatedAt(Date) - Method in class org.sonar.api.rules.Rule
-
- setUpdatedAt(Date) - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- setUrl(String) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Sets the URL of the measure
- setUsage(String) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- setUsed(Boolean) - Method in class org.sonar.api.profiles.RulesProfile
-
- setUserId(String) - Method in class org.sonar.api.security.UserDetails
-
- setUserManaged(boolean) - Method in class org.sonar.api.measures.Metric.Builder
-
Specifies whether this metric can be edited online in the "Manual measures" page.
- setUserManaged(Boolean) - Method in class org.sonar.api.measures.Metric
-
Sets whether the metric is managed by users ("manual metric")
- setUuid(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ProjectBuilder
-
- setUuid(String) - Method in class org.sonar.api.resources.Resource
-
Deprecated.
Internal use only
- setValue(String, String) - Method in class org.sonar.api.ce.measure.test.TestSettings
-
- setValue(Double) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Sets the measure value with the default precision of 1
- setValue(Double, int) - Method in class org.sonar.api.measures.Measure
-
- setValue(Double) - Method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- setValue(String) - Method in class org.sonar.api.rules.ActiveRuleParam
-
- setVariation(int, Double) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Internal use only
- setVariation1(Double) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Internal use only
- setVariation2(Double) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Internal use only
- setVariation3(Double) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Internal use only
- setVariation4(Double) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Internal use only
- setVariation5(Double) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
Internal use only
- setVersion(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setVersion(int) - Method in class org.sonar.api.profiles.RulesProfile
-
- setWarningThreshold(String) - Method in class org.sonar.api.ce.posttask.PostProjectAnalysisTaskTester.ConditionBuilder
-
- setWeight(int) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- setWorkDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setWorkDir(File) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- setWorstValue(Double) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets the worst value that the metric can get (example: 0.0 for code coverage).
- setWorstValue(Double) - Method in class org.sonar.api.measures.Metric
-
- severity() - Method in interface org.sonar.api.batch.postjob.issue.PostJobIssue
-
Severity.
- severity() - Method in interface org.sonar.api.batch.rule.ActiveRule
-
Non-null severity.
- severity() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
-
- severity() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- severity() - Method in interface org.sonar.api.batch.rule.Rule
-
- Severity - Enum in org.sonar.api.batch.rule
-
- severity() - Method in interface org.sonar.api.ce.measure.Issue
-
- severity() - Method in class org.sonar.api.ce.measure.test.TestIssue
-
- severity(String) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
Overrides the severity declared in Quality profile.
- severity() - Method in interface org.sonar.api.issue.Issue
-
- Severity - Class in org.sonar.api.rule
-
- severity() - Method in interface org.sonar.api.scan.issue.filter.FilterableIssue
-
- severity() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- shouldDecorateResource(Resource) - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
-
Deprecated.
- shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
-
Deprecated.
- shouldExecuteOnProject(Project) - Method in interface org.sonar.api.batch.CheckProject
-
Deprecated.
- shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.Initializer
-
- shouldSaveZeroIfNoChildMeasures() - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
-
Deprecated.
- shouldSyncGroups() - Method in class org.sonar.api.server.authentication.UserIdentity
-
Return true if groups should be synchronized for this user.
- SimpleGetRequest - Class in org.sonar.api.server.ws.internal
-
Fake implementation of
Request
used
for testing.
- SimpleGetRequest() - Constructor for class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- since() - Method in class org.sonar.api.server.ws.WebService.Action
-
Set if different than controller.
- since() - Method in class org.sonar.api.server.ws.WebService.Controller
-
- since() - Method in class org.sonar.api.server.ws.WebService.Param
-
- singleListOfValues(String...) - Static method in class org.sonar.api.server.rule.RuleParamType
-
- SIZE_METRIC - Static variable in interface org.sonar.api.CoreProperties
-
- SKIPPED_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SKIPPED_TESTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SMTP_HOST - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_HOST_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_PASSWORD - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_PASSWORD_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_PORT - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_PORT_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_SECURE_CONNECTION - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_SECURE_CONNECTION_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_USERNAME - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_USERNAME_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- SOFTWARE_RELATED_PORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic PORTABILITY
- SONAR_HOME - Static variable in interface org.sonar.api.CoreProperties
-
- SONAR_WAY_FINDBUGS_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
-
- SONAR_WAY_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
-
- SonarException - Exception in org.sonar.api.utils
-
- SonarException() - Constructor for exception org.sonar.api.utils.SonarException
-
Deprecated.
- SonarException(String) - Constructor for exception org.sonar.api.utils.SonarException
-
Deprecated.
- SonarException(String, Throwable) - Constructor for exception org.sonar.api.utils.SonarException
-
Deprecated.
- SonarException(Throwable) - Constructor for exception org.sonar.api.utils.SonarException
-
Deprecated.
- SonarLintSide - Annotation Type in org.sonarsource.api.sonarlint
-
Marker annotation for all the components available in container of sonarlint.
- SonarPlugin - Class in org.sonar.api
-
- SonarPlugin() - Constructor for class org.sonar.api.SonarPlugin
-
Deprecated.
- SonarProduct - Enum in org.sonar.api
-
List of different products/runtimes.
- SonarQubeSide - Enum in org.sonar.api
-
Runtime stack in SonarQube product.
- SonarQubeVersion - Class in org.sonar.api
-
Version of SonarQube at runtime, but not at compilation time.
- SonarQubeVersion(Version) - Constructor for class org.sonar.api.SonarQubeVersion
-
- SonarRuntime - Interface in org.sonar.api
-
Information about runtime environment.
- SonarRuntimeImpl - Class in org.sonar.api.internal
-
- SORT - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- sort() - Method in class org.sonar.api.utils.dag.DirectAcyclicGraph
-
- SORTED_SCOPES - Static variable in class org.sonar.api.resources.Scopes
-
- sourceExclusions() - Method in class org.sonar.api.scan.filesystem.FileExclusions
-
- SourceFile - Interface in org.sonar.api.component
-
- sourceInclusions() - Method in class org.sonar.api.scan.filesystem.FileExclusions
-
- sources() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- SOURCES_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- SQALE_DEBT_RATIO - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SQALE_DEBT_RATIO_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SQALE_RATING - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SQALE_RATING_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- stackTrace() - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
- start() - Method in class org.sonar.api.batch.fs.internal.DefaultTextRange
-
- start() - Method in interface org.sonar.api.batch.fs.TextRange
-
Start position of the range
- start() - Method in interface org.sonar.api.Startable
-
Start this component.
- start() - Method in class org.sonar.api.utils.internal.TempFolderCleaner
-
This method should not be renamed.
- start() - Method in class org.sonar.api.utils.log.Profiler
-
- start(String) - Method in class org.sonar.api.utils.TimeProfiler
-
Deprecated.
- START_VIOLATION_PERSISTENCE - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
- START_VIOLATION_TRACKING - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
- START_VIOLATIONS_GENERATION - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
- Startable - Interface in org.sonar.api
-
- startDebug(String) - Method in class org.sonar.api.utils.log.Profiler
-
- startInfo(String) - Method in class org.sonar.api.utils.log.Profiler
-
- startTrace(String) - Method in class org.sonar.api.utils.log.Profiler
-
- STATEMENTS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- STATEMENTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- staticResourcePatterns() - Static method in class org.sonar.api.web.ServletFilter.UrlPattern.Builder
-
- status() - Method in interface org.sonar.api.batch.fs.InputFile
-
Status regarding previous analysis
- status() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- status() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- status() - Method in interface org.sonar.api.batch.rule.Rule
-
- status() - Method in interface org.sonar.api.ce.measure.Issue
-
- status() - Method in class org.sonar.api.ce.measure.test.TestIssue
-
- status() - Method in interface org.sonar.api.issue.Issue
-
See constant values in
Issue
.
- status() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- status() - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
- STATUS_BETA - Static variable in class org.sonar.api.rules.Rule
-
- STATUS_CLOSED - Static variable in interface org.sonar.api.issue.Issue
-
- STATUS_CONFIRMED - Static variable in interface org.sonar.api.issue.Issue
-
- STATUS_DEPRECATED - Static variable in class org.sonar.api.rules.Rule
-
- STATUS_OPEN - Static variable in interface org.sonar.api.issue.Issue
-
Default status when creating an issue.
- STATUS_READY - Static variable in class org.sonar.api.rules.Rule
-
- STATUS_REMOVED - Static variable in class org.sonar.api.rules.Rule
-
For internal use only.
- STATUS_REOPENED - Static variable in interface org.sonar.api.issue.Issue
-
- STATUS_RESOLVED - Static variable in interface org.sonar.api.issue.Issue
-
- STATUSES - Static variable in interface org.sonar.api.issue.Issue
-
Return all available statuses
- StaxParser - Class in org.sonar.api.utils
-
- StaxParser(StaxParser.XmlStreamHandler) - Constructor for class org.sonar.api.utils.StaxParser
-
Deprecated.
Stax parser for a given stream handler and iso control chars set awarness to off
- StaxParser(StaxParser.XmlStreamHandler, boolean) - Constructor for class org.sonar.api.utils.StaxParser
-
Deprecated.
Stax parser for a given stream handler and iso control chars set awarness to on.
- StaxParser.XmlStreamHandler - Interface in org.sonar.api.utils
-
Deprecated.
Simple interface for handling XML stream to parse
- stop() - Method in interface org.sonar.api.Startable
-
Stop this component.
- stop() - Method in class org.sonar.api.utils.internal.DefaultTempFolder
-
- stop() - Method in class org.sonar.api.utils.internal.TempFolderCleaner
-
This method should not be renamed.
- stop() - Method in class org.sonar.api.utils.TimeProfiler
-
Deprecated.
- stopDebug() - Method in class org.sonar.api.utils.log.Profiler
-
- stopDebug(String) - Method in class org.sonar.api.utils.log.Profiler
-
- stopInfo() - Method in class org.sonar.api.utils.log.Profiler
-
- stopInfo(boolean) - Method in class org.sonar.api.utils.log.Profiler
-
- stopInfo(String) - Method in class org.sonar.api.utils.log.Profiler
-
- stopTrace() - Method in class org.sonar.api.utils.log.Profiler
-
Works only if a message have been set in startXXX() methods.
- stopTrace(String) - Method in class org.sonar.api.utils.log.Profiler
-
- storage - Variable in class org.sonar.api.batch.sensor.internal.DefaultStorable
-
- store(Measure) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
- store(Issue) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
- store(DefaultHighlighting) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
- store(DefaultCoverage) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
- store(DefaultCpdTokens) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
- store(DefaultSymbolTable) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
- store(AnalysisError) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
- storeProperty(String, String) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
Value is overridden if the key was already stored.
- stream() - Method in interface org.sonar.api.server.ws.Response
-
- stream(SMHierarchicCursor) - Method in interface org.sonar.api.utils.StaxParser.XmlStreamHandler
-
Deprecated.
- StreamConsumer - Interface in org.sonar.api.utils.command
-
- STRING - Static variable in class org.sonar.api.server.rule.RuleParamType
-
- StringStreamConsumer - Class in org.sonar.api.utils.command
-
- StringStreamConsumer() - Constructor for class org.sonar.api.utils.command.StringStreamConsumer
-
- subCategory(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- subCategory() - Method in class org.sonar.api.config.PropertyDefinition
-
Sub-category where property appears in settings pages.
- SubCategory - Class in org.sonar.api.config
-
- SUBCATEGORY_COVERAGE_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_DATABASE_CLEANER - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_DIFFERENTIAL_VIEWS - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_DUPLICATIONS - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_DUPLICATIONS_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_EMAIL - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_FILES_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_ISSUES - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_L10N - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_LOOKNFEEL - Static variable in interface org.sonar.api.CoreProperties
-
- subCharacteristics(String) - Method in interface org.sonar.api.batch.debt.DebtModel
-
Deprecated.
Return sub-characteristics of a characteristic
- subCharacteristics(String) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- subtract(Duration) - Method in class org.sonar.api.utils.Duration
-
Subtract the given duration to the current one.
- subtract(WorkDuration) - Method in class org.sonar.api.utils.internal.WorkDuration
-
- SUBVIEW - Static variable in class org.sonar.api.resources.Qualifiers
-
Sub-views, defined in root views.
- sum(boolean, Collection<Measure>) - Static method in class org.sonar.api.measures.MeasureUtils
-
Deprecated.
Sums a series of measures
- sum(boolean, Measure...) - Static method in class org.sonar.api.measures.MeasureUtils
-
Deprecated.
Sums a series of measures
- SumChildDistributionFormula - Class in org.sonar.api.measures
-
- SumChildDistributionFormula() - Constructor for class org.sonar.api.measures.SumChildDistributionFormula
-
Deprecated.
- SumChildValuesFormula - Class in org.sonar.api.measures
-
- SumChildValuesFormula(boolean) - Constructor for class org.sonar.api.measures.SumChildValuesFormula
-
Deprecated.
- sumOnVariation(boolean, int, Collection<Measure>) - Static method in class org.sonar.api.measures.MeasureUtils
-
Deprecated.
Sums a series of measures for the given variation index
- sumOrNull(Integer, Integer) - Static method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- SUN_CONVENTIONS_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
-
- supports(File) - Method in class org.sonar.api.batch.scm.ScmProvider
-
Whether this provider is able to manage files located in this directory.
- Symbol - Interface in org.sonar.api.source
-
- Symbolizable - Interface in org.sonar.api.source
-
- Symbolizable.SymbolTable - Interface in org.sonar.api.source
-
Deprecated.
- Symbolizable.SymbolTableBuilder - Interface in org.sonar.api.source
-
Deprecated.
- symbols() - Method in interface org.sonar.api.source.Symbolizable.SymbolTable
-
Deprecated.
- SYNCHRONIZATION_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Deprecated.
Related to characteristic RELIABILITY
- SyntaxHighlightingRule - Class in org.sonar.api.batch.sensor.highlighting.internal
-
- System2 - Class in org.sonar.api.utils
-
- System2() - Constructor for class org.sonar.api.utils.System2
-
- V5_5 - Static variable in class org.sonar.api.SonarQubeVersion
-
- V5_6 - Static variable in class org.sonar.api.SonarQubeVersion
-
- validate(TextRange) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- validate(PropertyType, String, List<String>) - Static method in class org.sonar.api.config.PropertyDefinition
-
- validate(String) - Method in class org.sonar.api.config.PropertyDefinition
-
- validate(String) - Method in class org.sonar.api.config.PropertyFieldDefinition
-
- validate(String) - Static method in class org.sonar.api.server.rule.RuleTagFormat
-
- validateGroupName(String) - Static method in class org.sonar.api.user.UserGroupValidation
-
- ValidatingRequest - Class in org.sonar.api.server.ws.internal
-
- ValidatingRequest() - Constructor for class org.sonar.api.server.ws.internal.ValidatingRequest
-
- ValidationMessages - Class in org.sonar.api.utils
-
- validKey(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- value() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- value() - Method in interface org.sonar.api.batch.sensor.measure.Measure
-
Value of the measure.
- value - Variable in class org.sonar.api.measures.Measure
-
Deprecated.
- value() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
For internal use.
- value() - Method in enum org.sonar.api.server.ws.WebService.SelectionMode
-
- value(boolean) - Method in class org.sonar.api.utils.text.JsonWriter
-
Encodes value
.
- value(double) - Method in class org.sonar.api.utils.text.JsonWriter
-
- value(String) - Method in class org.sonar.api.utils.text.JsonWriter
-
- value(long) - Method in class org.sonar.api.utils.text.JsonWriter
-
- value(Number) - Method in class org.sonar.api.utils.text.JsonWriter
-
- valueDate(Date) - Method in class org.sonar.api.utils.text.JsonWriter
-
- valueDateTime(Date) - Method in class org.sonar.api.utils.text.JsonWriter
-
- valueObject(Object) - Method in class org.sonar.api.utils.text.JsonWriter
-
- valueOf(String) - Static method in enum org.sonar.api.batch.debt.DebtRemediationFunction.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.batch.fs.InputFile.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.batch.fs.InputFile.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.batch.Phase.Name
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.batch.rule.Severity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.batch.sensor.coverage.CoverageType
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.batch.sensor.highlighting.TypeOfText
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.ce.measure.Component.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.ce.posttask.CeTask.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.ce.posttask.QualityGate.EvaluationStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.ce.posttask.QualityGate.Operator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.ce.posttask.QualityGate.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.measures.Metric.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.measures.Metric.ValueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.measures.PersistenceMode
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.PropertyType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.rule.RuleStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.rules.RulePriority
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.rules.RuleType
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in enum org.sonar.api.rules.RuleType
-
Returns the enum constant of the specified DB column value.
- valueOf(String) - Static method in enum org.sonar.api.server.debt.DebtRemediationFunction.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.server.ws.WebService.SelectionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.SonarProduct
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.SonarQubeSide
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.test.TestCase.Status
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.utils.Durations.DurationFormat
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.utils.internal.WorkDuration.UNIT
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.utils.log.LoggerLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.web.DashboardLayout
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.web.page.Page.Qualifier
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.web.page.Page.Scope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.web.Section
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.web.WidgetLayoutType
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.web.WidgetPropertyType
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOfInt(int) - Static method in enum org.sonar.api.rules.RulePriority
-
Deprecated.
- valueOfString(String) - Static method in enum org.sonar.api.rules.RulePriority
-
- values() - Static method in enum org.sonar.api.batch.debt.DebtRemediationFunction.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.batch.fs.InputFile.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.batch.fs.InputFile.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.batch.Phase.Name
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.batch.rule.Severity
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.batch.sensor.coverage.CoverageType
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.batch.sensor.highlighting.TypeOfText
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.ce.measure.Component.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.ce.posttask.CeTask.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.ce.posttask.QualityGate.EvaluationStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.ce.posttask.QualityGate.Operator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.ce.posttask.QualityGate.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.measures.Metric.Level
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.measures.Metric.ValueType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.measures.PersistenceMode
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.PropertyType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.rule.RuleStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.rules.RulePriority
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.rules.RuleType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.server.debt.DebtRemediationFunction.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class org.sonar.api.server.rule.RuleParamType
-
- values() - Static method in enum org.sonar.api.server.ws.WebService.SelectionMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.SonarProduct
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.SonarQubeSide
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.test.TestCase.Status
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.utils.Durations.DurationFormat
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.utils.internal.WorkDuration.UNIT
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.utils.log.LoggerLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values(String...) - Method in class org.sonar.api.utils.text.CsvWriter
-
- values(Iterable<String>) - Method in class org.sonar.api.utils.text.JsonWriter
-
Write a list of values in an array, for example:
- values() - Static method in enum org.sonar.api.web.DashboardLayout
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.web.page.Page.Qualifier
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.web.page.Page.Scope
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.web.Section
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.web.WidgetLayoutType
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.web.WidgetPropertyType
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- valueType() - Method in interface org.sonar.api.batch.measure.Metric
-
- valueType() - Method in class org.sonar.api.measures.Metric
-
- variation1 - Variable in class org.sonar.api.measures.Measure
-
Deprecated.
- variation2 - Variable in class org.sonar.api.measures.Measure
-
Deprecated.
- variation3 - Variable in class org.sonar.api.measures.Measure
-
Deprecated.
- variation4 - Variable in class org.sonar.api.measures.Measure
-
Deprecated.
- variation5 - Variable in class org.sonar.api.measures.Measure
-
Deprecated.
- verifyCsrfState() - Method in interface org.sonar.api.server.authentication.OAuth2IdentityProvider.CallbackContext
-
Check that the state is valid.
- Version - Class in org.sonar.api.utils
-
Version composed of maximum four fields (major, minor, patch and build ID numbers) and optionally a qualifier.
- VIEW - Static variable in class org.sonar.api.resources.Qualifiers
-
Root views.
- View - Interface in org.sonar.api.web
-
- VIEWER - Static variable in annotation type org.sonar.api.web.UserRole
-
- VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- VULNERABILITIES - Static variable in class org.sonar.api.measures.CoreMetrics
-
SonarQube Quality Model
- VULNERABILITIES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
SonarQube Quality Model