- absolutePath() - Method in interface org.sonar.api.batch.fs.InputDir
-
Normalized absolute path.
- absolutePath() - Method in interface org.sonar.api.batch.fs.InputFile
-
Normalized absolute path.
- absolutePath() - Method in interface org.sonar.api.batch.fs.InputPath
-
- absolutePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- absolutePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- AbstractChart - Class in org.sonar.api.charts
-
Deprecated.
in 4.5.1, replaced by Javascript charts
- AbstractChart() - Constructor for class org.sonar.api.charts.AbstractChart
-
Deprecated.
- AbstractCpdMapping - Class in org.sonar.api.batch
-
A pre-implementation of the CpdMapping extension point
- AbstractCpdMapping() - Constructor for class org.sonar.api.batch.AbstractCpdMapping
-
- AbstractDashboardWidget - Class in org.sonar.api.web
-
Deprecated.
override org.sonar.api.web.AbstractRubyTemplate and implement org.sonar.api.web.RubyRailsWidget
- AbstractDashboardWidget() - Constructor for class org.sonar.api.web.AbstractDashboardWidget
-
Deprecated.
- AbstractFilePredicate - Class in org.sonar.api.batch.fs.internal
-
- AbstractFilePredicate() - Constructor for class org.sonar.api.batch.fs.internal.AbstractFilePredicate
-
- AbstractLanguage - Class in org.sonar.api.resources
-
Inherit this class to define a new language like PLSQL, PHP or C#
- AbstractLanguage(String) - Constructor for class org.sonar.api.resources.AbstractLanguage
-
Better to use AbstractLanguage(key, name).
- AbstractLanguage(String, String) - Constructor for class org.sonar.api.resources.AbstractLanguage
-
Should be the constructor used to build an AbstractLanguage.
- AbstractRubyTemplate - Class in org.sonar.api.web
-
It's useful in development environment to see browser rendering in real time while editing the template.
- AbstractRubyTemplate() - Constructor for class org.sonar.api.web.AbstractRubyTemplate
-
- AbstractSourceImporter - Class in org.sonar.api.batch
-
Deprecated.
since 4.2 Component indexing and source import are done by core and this extension is not used.
- AbstractSourceImporter(Language) - Constructor for class org.sonar.api.batch.AbstractSourceImporter
-
Deprecated.
- AbstractSumChildrenDecorator - Class in org.sonar.api.batch
-
Deprecated.
since 5.2 there's no more decorator on batch side
- AbstractSumChildrenDecorator() - Constructor for class org.sonar.api.batch.AbstractSumChildrenDecorator
-
Deprecated.
- accept(InputFile) - Method in interface org.sonar.api.batch.fs.InputFileFilter
-
- accept(Issue, IssueFilterChain) - Method in class org.sonar.api.checks.NoSonarFilter
-
Deprecated.
- accept(Issue, IssueFilterChain) - Method in interface org.sonar.api.issue.batch.IssueFilter
-
The
accept
method is called for each
Issue
created during analysis, to check if it has to be persisted.
- accept(Issue) - Method in interface org.sonar.api.issue.batch.IssueFilterChain
-
Called by a filter to let downstream filters decide the fate of the issue
- accept(Issue) - Method in interface org.sonar.api.issue.IssueFilter
-
Deprecated.
- accept(Issue, IssueFilterChain) - Method in class org.sonar.api.issue.NoSonarFilter
-
- accept(File, FileSystemFilter.Context) - Method in interface org.sonar.api.scan.filesystem.FileSystemFilter
-
Deprecated.
- accept(ZipEntry) - Method in interface org.sonar.api.utils.ZipUtils.ZipEntryFilter
-
- ACCESSORS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- 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 - Class in org.sonar.api.issue.action
-
- action() - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- action(String) - Method in class org.sonar.api.server.ws.WebService.Controller
-
- ActionPlan - Interface in org.sonar.api.issue
-
- actionPlanKey() - Method in interface org.sonar.api.issue.Issue
-
- Actions - Class in org.sonar.api.issue.action
-
- Actions() - Constructor for class org.sonar.api.issue.action.Actions
-
- actions() - Method in class org.sonar.api.server.ws.WebService.Controller
-
- activate() - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- activateRule(Rule, RulePriority) - Method in class org.sonar.api.profiles.RulesProfile
-
- active() - Method in interface org.sonar.api.user.User
-
- ActiveRule - Interface in org.sonar.api.batch.rule
-
Configuration of a rule activated on a Quality profile
- ActiveRule - Class in org.sonar.api.rules
-
- ActiveRule() - Constructor for class org.sonar.api.rules.ActiveRule
-
Deprecated.
visibility should be reduced to protected or package
- ActiveRule(RulesProfile, Rule, RulePriority) - Constructor for class org.sonar.api.rules.ActiveRule
-
Deprecated.
visibility should be reduced to protected or package
- ActiveRuleParam - Class in org.sonar.api.rules
-
- ActiveRuleParam() - Constructor for class org.sonar.api.rules.ActiveRuleParam
-
Deprecated.
visibility should be decreased to protected or package
- ActiveRuleParam(ActiveRule, RuleParam, String) - Constructor for class org.sonar.api.rules.ActiveRuleParam
-
Deprecated.
visibility should be decreased to protected or package
- ActiveRules - Interface in org.sonar.api.batch.rule
-
The rules that are activated on the current module.
- activeRules() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- activeRules() - Method in interface org.sonar.api.batch.sensor.SensorContext
-
Get list of active rules.
- ActiveRulesBuilder - Class in org.sonar.api.batch.rule.internal
-
- ActiveRulesBuilder() - Constructor for class org.sonar.api.batch.rule.internal.ActiveRulesBuilder
-
- add(DefaultInputFile) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
Adds InputFile to the list and registers its language, if present.
- add(DefaultInputDir) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
Adds InputDir to the list.
- add(InputDir) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
-
- add(RuleKey) - Method in class org.sonar.api.batch.rule.internal.RulesBuilder
-
- add(Number) - Method in class org.sonar.api.ce.measure.RangeDistributionBuilder
-
Increments an entry by 1
- add(Number, int) - Method in class org.sonar.api.ce.measure.RangeDistributionBuilder
-
Increments an entry
- add(String) - Method in class org.sonar.api.ce.measure.RangeDistributionBuilder
-
Adds an existing Distribution to the current one.
- add(String) - Method in class org.sonar.api.issue.action.Actions
-
- add(Object, int) - Method in class org.sonar.api.measures.CountDistributionBuilder
-
Increments an entry
- add(Object) - Method in class org.sonar.api.measures.CountDistributionBuilder
-
Increments an entry by one
- add(Measure) - Method in class org.sonar.api.measures.CountDistributionBuilder
-
Adds an existing Distribution to the current one.
- add(K, V) - Method in class org.sonar.api.measures.PropertiesBuilder
-
- add(Number) - Method in class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
Increments an entry by 1
- add(Number, int) - Method in class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
Increments an entry
- add(Measure<String>) - Method in class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
Adds an existing Distribution to the current one.
- add(Language) - Method in class org.sonar.api.resources.Languages
-
Adds a language to the current object
- add(Object, Object...) - Method in class org.sonar.api.utils.dag.DirectAcyclicGraph
-
- add(Duration) - Method in class org.sonar.api.utils.Duration
-
Add the given duration to the current one.
- add(WorkDuration) - Method in class org.sonar.api.utils.internal.WorkDuration
-
- add(Criterion) - Method in class org.sonar.api.web.Filter
-
Add a
Criterion
to the list used to narrow down the results of this
Filter
.
- add(FilterColumn) - Method in class org.sonar.api.web.Filter
-
- addActiveRule(ActiveRule) - Method in class org.sonar.api.profiles.RulesProfile
-
- addAll(Map<K, V>) - Method in class org.sonar.api.measures.PropertiesBuilder
-
- addAnnotatedChecks(Object...) - Method in class org.sonar.api.batch.rule.Checks
-
- addAnnotatedChecks(Collection) - Method in class org.sonar.api.batch.rule.Checks
-
- addAnnotatedChecks(Iterable) - Method in class org.sonar.api.batch.rule.Checks
-
- addArgument(String) - Method in class org.sonar.api.utils.command.Command
-
- addArguments(List<String>) - Method in class org.sonar.api.utils.command.Command
-
- addArguments(String[]) - Method in class org.sonar.api.utils.command.Command
-
- addBinaryDir(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
Deprecated.
since 4.5.1 use SonarQube Java specific API
- addBinaryDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
Deprecated.
since 4.5.1 use SonarQube Java specific API
- addCharacteristic(DebtCharacteristic) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- addChildrenMeasures(String, Integer...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addChildrenMeasures(String, Double...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addChildrenMeasures(String, Long...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addChildrenMeasures(String, String...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addComment(String) - Method in interface org.sonar.api.issue.action.Function.Context
-
- addComment(String) - Method in interface org.sonar.api.issue.IssueHandler.Context
-
- addComponent(Object) - Method in class org.sonar.api.config.PropertyDefinitions
-
- addComponent(Object, String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- addComponent(String, Set<Integer>) - Method in class org.sonar.api.issue.NoSonarFilter
-
- addComponents(Collection) - Method in class org.sonar.api.config.PropertyDefinitions
-
- addComponents(Collection, String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- addContainerExtension(Object) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
Adds an extension, which would be available in PicoContainer during analysis of this project.
- addContext(String, Object) - Method in class org.sonar.api.utils.log.Profiler
-
Context information is removed if value is null
.
- addDays(Date, int) - Static method in class org.sonar.api.utils.DateUtils
-
- addDependency(Dependency) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
since 5.2 No more design features. No op.
- addDependency(Node) - Method in class org.sonar.api.utils.dag.Node
-
- addEnvironmentVariables() - Method in class org.sonar.api.config.Settings
-
Deprecated.
since 4.4 For embedding purpose all properties should be provided by the bootstrapper
- addErrorText(String) - Method in class org.sonar.api.utils.ValidationMessages
-
- addFieldsParam(Collection<?>) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
Creates the parameter
WebService.Param.FIELDS
, which is
used to restrict the number of fields returned in JSON response.
- addFlow(Iterable<NewIssueLocation>) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- addFlow(Iterable<NewIssueLocation>) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
-
Register a flow for this issue.
- addFlow(Iterable<NewIssueLocation>) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
- addFormatParam(WebService.NewAction) - Static method in class org.sonar.api.server.ws.RailsHandler
-
- addInfoText(String) - Method in class org.sonar.api.utils.ValidationMessages
-
- addInputMeasure(String, int) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addInputMeasure(String, double) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addInputMeasure(String, long) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addInputMeasure(String, boolean) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addInputMeasure(String, String) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addIssue(Issue) - Method in interface org.sonar.api.issue.Issuable
-
- additionalProperties() - Method in class org.sonar.api.config.License
-
Get additional properties available on this license (like threshold conditions)
- addJsonOnlyFormatParam(WebService.NewAction) - Static method in class org.sonar.api.server.ws.RailsHandler
-
- addLanguages(String, String...) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
Adds a language to the list.
- addLibrary(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
Deprecated.
since 4.5.1 use SonarQube Java specific API
- addLocation(NewIssueLocation) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- addLocation(NewIssueLocation) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
-
Add a secondary location for this issue.
- addLocation(NewIssueLocation) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
- addMaskedArgument(String) - Method in class org.sonar.api.utils.command.Command
-
- addMeasure(Resource, Measure) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
Warning: the resource is automatically indexed for backward-compatibility, but it should be explictly
indexed before.
- addMeasure(String, int) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Add a new measure of a given metric which measure type will be int
- addMeasure(String, double) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Add a new measure of a given metric which measure type will be double
- addMeasure(String, long) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Add a new measure of a given metric which measure type will be long
- addMeasure(String, String) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Add a new measure of a given metric which measure type will be string
- addMeasure(String, boolean) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Add a new measure of a given metric which measure type will be boolean
- addMeasure(String, int) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addMeasure(String, double) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addMeasure(String, long) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addMeasure(String, String) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addMeasure(String, boolean) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- addPagingParams(int) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
Add predefined parameters related to pagination of results.
- addParam(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- addProperties(Map<String, String>) - Method in class org.sonar.api.config.Settings
-
- addProperties(Properties) - Method in class org.sonar.api.config.Settings
-
- addRelations(String, String...) - Method in class org.sonar.api.resources.ResourceTypeTree.Builder
-
- addRequirement(DefaultRequirement) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- addResource(Resource) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
since 2.6. Use methods index()
- addResource(Resource, Set<Integer>) - Method in class org.sonar.api.checks.NoSonarFilter
-
Deprecated.
- addSearchQuery(String, String...) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
$
Creates the parameter
WebService.Param.TEXT_QUERY
, which is
used to search for a subset of fields containing the supplied string.
The fields must be in the
plural form (ex: "names", "keys")
- addSelectionModeParam() - Method in class org.sonar.api.server.ws.WebService.NewAction
-
Add 'selected=(selected|deselected|all)' for select-list oriented WS.
- addSortParams(Collection<V>, V, boolean) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
Add predefined parameters related to sorting of results.
- addSourceDir(File) - Method in interface org.sonar.api.resources.ProjectFileSystem
-
Deprecated.
since 2.6 - ProjectFileSystem should be immutable
See http://jira.sonarsource.com/browse/SONAR-2126
- addSourceDirs(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addSourceDirs(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addSourceFiles(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addSourceFiles(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addSources(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addSources(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addSubCharacteristic(DebtCharacteristic, String) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- addSubProject(ProjectDefinition) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addSystemProperties() - Method in class org.sonar.api.config.Settings
-
Deprecated.
since 4.4 For embedding purpose all properties should be provided by the bootstrapper
- addTags(String...) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- addTestCase(String) - Method in interface org.sonar.api.test.MutableTestPlan
-
- addTestDir(File) - Method in interface org.sonar.api.resources.ProjectFileSystem
-
Deprecated.
since 2.6 - ProjectFileSystem should be immutable
See http://jira.sonarsource.com/browse/SONAR-2126
- addTestDirs(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addTestDirs(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addTestFiles(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addTestFiles(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addTests(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addTests(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- addType(ResourceType) - Method in class org.sonar.api.resources.ResourceTypeTree.Builder
-
- addWarningText(String) - Method in class org.sonar.api.utils.ValidationMessages
-
- addWidget(String, int) - Method in class org.sonar.api.web.Dashboard
-
Add a widget with the given parameters, and return the newly created
Dashboard.Widget
object if one wants to add parameters to it.
- addZero(Object) - Method in class org.sonar.api.measures.CountDistributionBuilder
-
Adds an entry without a zero count if it does not exist
- ADMIN - Static variable in annotation type org.sonar.api.web.UserRole
-
- ADMINISTRATORS - Static variable in class org.sonar.api.security.DefaultGroups
-
- after() - Method in class org.sonar.api.utils.internal.JUnitTempFolder
-
- after() - Method in class org.sonar.api.utils.log.LogTester
-
- age(Locale, long) - Method in interface org.sonar.api.i18n.I18n
-
Return the distance in time for a duration in milliseconds.
- age(Locale, Date, Date) - Method in interface org.sonar.api.i18n.I18n
-
Return the distance in time between two dates.
- ageFromNow(Locale, Date) - Method in interface org.sonar.api.i18n.I18n
-
Reports the distance in time a date and now.
- ALERT_STATUS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- ALERT_STATUS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- alertStatus - Variable in class org.sonar.api.measures.Measure
-
- alertText - Variable in class org.sonar.api.measures.Measure
-
- all() - Method in interface org.sonar.api.batch.fs.FilePredicates
-
Predicate that always evaluates to true
- all() - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
Returns a predicate that always evaluates to true
- all() - Method in class org.sonar.api.batch.rule.Checks
-
- ALL - Static variable in interface org.sonar.api.issue.DefaultTransitions
-
- all() - Static method in class org.sonar.api.measures.MeasuresFilters
-
- all() - Method in class org.sonar.api.resources.Languages
-
- ALL - Static variable in class org.sonar.api.rule.Severity
-
- ALL_ACTIVES - Static variable in class org.sonar.api.user.UserQuery
-
- allCharacteristics() - Method in interface org.sonar.api.batch.debt.DebtModel
-
Deprecated.
Return characteristics and sub-characteristics
- allCharacteristics() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- allCharacteristics() - Method in interface org.sonar.api.server.debt.DebtModel
-
Deprecated.
- allIssues() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- analyse(Project, SensorContext) - Method in class org.sonar.api.batch.AbstractSourceImporter
-
Deprecated.
- analyse(ProjectFileSystem, SensorContext) - Method in class org.sonar.api.batch.AbstractSourceImporter
-
Deprecated.
- analyse(Project, SensorContext) - Method in interface org.sonar.api.batch.Sensor
-
The method that is going to be run when the sensor is called
- ANALYSIS_MODE - Static variable in interface org.sonar.api.CoreProperties
-
- ANALYSIS_MODE_ANALYSIS - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
since 5.2 the default mode is publish
- ANALYSIS_MODE_INCREMENTAL - Static variable in interface org.sonar.api.CoreProperties
-
- ANALYSIS_MODE_ISSUES - Static variable in interface org.sonar.api.CoreProperties
-
- ANALYSIS_MODE_PREVIEW - Static variable in interface org.sonar.api.CoreProperties
-
- ANALYSIS_MODE_PUBLISH - Static variable in interface org.sonar.api.CoreProperties
-
- AnalysisMode - Interface in org.sonar.api.batch
-
Use this component to find the current running mode.
- analysisMode() - Method in interface org.sonar.api.batch.postjob.PostJobContext
-
Get analysis mode.
- analysisMode() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- analysisMode() - Method in interface org.sonar.api.batch.sensor.SensorContext
-
Get analysis mode.
- and(Collection<FilePredicate>) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
- and(FilePredicate...) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
- and(FilePredicate, FilePredicate) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
- and(Collection<FilePredicate>) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- and(FilePredicate...) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- and(FilePredicate, FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- andTotal(int) - Method in class org.sonar.api.utils.Paging.Builder
-
- AnnotationCheckFactory - Class in org.sonar.api.checks
-
- 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
-
Related to characteristic SECURITY
- appendProperty(String, String) - Method in class org.sonar.api.config.Settings
-
- apply(InputFile) - Method in interface org.sonar.api.batch.fs.FilePredicate
-
Test if provided file is valid for this predicate
- apply(InputFile) - Method in class org.sonar.api.batch.fs.internal.RelativePathPredicate
-
- apply(Statement, Description) - Method in class org.sonar.api.utils.internal.JUnitTempFolder
-
- ARCHITECTURE_CHANGEABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic CHANGEABILITY
- ARCHITECTURE_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic RELIABILITY
- as(Class<P>, Resource) - Method in interface org.sonar.api.component.ResourcePerspectives
-
Deprecated.
- as(Class<P>, InputPath) - Method in interface org.sonar.api.component.ResourcePerspectives
-
Deprecated.
- ASC - Static variable in class org.sonar.api.web.FilterColumn
-
- ASCENDING - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- assign(String) - Method in interface org.sonar.api.issue.IssueHandler.Context
-
- assign(User) - Method in interface org.sonar.api.issue.IssueHandler.Context
-
- assignee() - Method in interface org.sonar.api.issue.Issue
-
Login of the user who is assigned to this issue.
- at(NewIssueLocation) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- at(TextRange) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
-
- at(NewIssueLocation) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
-
Primary location for this issue.
- at(TextRange) - Method in interface org.sonar.api.batch.sensor.issue.NewIssueLocation
-
Position in the file.
- at(NewIssueLocation) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
- attribute(String, String) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
No more supported from batch side since 5.2
- attribute(String) - Method in interface org.sonar.api.issue.Issue
-
- attributes() - Method in interface org.sonar.api.issue.Issue
-
Empty on batch side since version 5.2.
- attributes() - Method in class org.sonar.api.scan.filesystem.FileQuery
-
Deprecated.
- authenticate(String, String) - Method in interface org.sonar.api.security.LoginPasswordAuthenticator
-
Deprecated.
- Authenticator - Class in org.sonar.api.security
-
- Authenticator() - Constructor for class org.sonar.api.security.Authenticator
-
- Authenticator.Context - Class in org.sonar.api.security
-
- Authenticator.Context(String, String, HttpServletRequest) - Constructor for class org.sonar.api.security.Authenticator.Context
-
- author() - Method in class org.sonar.api.batch.scm.BlameLine
-
- author(String) - Method in class org.sonar.api.batch.scm.BlameLine
-
- authorLogin() - Method in interface org.sonar.api.issue.Issue
-
Login of the SCM account that introduced this issue.
- AVAILABLE_FOR_FILTERS - Static variable in class org.sonar.api.resources.ResourceTypes
-
- availableForFilters() - Method in class org.sonar.api.resources.ResourceType.Builder
-
- AverageFormula - Class in org.sonar.api.measures
-
Deprecated.
since 5.2 decorators are no more executed on batch side
- calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.AverageFormula
-
Deprecated.
- calculate(FormulaData, FormulaContext) - Method in interface org.sonar.api.measures.Formula
-
Deprecated.
- calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.MeanAggregationFormula
-
Deprecated.
- calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.SumChildDistributionFormula
-
Deprecated.
- calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.SumChildValuesFormula
-
Deprecated.
- calculate(FormulaData, FormulaContext) - Method in class org.sonar.api.measures.WeightedMeanAggregationFormula
-
Deprecated.
- canonicalPath() - Method in interface org.sonar.api.scan.filesystem.FileSystemFilter.Context
-
Deprecated.
Absolute file path.
- canonicalPath(File) - Static method in class org.sonar.api.utils.PathUtils
-
Get canonical path and replace file separators by forward slash.
- Category - Class in org.sonar.api.config
-
- category(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- category() - Method in class org.sonar.api.config.PropertyDefinition
-
Category where the property appears in settings pages.
- CATEGORY_CODE_COVERAGE - Static variable in interface org.sonar.api.CoreProperties
-
- CATEGORY_DIFFERENTIAL_VIEWS - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
since 4.0. See http://jira.sonarsource.com/browse/SONAR-4660. Do not forget to remove the properties from core bundles
- CATEGORY_DUPLICATIONS - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
since 4.0. See http://jira.sonarsource.com/browse/SONAR-4660. Do not forget to remove the properties from core bundles
- CATEGORY_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
-
- CATEGORY_GENERAL - Static variable in interface org.sonar.api.CoreProperties
-
- CATEGORY_JAVA - Static variable in interface org.sonar.api.CoreProperties
-
- CATEGORY_L10N - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
since 4.0. See http://jira.sonarsource.com/browse/SONAR-4660. Do not forget to remove the properties from core bundles
- CATEGORY_LICENSES - Static variable in interface org.sonar.api.CoreProperties
-
- CATEGORY_SCM - Static variable in interface org.sonar.api.CoreProperties
-
- CATEGORY_SECURITY - Static variable in interface org.sonar.api.CoreProperties
-
- CATEGORY_TECHNICAL_DEBT - Static variable in interface org.sonar.api.CoreProperties
-
- CHANGEABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic CHANGEABILITY
- characteristic - Variable in class org.sonar.api.measures.Measure
-
- characteristic(Metric, Characteristic) - Static method in class org.sonar.api.measures.MeasuresFilters
-
- Characteristic - Interface in org.sonar.api.technicaldebt.batch
-
- characteristic() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- characteristic() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
-
Deprecated.
- Characteristic - Interface in org.sonar.api.technicaldebt.server
-
- characteristicById(int) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- characteristicByKey(String) - Method in interface org.sonar.api.batch.debt.DebtModel
-
Deprecated.
Return a characteristic or a sub-characteristic by a key
- characteristicByKey(String) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- characteristicByKey(String) - Method in interface org.sonar.api.server.debt.DebtModel
-
Deprecated.
Return a characteristic or a sub-characteristic by its key
- characteristics() - Method in interface org.sonar.api.batch.debt.DebtModel
-
Deprecated.
Return only characteristics
- characteristics() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- characteristics() - Method in interface org.sonar.api.server.debt.DebtModel
-
Deprecated.
- charset() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- Chart - Interface in org.sonar.api.charts
-
Deprecated.
in 4.5.1, replaced by Javascript charts
- ChartParameters - Class in org.sonar.api.charts
-
Deprecated.
in 4.5.1, replaced by Javascript charts
- ChartParameters(Map<String, String>) - Constructor for class org.sonar.api.charts.ChartParameters
-
Deprecated.
Creates a ChartParameter based on a list of parameters
- ChartParameters(String) - Constructor for class org.sonar.api.charts.ChartParameters
-
Deprecated.
Creates a Chartparameter based on a query string with a format key1=value1&key2=value2...
- CheckFactory - Class in org.sonar.api.batch.rule
-
- CheckFactory(ActiveRules) - Constructor for class org.sonar.api.batch.rule.CheckFactory
-
- CheckFactory<C> - Class in org.sonar.api.checks
-
- CheckFactory(RulesProfile, String) - Constructor for class org.sonar.api.checks.CheckFactory
-
Deprecated.
- CheckProject - Interface in org.sonar.api.batch
-
- Checks<C> - Class in org.sonar.api.batch.rule
-
Instantiates checks (objects that provide implementation of coding
rules) that use sonar-check-api annotations.
- children() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
-
Deprecated.
- children() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- CLASS - Static variable in class org.sonar.api.resources.Qualifiers
-
Deprecated.
since 4.2 now java files are considered as regular files. Use Qualifiers.FILE
instead.
- CLASS_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Information about the cyclomatic complexity per class, calculated by divided the complexity in classes by the number of classes.
- CLASS_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
in 3.0 - see SONAR-3289
- CLASS_COMPLEXITY_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
in 3.0 - see SONAR-3289
- CLASS_COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CLASSES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CLASSES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- clean() - Method in class org.sonar.api.utils.internal.DefaultTempFolder
-
- clear() - Method in class org.sonar.api.config.Settings
-
- clear() - Method in class org.sonar.api.measures.CountDistributionBuilder
-
Resets all entries to zero
- clear() - Method in class org.sonar.api.measures.PropertiesBuilder
-
- clear() - Method in class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
Resets all entries to zero
- clear() - Method in class org.sonar.api.utils.log.LogTester
-
- clone() - Method in class org.sonar.api.profiles.RulesProfile
-
- clone() - Method in class org.sonar.api.rules.ActiveRule
-
- clone() - Method in class org.sonar.api.rules.ActiveRuleParam
-
- CLOSE - Static variable in interface org.sonar.api.issue.DefaultTransitions
-
- close(AutoCloseable) - Method in class org.sonar.api.utils.System2
-
- 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
-
- 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
-
- COLORS - Static variable in class org.sonar.api.charts.AbstractChart
-
Deprecated.
- Command - Class in org.sonar.api.utils.command
-
- CommandException - Exception in org.sonar.api.utils.command
-
- CommandException(Command, String, Throwable) - Constructor for exception org.sonar.api.utils.command.CommandException
-
- CommandException(Command, Throwable) - Constructor for exception org.sonar.api.utils.command.CommandException
-
- CommandExecutor - Class in org.sonar.api.utils.command
-
Synchronously execute a native command line.
- COMMENT_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COMMENT_LINES_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
-
Information about comments in file.
- COMMENT_LINES_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COMMENT_LINES_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COMMENT_LINES_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COMMENT_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COMMENTED_OUT_CODE_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 4.2 - see SONAR-4990
- COMMENTED_OUT_CODE_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 4.2 - see SONAR-4990
- comments() - Method in interface org.sonar.api.issue.Issue
-
Non-null list of comments, ordered by chronological order.
- compareTo(OptimizedFilePredicate) - Method in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
-
- compareTo(TextPointer) - Method in class org.sonar.api.batch.fs.internal.DefaultTextPointer
-
- compareTo(TaskDefinition) - Method in class org.sonar.api.task.TaskDefinition
-
Deprecated.
- compareTo(Node) - Method in class org.sonar.api.utils.dag.Node
-
- COMPILER_RELATED_PORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic PORTABILITY
- COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COMPLEXITY_IN_CLASSES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COMPLEXITY_IN_CLASSES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COMPLEXITY_IN_FUNCTIONS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COMPLEXITY_IN_FUNCTIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- Component - Interface in org.sonar.api.ce.measure
-
- Component - 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.Issue
-
Component key like foo:src/Foo.php
- componentKey() - Method in interface org.sonar.api.issue.Issue
-
Components are modules ("my_project"), directories ("my_project:my/dir") or files ("my_project:my/file.c").
- componentUuid() - Method in interface org.sonar.api.issue.Issue
-
- compute(MeasureComputer.MeasureComputerContext) - Method in interface org.sonar.api.ce.measure.MeasureComputer
-
This method will be called on each component of the projects.
- computeLineHashesForIssueTracking(DefaultInputFile, FileMetadata.LineHashConsumer) - Static method in class org.sonar.api.batch.fs.internal.FileMetadata
-
Compute a MD5 hash of each line of the file after removing of all blank chars
- Condition - Interface in org.sonar.api.issue.condition
-
- conditions(int, int, int) - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- conditions() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- conditions(int, int, int) - Method in interface org.sonar.api.batch.sensor.coverage.NewCoverage
-
Call this method as many time as needed to report coverage of conditions.
- conditions(String, CoverageType, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- conditions() - Method in class org.sonar.api.issue.action.Action
-
- CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 soon to be removed
- CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 soon to be removed
- CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- conditionsByLine() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
-
- conditionsByLine() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- conditionsToCover() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
-
- CONFIGURATION - Static variable in annotation type org.sonar.api.web.NavigationSection
-
- configureColors(Values2D, CategoryPlot, String[]) - Method in class org.sonar.api.charts.AbstractChart
-
Deprecated.
Helper to set color of series.
- CONFIRM - Static variable in interface org.sonar.api.issue.DefaultTransitions
-
- CONFIRMED_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CONFIRMED_ISSUES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CONSTANT_ISSUE - Static variable in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- constantPerIssue(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.DebtRemediationFunctions
-
- consume(int, byte[]) - Method in interface org.sonar.api.batch.fs.internal.FileMetadata.LineHashConsumer
-
- consumeLine(String) - Method in interface org.sonar.api.utils.command.StreamConsumer
-
- consumeLine(String) - Method in class org.sonar.api.utils.command.StringStreamConsumer
-
- controller(String) - Method in class org.sonar.api.server.ws.WebService.Context
-
- controllers() - Method in class org.sonar.api.server.ws.WebService.Context
-
- convertJavaFileKeyFromSquidFormat(String) - Static method in class org.sonar.api.batch.SquidUtils
-
Deprecated.
since 4.2 JavaFile is deprecated
- convertJavaPackageKeyFromSquidFormat(String) - Static method in class org.sonar.api.batch.SquidUtils
-
Deprecated.
since 4.2 JavaPackage is deprecated
- convertToSquidKeyFormat(JavaFile) - Static method in class org.sonar.api.batch.SquidUtils
-
- 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_COVERAGE_PLUGIN_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
replaced in v3.4 by properties specific to languages, for example sonar.java.coveragePlugin
See http://jira.sonarsource.com/browse/SONARJAVA-39 for more details.
- CORE_DEFAULT_GROUP - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_DEFAULT_GROUP_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_FORCE_AUTHENTICATION_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_FORCE_AUTHENTICATION_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_INCLUDED_MODULES_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
since 4.3. See http://jira.sonarsource.com/browse/SONAR-5109
- CORE_PREVENT_AUTOMATIC_PROJECT_CREATION - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
replaced in 5.2 by the permission 'provisioning'
- CORE_SKIPPED_MODULES_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
since 4.3. See http://jira.sonarsource.com/browse/SONAR-5109
- CORE_VIOLATION_LOCALE_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- CORE_VIOLATION_LOCALE_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
since 4.1. See http://jira.sonarsource.com/browse/SONAR-4875
- CoreMetrics - Class in org.sonar.api.measures
-
- CoreProperties - Interface in org.sonar.api
-
Non-exhaustive list of constants of core properties.
- countCoveredLines() - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
- CountDistributionBuilder - Class in org.sonar.api.measures
-
Utility to build a distribution based on discrete values
- CountDistributionBuilder(Metric) - Constructor for class org.sonar.api.measures.CountDistributionBuilder
-
Creates an empty CountDistributionBuilder for a specified metric
- countTestCasesOfLine(Integer) - Method in interface org.sonar.api.test.Testable
-
Deprecated.
- COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- COVERAGE_LINE_HITS_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 soon to be removed
- COVERAGE_LINE_HITS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 soon to be removed
- CoverageAlreadyExistsException - Exception in org.sonar.api.test.exception
-
- CoverageAlreadyExistsException(String) - Constructor for exception org.sonar.api.test.exception.CoverageAlreadyExistsException
-
- CoverageBlock - Interface in org.sonar.api.test
-
- coverageBlock(TestCase) - Method in interface org.sonar.api.test.Testable
-
Deprecated.
- coverageBlock(Testable) - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
- coverageBlocks() - Method in interface org.sonar.api.test.Testable
-
Deprecated.
- coverageBlocks() - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
- CoverageExtension - Interface in org.sonar.api.batch
-
Deprecated.
since 5.2 not used anymore
- CoverageMeasuresBuilder - Class in org.sonar.api.measures
-
- CoverageType - Enum in org.sonar.api.batch.sensor.coverage
-
Different coverage categories.
- COVERED_CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 soon to be removed
- COVERED_CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 soon to be removed
- coveredConditions() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- coveredConditions(String, CoverageType, int) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- coveredConditionsByLine() - Method in enum org.sonar.api.batch.sensor.coverage.CoverageType
-
- coveredConditionsByLine() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- coveredLines() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- CPD_CROSS_PROJECT - Static variable in interface org.sonar.api.CoreProperties
-
- CPD_CROSS_RPOJECT_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- CPD_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
-
- CPD_MINIMUM_TOKENS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- CPD_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
-
- CPD_SKIP_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- CpdMapping - Interface in org.sonar.api.batch
-
Implement this extension to get Copy/Paste detection for your language.
- CPU_EFFICIENCY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic EFFICIENCY
- create(Properties) - Static method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- create() - Static method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- create(DebtRemediationFunction.Type, Duration, Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
-
- create(String) - Static method in class org.sonar.api.batch.fs.internal.PathPattern
-
- create(String[]) - Static method in class org.sonar.api.batch.fs.internal.PathPattern
-
- create(String) - Method in class org.sonar.api.batch.rule.CheckFactory
-
- create(RuleKey) - Method in class org.sonar.api.batch.rule.internal.ActiveRulesBuilder
-
- create(TextRange, TypeOfText) - Static method in class org.sonar.api.batch.sensor.highlighting.internal.SyntaxHighlightingRule
-
- create(File) - Static method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- create(RulesProfile, String, Collection) - Static method in class org.sonar.api.checks.AnnotationCheckFactory
-
Deprecated.
- create(String, String) - Static method in class org.sonar.api.config.GlobalPropertyChangeHandler.PropertyChange
-
- create(Metric, Metric) - Static method in class org.sonar.api.measures.AverageFormula
-
Deprecated.
- 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(File, File) - Static method in class org.sonar.api.resources.InputFileUtils
-
Deprecated.
For internal and for testing purposes.
- create(File, String) - Static method in class org.sonar.api.resources.InputFileUtils
-
Deprecated.
For internal and for testing purposes.
- create(File, Collection<File>) - Static method in class org.sonar.api.resources.InputFileUtils
-
Deprecated.
For internal and for testing purposes.
- create() - Static method in class org.sonar.api.rules.Rule
-
- create(String, String, String) - Static method in class org.sonar.api.rules.Rule
-
Create with all required fields
- create(String, String) - Static method in class org.sonar.api.rules.Rule
-
Create with all required fields
- create() - Static method in class org.sonar.api.rules.RuleQuery
-
- create(String) - Static method in class org.sonar.api.utils.command.Command
-
Create a command line without any arguments
- create() - Static method in class org.sonar.api.utils.command.CommandExecutor
-
- create(long) - Static method in class org.sonar.api.utils.Duration
-
Create a Duration from a number of minutes.
- create(long) - Method in class org.sonar.api.utils.Durations
-
Create a Duration object from a number of minutes
- create(int, int, int, int) - Static method in class org.sonar.api.utils.internal.WorkDuration
-
- create(Logger) - Static method in class org.sonar.api.utils.log.Profiler
-
- create(int, int, int) - Static method in class org.sonar.api.utils.Paging
-
Deprecated.
since 5.2 please use the forPageIndex(...) builder method
- create() - Static method in class org.sonar.api.utils.ValidationMessages
-
- create(String) - Static method in class org.sonar.api.utils.WildcardPattern
-
Creates pattern with "/" as a directory separator.
- create(String[]) - Static method in class org.sonar.api.utils.WildcardPattern
-
Creates array of patterns with "/" as a directory separator.
- create(String, String) - Static method in class org.sonar.api.utils.WildcardPattern
-
Creates pattern with specified separator for directories.
- create(Double, String) - Static method in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- create() - Static method in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- create() - Static method in class org.sonar.api.violations.ViolationQuery
-
Deprecated.
- 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
-
- create() - Static method in class org.sonar.api.web.Filter
-
- create(String, String, String, boolean) - Static method in class org.sonar.api.web.FilterColumn
-
- create(String) - Static method in class org.sonar.api.web.ServletFilter.UrlPattern
-
- createAction(String) - Method in class org.sonar.api.server.ws.WebService.NewController
-
- createCheck(ActiveRule) - Method in class org.sonar.api.checks.AnnotationCheckFactory
-
Deprecated.
- createClassLoader() - Method in class org.sonar.api.batch.ProjectClasspath
-
Deprecated.
- createConstantPerIssue(Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
-
- createController(String) - Method in class org.sonar.api.server.ws.WebService.Context
-
Create a new controller.
- createDashboard() - Method in class org.sonar.api.web.DashboardTemplate
-
Returns the
Dashboard
object that represents the dashboard to use.
- createdAt() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
-
- createdAt() - Method in interface org.sonar.api.issue.ActionPlan
-
- createdAt() - Method in interface org.sonar.api.issue.IssueComment
-
- createdAt() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
-
- createdAt() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
-
Deprecated.
- createdAt() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- createdAt() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- createdAt() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
-
Deprecated.
- createElements() - Method in class org.sonar.api.batch.ProjectClasspath
-
Deprecated.
- createFilter() - Method in class org.sonar.api.web.FilterTemplate
-
Returns the
Filter
object that represents the filter to use.
- createFor(Resource) - Method in interface org.sonar.api.measures.FileLinesContextFactory
-
- createFor(InputFile) - Method in interface org.sonar.api.measures.FileLinesContextFactory
-
- createForCategory(Metric, Integer, Double) - Static method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
since 2.5. See SONAR-2007.
- createForComponent(Object) - Static method in class org.sonar.api.config.Settings
-
Create empty settings.
- createForMetric(String, String, Float, boolean) - Static method in class org.sonar.api.web.Criterion
-
Creates a new
Criterion
on a metric, with a numerical value.
- createForMetric(String, String, String, boolean) - Static method in class org.sonar.api.web.Criterion
-
Creates a new
Criterion
on a metric, with a text value.
- createForPriority(Metric, RulePriority, Double) - Static method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- createForQualifier(Object...) - Static method in class org.sonar.api.web.Criterion
-
- createForRule(Metric, Rule, Double) - Static method in class org.sonar.api.measures.RuleMeasure
-
- createForRule(Metric, RuleKey, Double) - Static method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- createFromMavenIds(String, String, String) - Static method in class org.sonar.api.resources.Library
-
Deprecated.
- createFromMavenIds(String, String) - Static method in class org.sonar.api.resources.Project
-
- createFromMavenIds(String, String, String) - Static method in class org.sonar.api.resources.Project
-
- createFromValueAndUnit(int, WorkDuration.UNIT, int) - Static method in class org.sonar.api.utils.internal.WorkDuration
-
- createIfDebug(Logger) - Static method in class org.sonar.api.utils.log.Profiler
-
- createIfTrace(Logger) - Static method in class org.sonar.api.utils.log.Profiler
-
- createIssuesForRuleRepositories(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- createIssuesForRuleRepositories(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
-
List rule repositories this
Sensor
create issues for.
- createIssuesForRuleRepository(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- createIssuesForRuleRepository(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
-
Rule repository this
Sensor
create issues for.
- createLinear(Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
-
- createLinearWithOffset(Duration, Duration) - Static method in class org.sonar.api.batch.debt.DebtRemediationFunction
-
- createMain(String) - Static method in class org.sonar.api.component.mock.MockSourceFile
-
- createMeasure(double) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
-
- createMeasure(int) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
-
- createMeasure(long) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
-
- createMeasure(String) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
-
- createMeasure(boolean) - Static method in class org.sonar.api.ce.measure.test.TestMeasure
-
- createMeasures() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- createMethod(String, Language) - Static method in class org.sonar.api.resources.Method
-
Deprecated.
- createParam(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- createParam(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- createParam(String, String) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- createParameter() - Method in class org.sonar.api.rules.Rule
-
- createParameter(String) - Method in class org.sonar.api.rules.Rule
-
- createProfile(ValidationMessages) - Method in class org.sonar.api.profiles.ProfileDefinition
-
- createRepository(String, String) - Method in class org.sonar.api.server.rule.RulesDefinition.Context
-
- createResource(File, List<File>) - Method in class org.sonar.api.batch.AbstractCpdMapping
- createResource(File, List<File>, boolean) - Method in class org.sonar.api.batch.AbstractSourceImporter
-
Deprecated.
- createResource(File, List<File>) - Method in interface org.sonar.api.batch.CpdMapping
-
Deprecated.
since 4.2 not used anymore
- createRule(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository
-
- createRule(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
-
- createRules() - Method in class org.sonar.api.rules.RuleRepository
-
Deprecated.
- createTempDirectory() - Static method in class org.sonar.api.utils.TempFileUtils
-
Deprecated.
Create a temporary directory.
- createTempDirectory(String) - Static method in class org.sonar.api.utils.TempFileUtils
-
Deprecated.
- creationDate() - Method in interface org.sonar.api.issue.Issue
-
- Criterion - Class in org.sonar.api.web
-
Definition of a criterion to be used to narrow down a
Filter
.
- CRITICAL - Static variable in class org.sonar.api.rule.Severity
-
- CRITICAL_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- CRITICAL_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- cssClass() - Method in enum org.sonar.api.batch.sensor.highlighting.TypeOfText
-
For internal use
- CsvWriter - Class in org.sonar.api.utils.text
-
- CyclicDependenciesException - Exception in org.sonar.api.utils.dag
-
- CyclicDependenciesException(String) - Constructor for exception org.sonar.api.utils.dag.CyclicDependenciesException
-
- Dashboard - Class in org.sonar.api.web
-
Definition of a dashboard.
- Dashboard.Widget - Class in org.sonar.api.web
-
Note that this class is an inner class to avoid confusion with the extension point org.sonar.api.web.Widget.
- DashboardLayout - Enum in org.sonar.api.web
-
Possible layouts for a dashboard.
- DashboardTemplate - Class in org.sonar.api.web
-
This extension point must be implemented to define a new dashboard.
- DashboardTemplate() - Constructor for class org.sonar.api.web.DashboardTemplate
-
- data - Variable in class org.sonar.api.measures.Measure
-
- DATA_CHANGEABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic CHANGEABILITY
- DATA_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic RELIABILITY
- DatabaseProperties - Interface in org.sonar.api.database
-
- date() - Method in class org.sonar.api.batch.scm.BlameLine
-
- date(Date) - Method in class org.sonar.api.batch.scm.BlameLine
-
- date - Variable in class org.sonar.api.measures.Measure
-
- DATE_FORMAT - Static variable in class org.sonar.api.utils.DateUtils
-
- DATETIME_FORMAT - Static variable in class org.sonar.api.utils.DateUtils
-
- dateToLong(Date) - Static method in class org.sonar.api.utils.DateUtils
-
- DateUtils - Class in org.sonar.api.utils
-
- DAY - Static variable in class org.sonar.api.utils.Duration
-
- days() - Method in class org.sonar.api.utils.internal.WorkDuration
-
- DAYS - Static variable in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- deadLine() - Method in interface org.sonar.api.issue.ActionPlan
-
- debt() - Method in interface org.sonar.api.ce.measure.Issue
-
- debt() - Method in class org.sonar.api.ce.measure.test.TestIssue
-
- debt() - Method in interface org.sonar.api.issue.Issue
-
- DebtCharacteristic - Interface in org.sonar.api.batch.debt
-
- DebtCharacteristic - Interface in org.sonar.api.server.debt
-
Deprecated.
in 5.2. It will be dropped in version 6.0 (see https://jira.sonarsource.com/browse/SONAR-6393)
- DebtModel - Interface in org.sonar.api.batch.debt
-
Deprecated.
since 5.1 debt model will soon be unavailable on batch side
- DebtModel - Interface in org.sonar.api.server.debt
-
Deprecated.
in 5.2. It will be dropped in version 6.0 (see https://jira.sonarsource.com/browse/SONAR-6393)
- DebtRemediationFunction - Class in org.sonar.api.batch.debt
-
- debtRemediationFunction() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- debtRemediationFunction() - Method in interface org.sonar.api.batch.rule.Rule
-
Deprecated.
since 5.2 as any computation of data are moved to server's Compute Engine. Calling this method throws an exception.
- DebtRemediationFunction - Interface in org.sonar.api.server.debt
-
Function used to calculate the remediation cost of an issue.
- debtRemediationFunction() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- DebtRemediationFunction.Type - Enum in org.sonar.api.batch.debt
-
- DebtRemediationFunction.Type - Enum in org.sonar.api.server.debt
-
- debtRemediationFunctions() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- debtSubCharacteristic() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- debtSubCharacteristic() - Method in interface org.sonar.api.batch.rule.Rule
-
Deprecated.
since 5.2 as any computation of data are moved to server's Compute Engine. Calling this method throws an exception.
- debtSubCharacteristic() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- debug(String) - Method in interface org.sonar.api.utils.log.Logger
-
Logs a DEBUG message.
- debug(String, Object) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an DEBUG parameterized message according to the specified format and argument.
- debug(String, Object, Object) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an DEBUG parameterized message according to the specified format and arguments.
- debug(String, Object...) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an DEBUG parameterized message according to the specified format and arguments.
- declaration() - Method in class org.sonar.api.utils.text.XmlWriter
-
- decode(String, int) - Static method in class org.sonar.api.utils.Duration
-
Create a Duration from a text duration and the number of hours in a day.
- decode(String) - Method in class org.sonar.api.utils.Durations
-
Convert the text to a Duration
Example : decode("9d 10 h") -> Duration.encode("10d2h") (if sonar.technicalDebt.hoursInDay property is set to 8)
Throws IllegalArgumentException
- decorate(Resource, DecoratorContext) - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
-
Deprecated.
- decorate(Resource, DecoratorContext) - Method in interface org.sonar.api.batch.Decorator
-
Deprecated.
- Decorator - Interface in org.sonar.api.batch
-
Deprecated.
since 5.2 there's no more decorator on batch side. Use MeasureComputer
instead
- DecoratorBarriers - Interface in org.sonar.api.batch
-
Barriers are used to define the order of execution of Decorators.
- DecoratorContext - Interface in org.sonar.api.batch
-
- DecoratorExecutionHandler - Interface in org.sonar.api.batch.events
-
Deprecated.
since 5.2 no more decorator
- DecoratorExecutionHandler.DecoratorExecutionEvent - Interface in org.sonar.api.batch.events
-
Deprecated.
This interface is not intended to be implemented by clients.
- DecoratorsPhaseHandler - Interface in org.sonar.api.batch.events
-
Deprecated.
since 5.2 no more decorator
- DecoratorsPhaseHandler.DecoratorsPhaseEvent - Interface in org.sonar.api.batch.events
-
Deprecated.
This interface is not intended to be implemented by clients.
- decrypt(String) - Method in class org.sonar.api.config.Encryption
-
- DEFAULT_HEIGHT - Static variable in class org.sonar.api.charts.ChartParameters
-
Deprecated.
- DEFAULT_ISSUE_ASSIGNEE - Static variable in interface org.sonar.api.CoreProperties
-
- DEFAULT_PACKAGE_NAME - Static variable in class org.sonar.api.resources.Java
-
Deprecated.
Default package name for classes without package def
- DEFAULT_PACKAGE_NAME - Static variable in class org.sonar.api.resources.JavaPackage
-
Deprecated.
- DEFAULT_PRECISION - Static variable in class org.sonar.api.measures.Measure
-
Default precision when saving a float type metric
- DEFAULT_PRIORITY - Static variable in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
-
- DEFAULT_PRIORITY - Static variable in class org.sonar.api.rules.Rule
-
The default priority given to a rule if not explicitly set
- DEFAULT_UNIT - Static variable in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- DEFAULT_VALUE - Static variable in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- DEFAULT_WIDTH - Static variable in class org.sonar.api.charts.ChartParameters
-
Deprecated.
- DefaultActiveRule - Class in org.sonar.api.batch.rule.internal
-
- DefaultActiveRules - Class in org.sonar.api.batch.rule.internal
-
- DefaultActiveRules(Collection<NewActiveRule>) - Constructor for class org.sonar.api.batch.rule.internal.DefaultActiveRules
-
- DefaultCharacteristic - Class in org.sonar.api.technicaldebt.batch.internal
-
- DefaultCharacteristic() - Constructor for class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- DefaultCharacteristic - Class in org.sonar.api.technicaldebt.server.internal
-
- DefaultCharacteristic() - Constructor for class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- DefaultCoverage - Class in org.sonar.api.batch.sensor.coverage.internal
-
- DefaultCoverage() - Constructor for class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- DefaultCoverage(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- DefaultDebtCharacteristic - Class in org.sonar.api.batch.debt.internal
-
- DefaultDebtCharacteristic() - Constructor for class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
-
- DefaultDebtCharacteristic - Class in org.sonar.api.server.debt.internal
-
- DefaultDebtCharacteristic() - Constructor for class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
-
- DefaultDebtModel - Class in org.sonar.api.batch.debt.internal
-
- DefaultDebtModel() - Constructor for class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- DefaultDebtRemediationFunction - Class in org.sonar.api.server.debt.internal
-
- DefaultDebtRemediationFunction(DebtRemediationFunction.Type, String, String) - Constructor for class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
-
- DefaultDuplication - Class in org.sonar.api.batch.sensor.duplication.internal
-
- DefaultDuplication() - Constructor for class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
-
- DefaultDuplication(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
-
- DefaultFilePredicates - Class in org.sonar.api.batch.fs.internal
-
- DefaultFileSystem - Class in org.sonar.api.batch.fs.internal
-
- DefaultFileSystem(Path) - Constructor for class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
Only for testing
- DefaultFileSystem(File) - Constructor for class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
Only for testing
- DefaultFileSystem(File, DefaultFileSystem.Cache) - Constructor for class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- DefaultFileSystem.Cache - Class in org.sonar.api.batch.fs.internal
-
- DefaultFileSystem.Cache() - Constructor for class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
-
- DefaultFormulaContext - Class in org.sonar.api.batch
-
- DefaultFormulaContext(Metric) - Constructor for class org.sonar.api.batch.DefaultFormulaContext
-
- DefaultFormulaData - Class in org.sonar.api.batch
-
- DefaultFormulaData(DecoratorContext) - Constructor for class org.sonar.api.batch.DefaultFormulaData
-
- DefaultGroups - Class in org.sonar.api.security
-
Name of the default user groups
- DefaultHighlighting - Class in org.sonar.api.batch.sensor.highlighting.internal
-
- DefaultHighlighting(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
-
- DefaultInputComponent - Class in org.sonar.api.batch.fs.internal
-
- DefaultInputComponent() - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputComponent
-
- DefaultInputDir - Class in org.sonar.api.batch.fs.internal
-
- DefaultInputDir(String, String) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- DefaultInputFile - Class in org.sonar.api.batch.fs.internal
-
- DefaultInputFile(String, String) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- DefaultInputModule - Class in org.sonar.api.batch.fs.internal
-
- DefaultInputModule(String) - Constructor for class org.sonar.api.batch.fs.internal.DefaultInputModule
-
- DefaultIssue - Class in org.sonar.api.batch.sensor.issue.internal
-
- DefaultIssue() - Constructor for class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- DefaultIssue(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- DefaultIssueLocation - Class in org.sonar.api.batch.sensor.issue.internal
-
- DefaultIssueLocation() - Constructor for class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
-
- DefaultMeasure<G extends Serializable> - Class in org.sonar.api.batch.sensor.measure.internal
-
- DefaultMeasure() - Constructor for class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- DefaultMeasure(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- DefaultPostJobDescriptor - Class in org.sonar.api.batch.postjob.internal
-
- DefaultPostJobDescriptor() - Constructor for class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
-
- DefaultRequirement - Class in org.sonar.api.technicaldebt.batch.internal
-
- DefaultRequirement() - Constructor for class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- DefaultRule - Class in org.sonar.api.batch.rule.internal
-
- DefaultSensorDescriptor - Class in org.sonar.api.batch.sensor.internal
-
- DefaultSensorDescriptor() - Constructor for class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- defaultSeverity() - Static method in class org.sonar.api.rule.Severity
-
- defaultStatus() - Static method in enum org.sonar.api.rule.RuleStatus
-
- DefaultStorable - Class in org.sonar.api.batch.sensor.internal
-
- DefaultStorable() - Constructor for class org.sonar.api.batch.sensor.internal.DefaultStorable
-
- DefaultStorable(SensorStorage) - Constructor for class org.sonar.api.batch.sensor.internal.DefaultStorable
-
- DefaultTab - Annotation Type in org.sonar.api.web
-
- DefaultTempFolder - Class in org.sonar.api.utils.internal
-
- DefaultTempFolder(File) - Constructor for class org.sonar.api.utils.internal.DefaultTempFolder
-
- DefaultTempFolder(File, boolean) - Constructor for class org.sonar.api.utils.internal.DefaultTempFolder
-
- DefaultTextPointer - Class in org.sonar.api.batch.fs.internal
-
- DefaultTextPointer(int, int) - Constructor for class org.sonar.api.batch.fs.internal.DefaultTextPointer
-
- DefaultTextRange - Class in org.sonar.api.batch.fs.internal
-
- DefaultTextRange(TextPointer, TextPointer) - Constructor for class org.sonar.api.batch.fs.internal.DefaultTextRange
-
- DefaultTransitions - Interface in org.sonar.api.issue
-
- defaultValue(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- defaultValue() - Method in class org.sonar.api.config.PropertyDefinition
-
- defaultValue() - Method in class org.sonar.api.server.rule.RulesDefinition.Param
-
- defaultValue() - Method in class org.sonar.api.server.ws.WebService.Param
-
- Definable<T> - Interface in org.sonar.api.server.ws
-
- define(MeasureComputer.MeasureComputerDefinitionContext) - Method in interface org.sonar.api.ce.measure.MeasureComputer
-
Use to define which metrics are required to compute some measures on some given metrics
- define(RulesDefinition.Context) - Method in interface org.sonar.api.server.rule.RulesDefinition
-
This method is executed when server is started.
- define(T) - Method in interface org.sonar.api.server.ws.Definable
-
- define(WebService.Context) - Method in interface org.sonar.api.server.ws.WebService
-
Executed once at server startup.
- definitions - Variable in class org.sonar.api.config.Settings
-
- deliver(Notification, String) - Method in class org.sonar.api.notifications.NotificationChannel
-
Implements the delivery of the given notification to the given user.
- DependedUpon - Annotation Type in org.sonar.api.batch
-
- Dependency - Class in org.sonar.api.design
-
Deprecated.
since 5.2 No more design features
- Dependency(Resource, Resource) - Constructor for class org.sonar.api.design.Dependency
-
Deprecated.
- DEPENDENCY_MATRIX - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.0 this is an internal metric that should not be accessed by plugins
- DEPENDENCY_MATRIX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.0 this is an internal metric that should not be accessed by plugins
- DependsUpon - Annotation Type in org.sonar.api.batch
-
- dependsUponMetrics() - Method in class org.sonar.api.measures.AverageFormula
-
Deprecated.
- dependsUponMetrics() - Method in interface org.sonar.api.measures.Formula
-
Deprecated.
- dependsUponMetrics() - Method in class org.sonar.api.measures.MeanAggregationFormula
-
Deprecated.
- dependsUponMetrics() - Method in class org.sonar.api.measures.SumChildDistributionFormula
-
Deprecated.
- dependsUponMetrics() - Method in class org.sonar.api.measures.SumChildValuesFormula
-
Deprecated.
- dependsUponMetrics() - Method in class org.sonar.api.measures.WeightedMeanAggregationFormula
-
Deprecated.
- deprecatedKey(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- deprecatedKey() - Method in class org.sonar.api.config.PropertyDefinition
-
- deprecatedKey() - Method in class org.sonar.api.server.ws.WebService.Action
-
- deprecatedKey() - Method in class org.sonar.api.server.ws.WebService.Param
-
- DEPTH_IN_TREE - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 4.0. See SONAR-4643
- DEPTH_IN_TREE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 4.0. See SONAR-4643
- DESC - Static variable in class org.sonar.api.web.FilterColumn
-
- describe(PostJobDescriptor) - Method in interface org.sonar.api.batch.postjob.PostJob
-
- 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() - Method in interface org.sonar.api.issue.ActionPlan
-
- description - Variable in class org.sonar.api.measures.Measure
-
- description() - Method in class org.sonar.api.server.rule.RulesDefinition.Param
-
- description() - Method in class org.sonar.api.server.ws.WebService.Action
-
- description() - Method in class org.sonar.api.server.ws.WebService.Controller
-
- description() - Method in class org.sonar.api.server.ws.WebService.Param
-
- description(String) - Method in class org.sonar.api.task.TaskDefinition.Builder
-
Deprecated.
- description() - Method in class org.sonar.api.task.TaskDefinition
-
Deprecated.
- description(URI) - Method in class org.sonar.api.utils.UriReader
-
Returns a detailed description of the given uri.
- description(URI) - Method in class org.sonar.api.utils.UriReader.SchemeProcessor
-
- Description - Annotation Type in org.sonar.api.web
-
- DESIGN_SKIP_DESIGN_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- DESIGN_SKIP_DESIGN_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
Indicates whether Java bytecode analysis should be skipped.
- DESIGN_SKIP_PACKAGE_DESIGN_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- DESIGN_SKIP_PACKAGE_DESIGN_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
Indicates whether Package Design Analysis should be skipped.
- DEVELOPMENT_COST - Static variable in interface org.sonar.api.CoreProperties
-
- DEVELOPMENT_COST - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DEVELOPMENT_COST_DEF_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- DEVELOPMENT_COST_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- dir() - Method in class org.sonar.api.scan.filesystem.PathResolver.RelativePath
-
- DirectAcyclicGraph - Class in org.sonar.api.utils.dag
-
- DirectAcyclicGraph(Object...) - Constructor for class org.sonar.api.utils.dag.DirectAcyclicGraph
-
- DIRECTION_BETTER - Static variable in class org.sonar.api.measures.Metric
-
A metric bigger value means an improvement
- DIRECTION_NONE - Static variable in class org.sonar.api.measures.Metric
-
The metric direction has no meaning
- DIRECTION_WORST - Static variable in class org.sonar.api.measures.Metric
-
A metric bigger value means a degradation
- DIRECTIONS - Static variable in class org.sonar.api.web.FilterColumn
-
- DIRECTORIES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DIRECTORIES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- Directory - Class in org.sonar.api.resources
-
- Directory(String) - Constructor for class org.sonar.api.resources.Directory
-
- Directory(String, Language) - Constructor for class org.sonar.api.resources.Directory
-
- DIRECTORY - Static variable in class org.sonar.api.resources.Qualifiers
-
- DIRECTORY - Static variable in class org.sonar.api.resources.Scopes
-
For example directory or Java package.
- DIRECTORY_CYCLES - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- DIRECTORY_CYCLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- DIRECTORY_EDGES_WEIGHT - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- DIRECTORY_EDGES_WEIGHT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- DIRECTORY_FEEDBACK_EDGES - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- DIRECTORY_FEEDBACK_EDGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- DIRECTORY_TANGLE_INDEX - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- DIRECTORY_TANGLE_INDEX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- DIRECTORY_TANGLES - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- DIRECTORY_TANGLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- disabledInIssues() - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
-
- disabledInIssues() - Method in interface org.sonar.api.batch.postjob.PostJobDescriptor
-
Should this PostJob be disabled in issues mode.
- disabledInIssues() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- disabledInIssues() - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
-
Should this sensor be disabled in issues mode.
- doAdd(InputFile) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
-
- doAdd(InputDir) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
-
- doAuthenticate(Authenticator.Context) - Method in class org.sonar.api.security.Authenticator
-
- doesCover() - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
- doesNotMatchPathPattern(String) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
Predicate that gets the files that do not match the given wildcard pattern.
- doesNotMatchPathPattern(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- doesNotMatchPathPatterns(String[]) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
Predicate that gets the files that do not match any of the given wildcard patterns.
- doesNotMatchPathPatterns(String[]) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- doesOverride() - Method in class org.sonar.api.rules.ActiveRule
-
- doGetAuthenticator() - Method in class org.sonar.api.security.SecurityRealm
-
- doGetGroups(String) - Method in class org.sonar.api.security.ExternalGroupsProvider
-
- doGetGroups(ExternalGroupsProvider.Context) - Method in class org.sonar.api.security.ExternalGroupsProvider
-
Override this method in order to load user group information.
- doGetPattern() - Method in class org.sonar.api.web.ServletFilter
-
Override to change URL.
- doGetUserDetails(String) - Method in class org.sonar.api.security.ExternalUsersProvider
-
- doGetUserDetails(ExternalUsersProvider.Context) - Method in class org.sonar.api.security.ExternalUsersProvider
-
Override this method in order load user information.
- DOMAIN_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DOMAIN_DESIGN - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DOMAIN_DOCUMENTATION - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DOMAIN_DUPLICATION - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DOMAIN_GENERAL - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DOMAIN_INTEGRATION_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DOMAIN_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DOMAIN_OVERALL_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DOMAIN_SCM - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DOMAIN_SIZE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DOMAIN_TECHNICAL_DEBT - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DOMAIN_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- done() - Method in interface org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository
-
- done() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
-
- done() - Method in class org.sonar.api.server.ws.WebService.NewController
-
- done() - Method in interface org.sonar.api.source.Highlightable.HighlightingBuilder
-
- doOnClearProperties() - Method in class org.sonar.api.config.Settings
-
- doOnGetProperties(String) - Method in class org.sonar.api.config.Settings
-
- doOnNewUser(NewUserHandler.Context) - Method in interface org.sonar.api.platform.NewUserHandler
-
- doOnRemoveProperty(String) - Method in class org.sonar.api.config.Settings
-
- doOnSetProperty(String, String) - Method in class org.sonar.api.config.Settings
-
- doPreloadFiles() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
This method is called before each search of files.
- doSave() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- doSave() - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
-
- doSave() - Method in class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
-
- doSave() - Method in class org.sonar.api.batch.sensor.internal.DefaultStorable
-
- doSave() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- doSave() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- download(URI) - Method in class org.sonar.api.utils.HttpDownloader
-
- download(URI, File) - Method in class org.sonar.api.utils.HttpDownloader
-
- downloadPlainText(URI, String) - Method in class org.sonar.api.utils.HttpDownloader
-
- DRY_RUN_READ_TIMEOUT_SEC - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
in 4.0 no more used
- DUPLICATED_BLOCKS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATED_BLOCKS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATED_FILES - Static variable in class org.sonar.api.measures.CoreMetrics
-
For files: if it contains duplicates, then 1, otherwise 0.
- DUPLICATED_FILES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATED_LINES_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATED_LINES_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DUPLICATED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- DuplicatedSourceException - Exception in org.sonar.api.resources
-
- DuplicatedSourceException(Resource) - Constructor for exception org.sonar.api.resources.DuplicatedSourceException
-
- duplicates() - Method in interface org.sonar.api.batch.sensor.duplication.Duplication
-
- duplicates() - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
-
- Duplication - Interface in org.sonar.api.batch.sensor.duplication
-
- Duplication.Block - Class in org.sonar.api.batch.sensor.duplication
-
- Duplication.Block(String, int, int) - Constructor for class org.sonar.api.batch.sensor.duplication.Duplication.Block
-
- duplications() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- DUPLICATIONS_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 4.5. Internal storage of duplication is not an API.
- DUPLICATIONS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 4.5. Internal storage of duplication is not an API.
- Duration - Class in org.sonar.api.utils
-
- durationInMs() - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
Duration in milliseconds
- Durations - Class in org.sonar.api.utils
-
Used through ruby code
- Durations(Settings, I18n) - Constructor for class org.sonar.api.utils.Durations
-
- Durations.DurationFormat - Enum in org.sonar.api.utils
-
- DYNAMIC_ANALYSIS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
since 4.3. See http://jira.sonarsource.com/browse/SONAR-5185
- EFFICIENCY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic EFFICIENCY
- effortToFix() - Method in interface org.sonar.api.batch.postjob.issue.Issue
-
Effort to fix the issue.
- effortToFix(Double) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- effortToFix() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- effortToFix() - Method in interface org.sonar.api.batch.sensor.issue.Issue
-
Effort to fix the issue.
- effortToFix(Double) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
-
Effort to fix the issue.
- effortToFix(Double) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
- effortToFix() - Method in interface org.sonar.api.issue.Issue
-
Arbitrary distance to threshold for resolving the issue.
- effortToFixDescription() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- email() - Method in interface org.sonar.api.user.User
-
- EmailMessage - Class in org.sonar.plugins.emailnotifications.api
-
- EmailMessage() - Constructor for class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- EmailSettings - Class in org.sonar.api.config
-
If batch extensions use this component, then batch must be executed with administrator rights (see properties sonar.login and sonar.password)
- EmailSettings(Settings) - Constructor for class org.sonar.api.config.EmailSettings
-
- EmailTemplate - Class in org.sonar.plugins.emailnotifications.api
-
- EmailTemplate() - Constructor for class org.sonar.plugins.emailnotifications.api.EmailTemplate
-
- encode(int) - Method in class org.sonar.api.utils.Duration
-
Return the duration in text, by using the given hours in day parameter to process hours.
- encode(Duration) - Method in class org.sonar.api.utils.Durations
-
Return the string value of the Duration.
- encoding() - Method in interface org.sonar.api.batch.fs.FileSystem
-
Default encoding of input files.
- encoding() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- ENCODING_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- encrypt(String) - Method in class org.sonar.api.config.Encryption
-
- Encryption - Class in org.sonar.api.config
-
- Encryption(String) - Constructor for class org.sonar.api.config.Encryption
-
- ENCRYPTION_SECRET_KEY_PATH - Static variable in interface org.sonar.api.CoreProperties
-
- end() - Method in class org.sonar.api.batch.fs.internal.DefaultTextRange
-
- end() - Method in interface org.sonar.api.batch.fs.TextRange
-
End position of the range
- end() - Method in class org.sonar.api.utils.text.XmlWriter
-
- end(String) - Method in class org.sonar.api.utils.text.XmlWriter
-
- END_OF_TIME_MACHINE - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
Any kinds of time machine data are calculated before this barrier.
- END_OF_VIOLATION_PERSISTENCE - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
Deprecated.
in 3.6. Issues are persisted at the end of analysis
- END_OF_VIOLATION_TRACKING - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
- END_OF_VIOLATIONS_GENERATION - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
- endArray() - Method in class org.sonar.api.utils.text.JsonWriter
-
Ends encoding the current array.
- endObject() - Method in class org.sonar.api.utils.text.JsonWriter
-
Ends encoding the current object.
- envVariable(String) - Method in class org.sonar.api.utils.System2
-
- envVariables() - Method in class org.sonar.api.utils.System2
-
- eof() - Method in class org.sonar.api.batch.fs.internal.FileMetadata.CharHandler
-
- EQ - Static variable in class org.sonar.api.web.Criterion
-
- equals(Object) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- equals(Object) - Method in class org.sonar.api.batch.debt.DebtRemediationFunction
-
- equals(Object) - Method in class org.sonar.api.batch.fs.internal.DefaultInputComponent
-
- equals(Object) - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- equals(Object) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- equals(Object) - Method in class org.sonar.api.batch.fs.internal.DefaultTextPointer
-
- equals(Object) - Method in class org.sonar.api.batch.fs.internal.DefaultTextRange
-
- equals(Object) - Method in class org.sonar.api.batch.scm.BlameLine
-
- equals(Object) - Method in class org.sonar.api.batch.sensor.duplication.Duplication.Block
-
- equals(Object) - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
-
- equals(Object) - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- equals(Object) - Method in class org.sonar.api.ce.measure.test.TestComponent
-
- equals(Object) - Method in class org.sonar.api.component.mock.MockSourceFile
-
- equals(Object) - Method in class org.sonar.api.config.Category
-
- equals(Object) - Method in class org.sonar.api.database.model.User
-
- equals(Object) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- equals(Object) - Method in class org.sonar.api.issue.action.Action
-
- equals(Object) - Method in class org.sonar.api.measures.Measure
-
- equals(Object) - Method in class org.sonar.api.measures.Metric
-
- equals(Object) - Method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- equals(Object) - Method in class org.sonar.api.notifications.Notification
-
- equals(Object) - Method in class org.sonar.api.profiles.ProfileExporter
-
- equals(Object) - Method in class org.sonar.api.profiles.ProfileImporter
-
- equals(Object) - Method in class org.sonar.api.profiles.RulesProfile
-
- equals(Object) - Method in class org.sonar.api.resources.AbstractLanguage
-
- equals(Object) - Method in class org.sonar.api.resources.Library
-
Deprecated.
- equals(Object) - Method in class org.sonar.api.resources.Method
-
Deprecated.
- equals(Object) - Method in class org.sonar.api.resources.Resource
-
- equals(Object) - Method in class org.sonar.api.resources.ResourceType
-
- equals(Object) - Method in class org.sonar.api.rule.RuleKey
-
- equals(Object) - Method in class org.sonar.api.rules.ActiveRule
-
- equals(Object) - Method in class org.sonar.api.rules.ActiveRuleParam
-
- equals(Object) - Method in class org.sonar.api.rules.Rule
-
- equals(Object) - Method in class org.sonar.api.rules.RuleParam
-
- equals(Object) - Method in class org.sonar.api.scan.filesystem.FileQuery
-
Deprecated.
- equals(Object) - Method in class org.sonar.api.server.debt.internal.DefaultDebtRemediationFunction
-
- equals(Object) - Method in class org.sonar.api.server.rule.RuleParamType
-
- equals(Object) - Method in class org.sonar.api.server.rule.RulesDefinition.Param
-
- equals(Object) - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
-
- equals(Object) - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- equals(Object) - Method in class org.sonar.api.task.TaskDefinition
-
Deprecated.
- equals(Object) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- equals(Object) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- equals(Object) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- equals(Object) - Method in class org.sonar.api.utils.dag.Node
-
- equals(Object) - Method in class org.sonar.api.utils.Duration
-
- equals(Object) - Method in class org.sonar.api.utils.internal.WorkDuration
-
- equals(Object) - Method in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- equals(Object) - Method in class org.sonar.api.web.CodeColorizerFormat
-
Deprecated.
- error(String) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an ERROR level message.
- error(String, Object) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an ERROR parameterized message according to the specified format and argument.
- error(String, Object, Object) - Method in interface org.sonar.api.utils.log.Logger
-
Logs a ERROR parameterized message according to the specified format and arguments.
- error(String, Object...) - Method in interface org.sonar.api.utils.log.Logger
-
Logs a ERROR parameterized message according to the specified format and arguments.
- error(String, Throwable) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an exception at the ERROR level with an accompanying message.
- ERRORS - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic SECURITY
- EventHandler - Interface in org.sonar.api.batch.events
-
Common interface for event handlers.
- exampleValue() - Method in class org.sonar.api.server.ws.WebService.Param
-
- EXCEPTION_HANDLING - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic RELIABILITY
- exclusions() - Method in class org.sonar.api.scan.filesystem.FileQuery
-
Deprecated.
- execute(Project) - Method in class org.sonar.api.batch.Initializer
-
- execute(PostJobContext) - Method in interface org.sonar.api.batch.postjob.PostJob
-
The actual sensor code.
- execute(SensorContext) - Method in interface org.sonar.api.batch.sensor.Sensor
-
The actual sensor code.
- execute(Function.Context) - Method in interface org.sonar.api.issue.action.Function
-
- execute() - Method in interface org.sonar.api.task.Task
-
Deprecated.
- execute(Command, StreamConsumer, StreamConsumer, long) - Method in class org.sonar.api.utils.command.CommandExecutor
-
- execute(Command, long) - Method in class org.sonar.api.utils.command.CommandExecutor
-
Execute command and display error and output streams in log.
- executeOn(Project, SensorContext) - Method in interface org.sonar.api.batch.PostJob
-
- executeXPath(Node, QName, String) - Method in class org.sonar.api.utils.XpathParser
-
- executeXPath(String) - Method in class org.sonar.api.utils.XpathParser
-
- executeXPath(Node, String) - Method in class org.sonar.api.utils.XpathParser
-
- executeXPathNode(Node, String) - Method in class org.sonar.api.utils.XpathParser
-
- executeXPathNodeList(String) - Method in class org.sonar.api.utils.XpathParser
-
- executeXPathNodeList(Node, String) - Method in class org.sonar.api.utils.XpathParser
-
- exportProfile(RulesProfile, Writer) - Method in class org.sonar.api.profiles.ProfileExporter
-
- extendedRepositories(String) - Method in class org.sonar.api.server.rule.RulesDefinition.Context
-
Deprecated.
returns empty list since 5.2. Concept of "extended repository" was misleading and not valuable. Simply declare
repositories and use RulesDefinition.Context.repositories()
. See http://jira.sonarsource.com/browse/SONAR-6709
- extendedRepositories() - Method in class org.sonar.api.server.rule.RulesDefinition.Context
-
Deprecated.
returns empty list since 5.2. Concept of "extended repository" was misleading and not valuable. Simply declare
repositories and use RulesDefinition.Context.repositories()
. See http://jira.sonarsource.com/browse/SONAR-6709
- extendRepository(String, String) - Method in class org.sonar.api.server.rule.RulesDefinition.Context
-
- Extension - Interface in org.sonar.api
-
- ExtensionPoint - Annotation Type in org.sonar.api
-
Marker annotation for all the interfaces that are extension point (ie can be implemented by plugins
and will be called at some point of time by the platform).
- ExtensionProvider - Class in org.sonar.api
-
Factory of extensions.
- ExtensionProvider() - Constructor for class org.sonar.api.ExtensionProvider
-
- ExternalGroupsProvider - Class in org.sonar.api.security
-
Note that prefix "do" for names of methods is reserved for future enhancements, thus should not be used in subclasses.
- ExternalGroupsProvider() - Constructor for class org.sonar.api.security.ExternalGroupsProvider
-
- ExternalGroupsProvider.Context - Class in org.sonar.api.security
-
- ExternalGroupsProvider.Context(String, HttpServletRequest) - Constructor for class org.sonar.api.security.ExternalGroupsProvider.Context
-
- ExternalUsersProvider - Class in org.sonar.api.security
-
Note that prefix "do" for names of methods is reserved for future enhancements, thus should not be used in subclasses.
- ExternalUsersProvider() - Constructor for class org.sonar.api.security.ExternalUsersProvider
-
- ExternalUsersProvider.Context - Class in org.sonar.api.security
-
- ExternalUsersProvider.Context(String, HttpServletRequest) - Constructor for class org.sonar.api.security.ExternalUsersProvider.Context
-
- FACETS - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- factor() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
- factor() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
-
- factor() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
-
- factor() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- factorUnit() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- factorUnit() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
-
Deprecated.
- factorUnit() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
-
Deprecated.
- factorUnit() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- factorValue() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- factorValue() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
-
Deprecated.
- factorValue() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
-
Deprecated.
- factorValue() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- fail(String) - Method in class org.sonar.api.batch.BuildBreaker
-
Execute this method to fail the build.
- FALSE_POSITIVE - Static variable in interface org.sonar.api.issue.DefaultTransitions
-
- FALSE_POSITIVE_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FALSE_POSITIVE_ISSUES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FAULT_TOLERANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic RELIABILITY
- FIELD - Static variable in class org.sonar.api.resources.Qualifiers
-
Deprecated.
since 4.2 resources under FILE level will no more be supported.
- FIELD_SEPARATOR - Static variable in class org.sonar.api.utils.KeyValueFormat
-
- fields(PropertyFieldDefinition, PropertyFieldDefinition...) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- fields(List<PropertyFieldDefinition>) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- fields() - Method in class org.sonar.api.config.PropertyDefinition
-
- FIELDS - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- FieldUtils2 - Class in org.sonar.api.utils
-
Add features missing in org.apache.commons.lang.reflect.FieldUtils
- file() - Method in interface org.sonar.api.batch.fs.InputDir
-
The underlying absolute
File
- file() - Method in interface org.sonar.api.batch.fs.InputFile
-
The underlying absolute
File
- file() - Method in interface org.sonar.api.batch.fs.InputPath
-
- file() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- file() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- File - Class in org.sonar.api.resources
-
This class is an implementation of a resource of type FILE
- File(String) - Constructor for class org.sonar.api.resources.File
-
- File(String, String) - Constructor for class org.sonar.api.resources.File
-
- File(Language, String) - Constructor for class org.sonar.api.resources.File
-
- File(Language, String, String) - Constructor for class org.sonar.api.resources.File
-
- FILE - Static variable in class org.sonar.api.resources.Qualifiers
-
- FILE - Static variable in class org.sonar.api.resources.Scopes
-
For example a Java file.
- FILE_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_COMPLEXITY_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FILE_CYCLES - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- FILE_CYCLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- FILE_EDGES_WEIGHT - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- FILE_EDGES_WEIGHT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- FILE_FEEDBACK_EDGES - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- FILE_FEEDBACK_EDGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- FILE_TANGLE_INDEX - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- FILE_TANGLE_INDEX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- FILE_TANGLES - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- FILE_TANGLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 No more design features
- FileExclusions - Class in org.sonar.api.scan.filesystem
-
Configuration of file inclusions and exclusions.
- FileExclusions(Settings) - Constructor for class org.sonar.api.scan.filesystem.FileExclusions
-
- FileLinesContext - Interface in org.sonar.api.measures
-
Provides facility to store measures for the lines of file.
- FileLinesContextFactory - Interface in org.sonar.api.measures
-
This interface is not intended to be implemented by clients.
- FileMetadata - Class in org.sonar.api.batch.fs.internal
-
Computes hash of files.
- FileMetadata() - Constructor for class org.sonar.api.batch.fs.internal.FileMetadata
-
- FileMetadata.CharHandler - Class in org.sonar.api.batch.fs.internal
-
- FileMetadata.CharHandler() - Constructor for class org.sonar.api.batch.fs.internal.FileMetadata.CharHandler
-
- FileMetadata.LineHashConsumer - Interface in org.sonar.api.batch.fs.internal
-
- FileMetadata.Metadata - Class in org.sonar.api.batch.fs.internal
-
- FilePredicate - Interface in org.sonar.api.batch.fs
-
Determines if a file must be kept in search results.
- FilePredicates - Interface in org.sonar.api.batch.fs
-
- FileQuery - Class in org.sonar.api.scan.filesystem
-
- files(FilePredicate) - Method in interface org.sonar.api.batch.fs.FileSystem
-
Files matching the given predicate.
- files(FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- FILES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- files(FileQuery) - Method in interface org.sonar.api.scan.filesystem.ModuleFileSystem
-
Deprecated.
Search for files.
- FILES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- filesToBlame() - Method in interface org.sonar.api.batch.scm.BlameCommand.BlameInput
-
List of files that should be blamed.
- FileSystem - Interface in org.sonar.api.batch.fs
-
The
FileSystem
manages all the source files to be analyzed.
- fileSystem() - Method in interface org.sonar.api.batch.scm.BlameCommand.BlameInput
-
Filesystem of the current (sub )project.
- fileSystem() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- fileSystem() - Method in interface org.sonar.api.batch.sensor.SensorContext
-
Get filesystem of the current module.
- fileSystem() - Method in interface org.sonar.api.scan.filesystem.FileSystemFilter.Context
-
Deprecated.
- FileSystem.Index - Interface in org.sonar.api.batch.fs
-
Interface of the underlying file index.
- FileSystemFilter - Interface in org.sonar.api.scan.filesystem
-
- FileSystemFilter.Context - Interface in org.sonar.api.scan.filesystem
-
Deprecated.
Plugins must not implement this interface.
- FileType - Enum in org.sonar.api.scan.filesystem
-
- fillInStackTrace() - Method in exception org.sonar.api.utils.MessageException
-
Does not fill in the stack trace
- filter(Iterable<InputFile>) - Method in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
-
- filter(Iterable<InputFile>) - Method in interface org.sonar.api.batch.fs.internal.OptimizedFilePredicate
-
Filter provided files to keep only the ones that are valid for this predicate
- filter(Collection<Measure>) - Method in interface org.sonar.api.measures.MeasuresFilter
-
- Filter - Class in org.sonar.api.web
-
Definition of a filter.
- FilterColumn - Class in org.sonar.api.web
-
Definition of a
Filter
column.
- filterOnMetricKey() - Method in class org.sonar.api.measures.MeasuresFilters.MetricFilter
-
- filters() - Method in class org.sonar.api.scan.filesystem.FileQuery
-
Deprecated.
- FilterTemplate - Class in org.sonar.api.web
-
This extension point must be implemented to define a new filter.
- FilterTemplate() - Constructor for class org.sonar.api.web.FilterTemplate
-
- find(RuleKey) - Method in interface org.sonar.api.batch.rule.ActiveRules
-
- find(RuleKey) - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRules
-
- find(RuleKey) - Method in interface org.sonar.api.batch.rule.Rules
-
Get a rule by its key.
- find(RuleQuery) - Method in interface org.sonar.api.rules.RuleFinder
-
Deprecated.
- find(Map<String, Object>) - Method in interface org.sonar.api.user.RubyUserService
-
Search for users
Optional parameters are:
s
to match all the logins or names containing this search query
logins
, as an array of strings (['simon', 'julien']) or a comma-separated list of logins ('simon,julien')
includeDeactivated
as a boolean.
- find(UserQuery) - Method in interface org.sonar.api.user.UserFinder
-
Deprecated.
- findAll(List<String>) - Method in interface org.sonar.api.batch.measure.MetricFinder
-
- findAll() - Method in interface org.sonar.api.batch.measure.MetricFinder
-
- findAll() - Method in interface org.sonar.api.batch.rule.ActiveRules
-
All the active rules, whatever their repository and related language.
- findAll() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRules
-
- findAll() - Method in interface org.sonar.api.batch.rule.Rules
-
- findAll(List<String>) - Method in interface org.sonar.api.measures.MetricFinder
-
Deprecated.
- findAll() - Method in interface org.sonar.api.measures.MetricFinder
-
Deprecated.
- findAll(RuleQuery) - Method in interface org.sonar.api.rules.RuleFinder
-
Deprecated.
- findById(int) - Method in interface org.sonar.api.measures.MetricFinder
-
Deprecated.
- findById(int) - Method in interface org.sonar.api.rules.RuleFinder
-
- 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.component.RubyComponentService
-
- findByKey(String) - Method in interface org.sonar.api.measures.MetricFinder
-
Deprecated.
- findByKey(String, String) - Method in interface org.sonar.api.rules.RuleFinder
-
Deprecated.
- findByKey(RuleKey) - Method in interface org.sonar.api.rules.RuleFinder
-
Deprecated.
- findByLanguage(String) - Method in interface org.sonar.api.batch.rule.ActiveRules
-
The active rules for a given language, like java
- findByLanguage(String) - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRules
-
- findByLogin(String) - Method in interface org.sonar.api.security.UserFinder
-
Deprecated.
- findByLogin(String) - Method in interface org.sonar.api.user.RubyUserService
-
- findByLogin(String) - Method in interface org.sonar.api.user.UserFinder
-
Deprecated.
- findByLogins(List<String>) - Method in interface org.sonar.api.user.UserFinder
-
Deprecated.
- findByRepository(String) - Method in interface org.sonar.api.batch.rule.ActiveRules
-
The active rules for a given repository, like findbugs
- findByRepository(String) - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRules
-
- findByRepository(String) - Method in interface org.sonar.api.batch.rule.Rules
-
Get the rules of the given repository.
- fixUnicodeChar(String) - Method in class org.sonar.api.utils.XpathParser
-
Fix the error occured when parsing a string containing unicode character
Example : &u20ac; will be replaced by €
- FLAG_SQUID_ANALYSIS - Static variable in interface org.sonar.api.batch.Sensor
-
Sensors that depend upon Squid must declare the following method :
- FLOAT - Static variable in class org.sonar.api.server.rule.RuleParamType
-
- flows() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- flows() - Method in interface org.sonar.api.batch.sensor.issue.Issue
-
List of flows for this issue.
- FONT_SIZE - Static variable in class org.sonar.api.charts.AbstractChart
-
Deprecated.
- Footer - Interface in org.sonar.api.web
-
- forCssClass(String) - Static method in enum org.sonar.api.batch.sensor.highlighting.TypeOfText
-
- format(Locale, Duration, Durations.DurationFormat) - Method in class org.sonar.api.utils.Durations
-
Return the formatted work duration.
- format(Locale, Duration) - Method in class org.sonar.api.utils.Durations
-
Return the formatted work duration.
- format(Map<K, V>, KeyValueFormat.Converter<K>, KeyValueFormat.Converter<V>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- format(Map) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- format(Bag, int) - Static method in class org.sonar.api.utils.KeyValueFormat
-
Deprecated.
use Multiset from google collections instead of commons-collections bags
- format(String, Object...) - Method in class org.sonar.api.utils.LocalizedMessages
-
- format(Notification) - Method in class org.sonar.plugins.emailnotifications.api.EmailTemplate
-
- formatDate(Locale, Date) - Method in interface org.sonar.api.i18n.I18n
-
Return the formatted date.
- formatDate(Date) - Static method in class org.sonar.api.utils.DateUtils
-
- formatDateTime(Locale, Date) - Method in interface org.sonar.api.i18n.I18n
-
Return the formatted datetime.
- formatDateTime(Date) - Static method in class org.sonar.api.utils.DateUtils
-
- formatDateTimeNullSafe(Date) - Static method in class org.sonar.api.utils.DateUtils
-
- formatDouble(Locale, Double) - Method in interface org.sonar.api.i18n.I18n
-
Return the formatted decimal, with always one fraction digit.
- formatDuration(long) - Static method in class org.sonar.api.utils.TimeUtils
-
Label for a duration, expressed in numbers of ms, seconds or minutes.
- formatIntDate(Map<Integer, Date>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- formatIntDateTime(Map<Integer, Date>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- formatIntDouble(Map<Integer, Double>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- formatInteger(Locale, Integer) - Method in interface org.sonar.api.i18n.I18n
-
Return the formatted integer.
- formatIntString(Map<Integer, String>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- formatQuietly(String, Object...) - Method in class org.sonar.api.utils.LocalizedMessages
-
- formatStringInt(Map<String, Integer>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- forMetric(Metric<G>) - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- forMetric(Metric<G>) - Method in interface org.sonar.api.batch.sensor.measure.NewMeasure
-
Set the metric this measure belong to.
- Formula - Interface in org.sonar.api.measures
-
Deprecated.
since 5.2 there's no more decorator on batch side, please use MeasureComputer
instead
- FormulaContext - Interface in org.sonar.api.measures
-
- FormulaData - Interface in org.sonar.api.measures
-
- forPageIndex(int) - Static method in class org.sonar.api.utils.Paging
-
- forResource(Resource) - Method in class org.sonar.api.violations.ViolationQuery
-
Deprecated.
Specifies the resource which violations are search from.
- forRule(RuleKey) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- forRule(RuleKey) - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
-
- FROM - Static variable in class org.sonar.api.config.EmailSettings
-
- FROM_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- fromAbsolutePath(String, List<File>, boolean) - Static method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- fromCheckPriority(Priority) - Static method in enum org.sonar.api.rules.RulePriority
-
Deprecated.
- fromIOFile(File, Project) - Static method in class org.sonar.api.resources.Directory
-
- fromIOFile(File, List<File>) - Static method in class org.sonar.api.resources.File
-
- fromIOFile(File, Project) - Static method in class org.sonar.api.resources.File
-
- fromIOFile(File, Project, boolean) - Static method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- fromIOFile(File, List<File>, boolean) - Static method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- fromParam(String) - Static method in enum org.sonar.api.server.ws.WebService.SelectionMode
-
- fromRelativePath(String, boolean) - Static method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- Function - Interface in org.sonar.api.issue.action
-
- function() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- function() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
-
Deprecated.
- function() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
-
Deprecated.
since 4.3. return null
- function() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- Function.Context - Interface in org.sonar.api.issue.action
-
- FUNCTION_COMPLEXITY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Information about the cyclomatic complexity per function, calculated by divided the complexity in functions by the number of functions.
- FUNCTION_COMPLEXITY_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FUNCTION_COMPLEXITY_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FUNCTION_COMPLEXITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FUNCTION_LINEAR - Static variable in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- FUNCTION_LINEAR_WITH_OFFSET - Static variable in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- functions() - Method in class org.sonar.api.issue.action.Action
-
- FUNCTIONS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- FUNCTIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- GENERATED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- GENERATED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- GENERATED_NCLOC - Static variable in class org.sonar.api.measures.CoreMetrics
-
- GENERATED_NCLOC_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- generateImage(ChartParameters) - Method in class org.sonar.api.charts.AbstractChart
-
Deprecated.
Generates a JFreeChart chart using a set of parameters
- generateImage(ChartParameters) - Method in interface org.sonar.api.charts.Chart
-
Deprecated.
The method to implement to generate the chart
- generateRandomSecretKey() - Method in class org.sonar.api.config.Encryption
-
- generatesMetrics() - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
-
Deprecated.
Each metric is used individually.
- get() - Method in interface org.sonar.api.batch.bootstrap.ProjectKey
-
- get() - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
-
- get(FileSystem.Index) - Method in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
-
- get(FileSystem.Index) - Method in interface org.sonar.api.batch.fs.internal.OptimizedFilePredicate
-
Get all files that are valid for this predicate.
- get(FileSystem.Index) - Method in class org.sonar.api.batch.fs.internal.RelativePathPredicate
-
- get(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- get(String) - Method in class org.sonar.api.resources.Languages
-
Return a language from the current object based on its key
- get(String) - Method in class org.sonar.api.resources.ResourceTypes
-
- get(Class<?>) - Static method in class org.sonar.api.utils.log.Loggers
-
- get(String) - Static method in class org.sonar.api.utils.log.Loggers
-
- getActiveRule(C) - Method in class org.sonar.api.checks.CheckFactory
-
Deprecated.
- getActiveRule(String, String) - Method in class org.sonar.api.profiles.RulesProfile
-
Note: disabled rules are excluded.
- getActiveRule(Rule) - Method in class org.sonar.api.profiles.RulesProfile
-
Note: disabled rules are excluded.
- getActiveRule() - Method in class org.sonar.api.rules.ActiveRuleParam
-
- getActiveRuleByConfigKey(String, String) - Method in class org.sonar.api.profiles.RulesProfile
-
Note: disabled rules are excluded.
- getActiveRuleParams() - Method in class org.sonar.api.rules.ActiveRule
-
- getActiveRules() - Method in class org.sonar.api.profiles.RulesProfile
-
- getActiveRules(boolean) - Method in class org.sonar.api.profiles.RulesProfile
-
- getActiveRules(RulePriority) - Method in class org.sonar.api.profiles.RulesProfile
-
Note: disabled rules are excluded.
- getActiveRulesByRepository(String) - Method in class org.sonar.api.profiles.RulesProfile
-
Get the active rules of a specific repository.
- getAlertStatus() - Method in class org.sonar.api.measures.Measure
-
- getAlertText() - Method in class org.sonar.api.measures.Measure
-
- getAll() - Method in class org.sonar.api.config.PropertyDefinitions
-
- getAll() - Method in class org.sonar.api.resources.ResourceTypes
-
- getAll(Predicate<ResourceType>) - Method in class org.sonar.api.resources.ResourceTypes
-
- getAllWithPropertyKey(String) - Method in class org.sonar.api.resources.ResourceTypes
-
- getAllWithPropertyValue(String, String) - Method in class org.sonar.api.resources.ResourceTypes
-
- getAllWithPropertyValue(String, boolean) - Method in class org.sonar.api.resources.ResourceTypes
-
- getAnalysisDate() - Method in class org.sonar.api.resources.Project
-
- getAnalysisType() - Method in class org.sonar.api.resources.Project
-
Deprecated.
since 4.4 Since 4.3 SQ will no more run tests. So basically it's always reuse report.
- getAnalysisVersion() - Method in class org.sonar.api.resources.Project
-
- getAnnotation(Object, Class<A>) - Static method in class org.sonar.api.utils.AnnotationUtils
-
Searches for a class annotation.
- getArguments() - Method in class org.sonar.api.utils.command.Command
-
- getBaseDir() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getBasedir() - Method in interface org.sonar.api.resources.ProjectFileSystem
-
Deprecated.
Project root directory.
- getBestValue() - Method in class org.sonar.api.measures.Metric
-
- getBinaries() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
Deprecated.
since 4.5.1 use SonarQube Java specific API
- getBoolean(String) - Method in class org.sonar.api.config.Settings
-
- getBooleanProperty(String) - Method in class org.sonar.api.resources.ResourceType
-
Returns the value of the property for this resource type.
- getBooleanValue() - Method in interface org.sonar.api.ce.measure.Measure
-
The value of this measure as a boolean.
- getBooleanValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
-
- getBottomLimits() - Method in class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
Gives the bottom limits of ranges used
- getBranch() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getBranch() - Method in interface org.sonar.api.component.Module
-
- getBranch() - Method in class org.sonar.api.resources.Project
-
- getBuildDir() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getBuildDir() - Method in interface org.sonar.api.resources.ProjectFileSystem
-
Deprecated.
Build directory.
- getBuildOutputDir() - Method in interface org.sonar.api.resources.ProjectFileSystem
-
Deprecated.
Directory where classes are placed.
- getCardinality() - Method in class org.sonar.api.rules.Rule
-
- getCategory(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- getCategory(Property) - Method in class org.sonar.api.config.PropertyDefinitions
-
- getCharacteristic() - Method in class org.sonar.api.measures.Measure
-
- getCharacteristicId() - Method in class org.sonar.api.rules.Rule
-
- getCharacteristicKey() - Method in class org.sonar.api.rules.Rule
-
- getCheck(ActiveRule) - Method in class org.sonar.api.checks.CheckFactory
-
Deprecated.
- getChecks() - Method in class org.sonar.api.checks.CheckFactory
-
Deprecated.
- getChildElement(Element, String) - Method in class org.sonar.api.utils.XpathParser
-
- getChildElement(String) - Method in class org.sonar.api.utils.XpathParser
-
- getChildElements(String) - Method in class org.sonar.api.utils.XpathParser
-
- getChildElements(Element, String) - Method in class org.sonar.api.utils.XpathParser
-
- getChildElementValue(Element, String) - Method in class org.sonar.api.utils.XpathParser
-
- getChildElementValue(String) - Method in class org.sonar.api.utils.XpathParser
-
- getChildren() - Method in interface org.sonar.api.batch.DecoratorContext
-
Child contexts are read only
- getChildren() - Method in class org.sonar.api.batch.DefaultFormulaData
-
- getChildren(Resource) - Method in interface org.sonar.api.batch.SensorContext
-
- getChildren(Resource) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
- getChildren() - Method in interface org.sonar.api.measures.FormulaData
-
- getChildren(String) - Method in class org.sonar.api.resources.ResourceTypes
-
- getChildren(String) - Method in class org.sonar.api.resources.ResourceTypeTree
-
- getChildrenMeasures(MeasuresFilter) - Method in interface org.sonar.api.batch.DecoratorContext
-
Never return null.
- getChildrenMeasures(Metric) - Method in interface org.sonar.api.batch.DecoratorContext
-
- getChildrenMeasures(MeasuresFilter) - Method in class org.sonar.api.batch.DefaultFormulaData
-
- getChildrenMeasures(Metric) - Method in class org.sonar.api.batch.DefaultFormulaData
-
- getChildrenMeasures(String) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Returns measures from a given metric on children of the current component.
- getChildrenMeasures(String) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- getChildrenMeasures(MeasuresFilter) - Method in interface org.sonar.api.measures.FormulaData
-
- getChildrenMeasures(Metric) - Method in interface org.sonar.api.measures.FormulaData
-
- getChildrenQualifiers(String) - Method in class org.sonar.api.resources.ResourceTypes
-
- getClassAnnotation(Object, Class<A>) - Static method in class org.sonar.api.utils.AnnotationUtils
-
- getClassloader() - Method in class org.sonar.api.batch.ProjectClasspath
-
Deprecated.
- getClearString(String) - Method in class org.sonar.api.config.Settings
-
Does not decrypt value.
- getCode() - Method in enum org.sonar.api.web.DashboardLayout
-
- getColorName() - Method in enum org.sonar.api.measures.Metric.Level
-
- getColumns() - Method in enum org.sonar.api.web.DashboardLayout
-
- getColumns() - Method in class org.sonar.api.web.Filter
-
- getCommand() - Method in exception org.sonar.api.utils.command.CommandException
-
- getComponent() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Returns the current component.
- getComponent() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- getConditions() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getConditionsByLine() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getConfigKey() - Method in class org.sonar.api.rules.ActiveRule
-
- getConfigKey() - Method in class org.sonar.api.rules.Rule
-
- getConfigKey() - Method in class org.sonar.api.rules.RuleQuery
-
- getContainerExtensions() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getContextPath() - Method in class org.sonar.api.platform.Server
-
- getCoveredConditions() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getCoveredConditionsByLine() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getCoveredLines() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getCreatedAt() - Method in class org.sonar.api.rules.Rule
-
- getCreatedAt() - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- getCriteria() - Method in class org.sonar.api.web.Filter
-
- getData() - Method in class org.sonar.api.measures.Measure
-
- getDataAsLevel() - Method in class org.sonar.api.measures.Measure
-
- getDate(String) - Method in class org.sonar.api.config.Settings
-
- getDate() - Method in class org.sonar.api.measures.Measure
-
- getDateTime(String) - Method in class org.sonar.api.config.Settings
-
- getDeclarationEndOffset() - Method in interface org.sonar.api.source.Symbol
-
Deprecated.
in 5.2 not used.
- getDeclarationStartOffset() - Method in interface org.sonar.api.source.Symbol
-
Deprecated.
in 5.2 not used.
- getDecorator() - Method in interface org.sonar.api.batch.events.DecoratorExecutionHandler.DecoratorExecutionEvent
-
Deprecated.
- getDecorators() - Method in interface org.sonar.api.batch.events.DecoratorsPhaseHandler.DecoratorsPhaseEvent
-
Deprecated.
- getDefaultCharacteristicId() - Method in class org.sonar.api.rules.Rule
-
- getDefaultCharacteristicKey() - Method in class org.sonar.api.rules.Rule
-
- getDefaultMessage() - Method in class org.sonar.api.notifications.Notification
-
Returns the default message to display for this notification.
- getDefaultProfile() - Method in class org.sonar.api.profiles.RulesProfile
-
- getDefaultSubCharacteristicKey() - Method in class org.sonar.api.rules.Rule
-
- getDefaultTimeZone() - Method in class org.sonar.api.utils.System2
-
- getDefaultValue(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- getDefaultValue(String) - Method in class org.sonar.api.config.Settings
-
- getDefaultValue() - Method in class org.sonar.api.rules.RuleParam
-
- getDefaultValueAsBoolean() - Method in class org.sonar.api.rules.RuleParam
-
- getDefaultValueAsInteger() - Method in class org.sonar.api.rules.RuleParam
-
- getDefinitions() - Method in class org.sonar.api.config.Settings
-
- getDeleteHistoricalData() - Method in class org.sonar.api.measures.Metric
-
- getDependencies() - Method in class org.sonar.api.utils.dag.Node
-
- getDeployDir() - Method in class org.sonar.api.platform.Server
-
- getDeprecatedKey(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- getDescription() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getDescription() - Method in interface org.sonar.api.component.Module
-
- getDescription(String, String, Locale) - Method in interface org.sonar.api.i18n.RuleI18n
-
Deprecated.
since 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
- getDescription(String, String) - Method in interface org.sonar.api.i18n.RuleI18n
-
Deprecated.
Returns the description of the rule identified by its repository key and rule key.
- getDescription() - Method in class org.sonar.api.measures.Measure
-
- getDescription() - Method in class org.sonar.api.measures.Metric
-
- getDescription() - Method in class org.sonar.api.resources.Directory
-
- getDescription() - Method in class org.sonar.api.resources.File
- getDescription() - Method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- getDescription() - Method in class org.sonar.api.resources.JavaPackage
-
Deprecated.
- getDescription() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- getDescription() - Method in class org.sonar.api.resources.Method
-
Deprecated.
- getDescription() - Method in class org.sonar.api.resources.Project
-
- getDescription() - Method in class org.sonar.api.resources.Resource
-
- getDescription() - Method in class org.sonar.api.rules.Rule
-
- getDescription() - Method in class org.sonar.api.rules.RuleParam
-
- getDescription() - Method in class org.sonar.api.web.Dashboard
-
Returns the description of the dashboard.
- getDirection() - Method in class org.sonar.api.measures.Metric
-
- getDirectory() - Method in class org.sonar.api.utils.command.Command
-
- getDisplayAs() - Method in class org.sonar.api.web.Filter
-
Get the type of display used by this
Filter
.
- getDocument() - Method in class org.sonar.api.utils.XpathParser
-
- getDomain() - Method in class org.sonar.api.measures.Metric
-
- getDouble(String) - Method in class org.sonar.api.config.Settings
-
- getDoubleValue() - Method in interface org.sonar.api.ce.measure.Measure
-
The value of this measure as a double.
- getDoubleValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
-
- getDurationSinceLocked() - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- getEffectiveKey() - Method in class org.sonar.api.resources.Resource
-
- getElements() - Method in class org.sonar.api.batch.ProjectClasspath
-
Deprecated.
bytecode directory + JARs (dependencies)
- getElementValue(Node) - Method in class org.sonar.api.utils.XpathParser
-
- getEmail() - Method in class org.sonar.api.database.model.User
-
- getEmail() - Method in class org.sonar.api.platform.NewUserHandler.Context
-
- getEmail() - Method in class org.sonar.api.security.UserDetails
-
- getEnabled() - Method in class org.sonar.api.measures.Metric
-
- getEncryption() - Method in class org.sonar.api.config.Settings
-
- getEnvironmentVariables() - Method in class org.sonar.api.utils.command.Command
-
Environment variables that are propagated during command execution.
- getErrorKey() - Method in class org.sonar.api.config.PropertyDefinition.Result
-
- getErrors() - Method in class org.sonar.api.utils.ValidationMessages
-
- getExecutable() - Method in class org.sonar.api.utils.command.Command
-
- getExpirationDate() - Method in class org.sonar.api.config.License
-
- getExpirationDateAsString() - Method in class org.sonar.api.config.License
-
- getExtensions(String, String...) - Method in interface org.sonar.api.platform.ServerFileSystem
-
- getExtensions() - Method in class org.sonar.api.SonarPlugin
-
Classes of the implemented extensions.
- getFamily() - Method in class org.sonar.api.web.Criterion
-
Get the the criterion's family.
- getFamily() - Method in class org.sonar.api.web.FilterColumn
-
Get the the column's family.
- getFields(Class, boolean) - Static method in class org.sonar.api.utils.FieldUtils2
-
Get accessible Field
breaking scope if requested.
- getFieldValue(String) - Method in class org.sonar.api.notifications.Notification
-
Returns the value of a field.
- getFile() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- getFile() - Method in interface org.sonar.api.resources.InputFile
-
Deprecated.
Get the underlying file.
- getFileAttributes() - Method in interface org.sonar.api.ce.measure.Component
-
The attributes of the Component if it's type is File.
- getFileAttributes() - Method in class org.sonar.api.ce.measure.test.TestComponent
-
- getFileBaseDir() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- getFileBaseDir() - Method in interface org.sonar.api.resources.InputFile
-
Deprecated.
The source base directory, different than the project basedir.
- getFileFromBuildDirectory(String) - Method in interface org.sonar.api.resources.ProjectFileSystem
-
Deprecated.
- getFileSuffixes() - Method in class org.sonar.api.resources.Java
-
Deprecated.
For example ["jav", "java"].
- getFileSuffixes() - Method in interface org.sonar.api.resources.Language
-
For example ["jav", "java"].
- getFileSystem() - Method in class org.sonar.api.resources.Project
-
- getFloat(String) - Method in class org.sonar.api.config.Settings
-
- getFormula() - Method in class org.sonar.api.measures.Metric
-
Deprecated.
since 5.2 there's no more decorator on batch side, please use MeasureComputer
instead
- getFrom() - Method in class org.sonar.api.config.EmailSettings
-
- getFrom() - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- getFrom() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- getFullyQualifiedName() - Method in interface org.sonar.api.source.Symbol
-
Deprecated.
in 4.3 not used.
- getGroupsProvider() - Method in class org.sonar.api.security.SecurityRealm
-
- getHeader(String) - Method in interface org.sonar.api.server.ws.Response
-
- getHeaderNames() - Method in interface org.sonar.api.server.ws.Response
-
- getHeight() - Method in class org.sonar.api.charts.ChartParameters
-
Deprecated.
Get the chart height
- getHitsByLine() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getHomeDir() - Method in interface org.sonar.api.platform.ServerFileSystem
-
- getHtml() - Method in interface org.sonar.api.web.Footer
-
Static HTML (no Ruby on Rails)
- getIconPath() - Method in class org.sonar.api.resources.ResourceType
-
Returns the relative path of the icon used to represent the resource type
- getId() - Method in class org.sonar.api.database.BaseIdentifiable
-
- getId() - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- getId() - Method in class org.sonar.api.measures.Metric
-
For internal use only
- getId() - Method in class org.sonar.api.platform.Server
-
- getId() - Method in class org.sonar.api.profiles.RulesProfile
-
- getId() - Method in class org.sonar.api.resources.Resource
-
- getId() - Method in class org.sonar.api.rules.ActiveRule
-
- getId() - Method in class org.sonar.api.rules.ActiveRuleParam
-
- getId() - Method in class org.sonar.api.rules.Rule
-
- getId() - Method in class org.sonar.api.rules.RuleParam
-
- getId() - Method in class org.sonar.api.web.AbstractDashboardWidget
-
Deprecated.
- getId() - Method in class org.sonar.api.web.Dashboard.Widget
-
Returns the identifier of this widget.
- getId() - Method in interface org.sonar.api.web.View
-
- getId() - Method in interface org.sonar.api.web.Webservice
-
Deprecated.
- getInfos() - Method in class org.sonar.api.utils.ValidationMessages
-
- getInheritance() - Method in class org.sonar.api.rules.ActiveRule
-
For internal use only.
- getInitialDbVersion() - Method in interface org.sonar.api.platform.ServerUpgradeStatus
-
The database version before the server startup.
- getInitializer() - Method in interface org.sonar.api.batch.events.InitializerExecutionHandler.InitializerExecutionEvent
-
- getInitializers() - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler.InitializersPhaseEvent
-
- getInputMetrics() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition
-
- getInputMetrics() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition
-
- getInputStream() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- getInputStream() - Method in interface org.sonar.api.resources.InputFile
-
Deprecated.
- getInt(String) - Method in class org.sonar.api.config.Settings
-
- getIntValue() - Method in interface org.sonar.api.ce.measure.Measure
-
The value of this measure as a integer.
- getIntValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
-
- getIntValue(String, int) - Method in interface org.sonar.api.measures.FileLinesContext
-
Deprecated.
since 5.0 sensors should not read data
- getIntValue() - Method in class org.sonar.api.measures.Measure
-
- getIssues() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Return list of all issues (open, closed, etc.) of current component.
- getIssues() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- getJavaSourceFiles() - Method in interface org.sonar.api.resources.ProjectFileSystem
-
- getKey() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getKey() - Method in interface org.sonar.api.ce.measure.Component
-
- getKey() - Method in class org.sonar.api.ce.measure.test.TestComponent
-
- getKey() - Method in interface org.sonar.api.charts.Chart
-
Deprecated.
- getKey() - Method in class org.sonar.api.config.GlobalPropertyChangeHandler.PropertyChange
-
- getKey() - Method in class org.sonar.api.measures.Metric
-
- getKey() - Method in class org.sonar.api.notifications.NotificationChannel
-
Returns the unique key of this channel.
- getKey() - Method in class org.sonar.api.profiles.ProfileExporter
-
- getKey() - Method in class org.sonar.api.profiles.ProfileImporter
-
- getKey() - Method in class org.sonar.api.resources.AbstractLanguage
-
For example "java".
- getKey() - Method in interface org.sonar.api.resources.Language
-
For example "java".
- getKey() - Method in class org.sonar.api.resources.Resource
-
- getKey() - Method in class org.sonar.api.rules.ActiveRuleParam
-
- getKey() - Method in class org.sonar.api.rules.Rule
-
- getKey() - Method in class org.sonar.api.rules.RuleParam
-
- getKey() - Method in class org.sonar.api.rules.RuleQuery
-
- getKey() - Method in class org.sonar.api.rules.RuleRepository
-
Deprecated.
- getKey() - Method in class org.sonar.api.web.Criterion
-
Get the the criterion's key.
- getKey() - Method in class org.sonar.api.web.FilterColumn
-
Get the the column's key.
- getKeys() - Method in class org.sonar.api.utils.LocalizedMessages
-
- getKeysStartingWith(String) - Method in class org.sonar.api.config.Settings
-
- getKeyWithBranch() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getLanguage() - Method in class org.sonar.api.batch.AbstractSourceImporter
-
Deprecated.
- getLanguage() - Method in interface org.sonar.api.batch.CpdMapping
-
- getLanguage() - Method in class org.sonar.api.profiles.RulesProfile
-
- getLanguage() - Method in class org.sonar.api.resources.Directory
-
- getLanguage() - Method in class org.sonar.api.resources.File
- getLanguage() - Method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- getLanguage() - Method in class org.sonar.api.resources.JavaPackage
-
Deprecated.
- getLanguage() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- getLanguage() - Method in class org.sonar.api.resources.Method
-
Deprecated.
- getLanguage() - Method in class org.sonar.api.resources.Project
-
- 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.resources.Project
-
- getLanguageKey() - Method in class org.sonar.api.web.CodeColorizerFormat
-
Deprecated.
- getLayout() - Method in class org.sonar.api.web.Dashboard
-
Returns the layout.
- getLeaves() - Method in class org.sonar.api.resources.ResourceTypeTree
-
- getLeavesQualifiers(String) - Method in class org.sonar.api.resources.ResourceTypes
-
- getLevel() - Method in interface org.sonar.api.utils.log.Logger
-
- getLevel() - Method in class org.sonar.api.utils.log.Loggers
-
- getLibraries() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
Deprecated.
since 4.5.1 use SonarQube Java specific API
- getLinesToCover() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- getLocale() - Method in class org.sonar.api.charts.ChartParameters
-
Deprecated.
Get the Locale
- getLocale() - Method in class org.sonar.api.utils.LocalizedMessages
-
- getLockedAt() - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- getLogger() - Method in class org.sonar.api.utils.TimeProfiler
-
Deprecated.
- getLogin() - Method in class org.sonar.api.database.model.User
-
- getLogin() - Method in class org.sonar.api.platform.NewUserHandler.Context
-
- getLoginPasswordAuthenticator() - Method in class org.sonar.api.security.SecurityRealm
-
Deprecated.
replaced by doGetAuthenticator in version 3.1
- getLong(String) - Method in class org.sonar.api.config.Settings
-
- getLongName() - Method in class org.sonar.api.resources.Directory
-
- getLongName() - Method in class org.sonar.api.resources.File
- getLongName() - Method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- getLongName() - Method in class org.sonar.api.resources.JavaPackage
-
Deprecated.
- getLongName() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- getLongName() - Method in class org.sonar.api.resources.Method
-
Deprecated.
- getLongName() - Method in class org.sonar.api.resources.Project
-
- getLongName() - Method in class org.sonar.api.resources.Resource
-
- getLongValue() - Method in interface org.sonar.api.ce.measure.Measure
-
The value of this measure as a long.
- getLongValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
-
- getMeasure(Metric) - Method in interface org.sonar.api.batch.DecoratorContext
-
Find a measure for the resource
- getMeasure(Metric) - Method in class org.sonar.api.batch.DefaultFormulaData
-
- getMeasure(Metric<G>) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
since 5.1 Sensors should not read but only save data
- getMeasure(Resource, Metric<G>) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
since 5.1 Sensors should not read but only save data
- getMeasure(Resource, Metric<?>) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
- getMeasure(String) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Returns the measure from a given metric on the current component.
- getMeasure(String) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- getMeasure(Metric) - Method in interface org.sonar.api.measures.FormulaData
-
- getMeasures(MeasuresFilter<M>) - Method in interface org.sonar.api.batch.DecoratorContext
-
Never return null.
- getMeasures(MeasuresFilter<M>) - Method in class org.sonar.api.batch.DefaultFormulaData
-
- getMeasures(MeasuresFilter<M>) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
since 5.1 Sensors should not read but only save data
- getMeasures(Resource, MeasuresFilter<M>) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
since 5.1 Sensors should not read but only save data
- getMeasures(Resource, MeasuresFilter<M>) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
- getMeasures(MeasuresFilter<M>) - Method in interface org.sonar.api.measures.FormulaData
-
- getMediaType() - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- getMediaType() - Method in class org.sonar.api.server.ws.Request
-
Returns the requested MIME type, or "application/octet-stream"
if not specified.
- getMessage() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- getMessageId() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- getMetric(String) - Static method in class org.sonar.api.measures.CoreMetrics
-
- getMetric() - Method in class org.sonar.api.measures.Measure
-
- getMetric() - Method in class org.sonar.api.measures.PropertiesBuilder
-
- getMetricKey() - Method in class org.sonar.api.measures.Measure
-
- getMetrics() - Static method in class org.sonar.api.measures.CoreMetrics
-
- getMetrics() - Method in interface org.sonar.api.measures.Metrics
-
- getMimeType() - Method in class org.sonar.api.profiles.ProfileExporter
-
- getMinimumScopeToPersist() - Method in class org.sonar.api.measures.SumChildDistributionFormula
-
Deprecated.
- getModules() - Method in class org.sonar.api.resources.Project
-
- getName() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getName() - Method in class org.sonar.api.database.model.User
-
- getName(String, String, Locale) - Method in interface org.sonar.api.i18n.RuleI18n
-
Deprecated.
since 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
- getName(String, String) - Method in interface org.sonar.api.i18n.RuleI18n
-
Deprecated.
Returns the name of the rule identified by its repository key and rule key.
- getName(Rule, Locale) - Method in interface org.sonar.api.i18n.RuleI18n
-
Deprecated.
since 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
- getName(Rule) - Method in interface org.sonar.api.i18n.RuleI18n
-
Deprecated.
Returns the name of the rule.
- getName() - Method in class org.sonar.api.measures.Metric
-
- getName() - Method in class org.sonar.api.platform.NewUserHandler.Context
-
- getName() - Method in class org.sonar.api.profiles.ProfileExporter
-
- getName() - Method in class org.sonar.api.profiles.ProfileImporter
-
- getName() - Method in class org.sonar.api.profiles.RulesProfile
-
- getName() - Method in class org.sonar.api.resources.AbstractLanguage
-
For example "Java"
- getName() - Method in class org.sonar.api.resources.Directory
-
- getName() - Method in class org.sonar.api.resources.File
- getName() - Method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- getName() - Method in class org.sonar.api.resources.JavaPackage
-
Deprecated.
- getName() - Method in interface org.sonar.api.resources.Language
-
For example "Java"
- getName() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- getName() - Method in class org.sonar.api.resources.Method
-
Deprecated.
- getName() - Method in class org.sonar.api.resources.Project
-
- getName() - Method in class org.sonar.api.resources.Resource
-
- getName() - Method in class org.sonar.api.rules.Rule
-
- getName() - Method in class org.sonar.api.rules.RuleRepository
-
Deprecated.
- getName(boolean) - Method in class org.sonar.api.rules.RuleRepository
-
Deprecated.
- getName() - Method in class org.sonar.api.security.SecurityRealm
-
- getName() - Method in class org.sonar.api.security.UserDetails
-
- getName() - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- getName() - Method in class org.sonar.api.web.DashboardTemplate
-
Dashboard name
- getName() - Method in class org.sonar.api.web.FilterTemplate
-
Filter name
- getNewKey(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- getNewValue() - Method in class org.sonar.api.config.GlobalPropertyChangeHandler.PropertyChange
-
- getNoteCreatedAt() - Method in class org.sonar.api.rules.ActiveRule
-
Deprecated.
in 4.4. Feature dropped.
- getNoteData() - Method in class org.sonar.api.rules.ActiveRule
-
Deprecated.
in 4.4. Feature dropped.
- getNoteUpdatedAt() - Method in class org.sonar.api.rules.ActiveRule
-
Deprecated.
in 4.4. Feature dropped.
- getNoteUserLogin() - Method in class org.sonar.api.rules.ActiveRule
-
Deprecated.
in 4.4. Feature dropped.
- getObject() - Method in class org.sonar.api.utils.dag.Node
-
- getOperator() - Method in class org.sonar.api.web.Criterion
-
Get the the criterion's operator.
- getOrganization() - Method in class org.sonar.api.config.License
-
- getOutput() - Method in class org.sonar.api.utils.command.StringStreamConsumer
-
- getOutputMetrics() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition
-
- getOutputMetrics() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition
-
- getPageSize() - Method in class org.sonar.api.web.Filter
-
Get the size of a page displayed this
Filter
.
- getParam(String) - Method in class org.sonar.api.rules.Rule
-
- getParamDescription(String, String, String, Locale) - Method in interface org.sonar.api.i18n.RuleI18n
-
Deprecated.
since 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
- getParamDescription(String, String, String) - Method in interface org.sonar.api.i18n.RuleI18n
-
Deprecated.
Returns the name of the rule parameter identified by the rules's key and repository key, and by the parameter key.
- getParameter(String) - Method in class org.sonar.api.rules.ActiveRule
-
- getParamKey() - Method in class org.sonar.api.rules.ActiveRuleParam
-
- getParams() - Method in class org.sonar.api.rules.Rule
-
- getParent() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getParent(Resource) - Method in interface org.sonar.api.batch.SensorContext
-
- getParent(Resource) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
- getParent() - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- getParent() - Method in class org.sonar.api.resources.Directory
-
- getParent() - Method in class org.sonar.api.resources.File
-
The parent is used to build the resources tree, for example for relations between files, directories and projects.
- getParent() - Method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- getParent() - Method in class org.sonar.api.resources.JavaPackage
-
Deprecated.
- getParent() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- getParent() - Method in class org.sonar.api.resources.Method
-
Deprecated.
- getParent() - Method in class org.sonar.api.resources.Project
-
- getParent() - Method in class org.sonar.api.resources.Resource
-
The parent is used to build the resources tree, for example for relations between files, directories and projects.
- getParent() - Method in class org.sonar.api.rules.Rule
-
- getParentName() - Method in class org.sonar.api.profiles.RulesProfile
-
For internal use only.
- getPassword() - Method in class org.sonar.api.security.Authenticator.Context
-
Password can be null, for example when using
CAS.
- getPath() - Method in class org.sonar.api.resources.Resource
-
- getPermanentServerId() - Method in class org.sonar.api.platform.Server
-
- getPersistenceMode() - Method in class org.sonar.api.measures.Measure
-
Gets the persistence mode of the measure.
- getPersonId() - Method in class org.sonar.api.measures.Measure
-
- getPlot(ChartParameters) - Method in class org.sonar.api.charts.AbstractChart
-
Deprecated.
- getPluginName() - Method in class org.sonar.api.rules.ActiveRule
-
- getPostJob() - Method in interface org.sonar.api.batch.events.PostJobExecutionHandler.PostJobExecutionEvent
-
- getPostJobs() - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler.PostJobsPhaseEvent
-
- getPrefix() - Method in class org.sonar.api.config.EmailSettings
-
- getPriority() - Method in class org.sonar.api.rules.ActiveRule
-
- getProduct() - Method in class org.sonar.api.config.License
-
- getProject(String) - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
-
- getProject() - Method in interface org.sonar.api.batch.DecoratorContext
-
- getProject() - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler.ProjectAnalysisEvent
-
- getProject() - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
- getProjects() - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
-
- getProperties() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getProperties() - Method in class org.sonar.api.config.Settings
-
- getProperties() - Method in class org.sonar.api.web.Dashboard.Widget
-
Returns the properties of this widget.
- getProperty(String) - Method in class org.sonar.api.web.Dashboard.Widget
-
- getPropertyKey() - Method in class org.sonar.api.issue.condition.HasIssuePropertyCondition
-
- getPropertyValues(ClassLoader, String) - Static method in class org.sonar.api.utils.ManifestUtils
-
Search for a property in all the manifests found in the classloader
- getProps() - Method in class org.sonar.api.measures.PropertiesBuilder
-
- getQualifier() - Method in class org.sonar.api.resources.Directory
-
- getQualifier() - Method in class org.sonar.api.resources.File
-
Returns the qualifier associated to this File.
- getQualifier() - Method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- getQualifier() - Method in class org.sonar.api.resources.JavaPackage
-
Deprecated.
- getQualifier() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- getQualifier() - Method in class org.sonar.api.resources.Method
-
Deprecated.
- getQualifier() - Method in class org.sonar.api.resources.Project
-
- getQualifier() - Method in class org.sonar.api.resources.Resource
-
The qualifier tells the type of the resource.
- getQualifier() - Method in class org.sonar.api.resources.ResourceType
-
Qualifier is the unique key.
- getQualitative() - Method in class org.sonar.api.measures.Metric
-
- getRelativeDirectory(InputFile) - Static method in class org.sonar.api.resources.InputFileUtils
-
Deprecated.
Extract the directory from relative path.
- getRelativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- getRelativePath() - Method in interface org.sonar.api.resources.InputFile
-
Deprecated.
Path relative to basedir.
- getReportOutputDir() - Method in interface org.sonar.api.resources.ProjectFileSystem
-
Deprecated.
- getRepositoryKey() - Method in class org.sonar.api.checks.CheckFactory
-
Deprecated.
- getRepositoryKey() - Method in class org.sonar.api.rules.ActiveRule
-
- getRepositoryKey() - Method in class org.sonar.api.rules.Rule
-
- getRepositoryKey() - Method in class org.sonar.api.rules.RuleQuery
-
- getRequest() - Method in class org.sonar.api.security.Authenticator.Context
-
- getRequest() - Method in class org.sonar.api.security.ExternalGroupsProvider.Context
-
- getRequest() - Method in class org.sonar.api.security.ExternalUsersProvider.Context
-
- getRequirement() - Method in class org.sonar.api.measures.Measure
-
- getResource() - Method in interface org.sonar.api.batch.DecoratorContext
-
- getResource() - Method in class org.sonar.api.batch.DefaultFormulaContext
-
- getResource(R) - Method in interface org.sonar.api.batch.SensorContext
-
Search for an indexed resource.
- getResource(InputPath) - Method in interface org.sonar.api.batch.SensorContext
-
- getResource(R) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
Search for an indexed resource.
- getResource() - Method in interface org.sonar.api.measures.FormulaContext
-
- getResource() - Method in class org.sonar.api.violations.ViolationQuery
-
Deprecated.
Returns the resource which violations are search from.
- getResources() - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
- getResponseCode() - Method in exception org.sonar.api.utils.HttpDownloader.HttpException
-
- getResponseContent() - Method in exception org.sonar.api.utils.HttpDownloader.HttpException
-
- getRoot() - Method in class org.sonar.api.batch.bootstrap.ProjectReactor
-
- getRoot() - Method in class org.sonar.api.resources.Project
-
- getRoot(String) - Method in class org.sonar.api.resources.ResourceTypes
-
- getRoot() - Method in class org.sonar.api.utils.XpathParser
-
- getRootDir() - Method in class org.sonar.api.platform.Server
-
- getRoots() - Method in class org.sonar.api.resources.ResourceTypes
-
- getRootType() - Method in class org.sonar.api.resources.ResourceTypeTree
-
- getRule() - Method in class org.sonar.api.measures.RuleMeasure
-
- 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
-
- getScope() - Method in class org.sonar.api.resources.Directory
-
- getScope() - Method in class org.sonar.api.resources.File
-
- getScope() - Method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- getScope() - Method in class org.sonar.api.resources.JavaPackage
-
Deprecated.
- getScope() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- getScope() - Method in class org.sonar.api.resources.Method
-
Deprecated.
- getScope() - Method in class org.sonar.api.resources.Project
-
- getScope() - Method in class org.sonar.api.resources.Resource
-
- getSecureConnection() - Method in class org.sonar.api.config.EmailSettings
-
- getSensor() - Method in interface org.sonar.api.batch.events.SensorExecutionHandler.SensorExecutionEvent
-
- getSensors() - Method in interface org.sonar.api.batch.events.SensorsPhaseHandler.SensorsPhaseEvent
-
- getServer() - Method in class org.sonar.api.config.License
-
- getServerBaseURL() - Method in class org.sonar.api.config.EmailSettings
-
- getSettings() - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerContext
-
Returns settings of the current component.
- getSettings() - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- getSettings() - Method in class org.sonar.api.resources.Project
-
- getSeverity() - Method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- getSeverity() - Method in class org.sonar.api.rules.ActiveRule
-
- getSeverity() - Method in class org.sonar.api.rules.Rule
-
- getSmtpHost() - Method in class org.sonar.api.config.EmailSettings
-
- getSmtpPassword() - Method in class org.sonar.api.config.EmailSettings
-
- getSmtpPort() - Method in class org.sonar.api.config.EmailSettings
-
- getSmtpUsername() - Method in class org.sonar.api.config.EmailSettings
-
- getSonarWorkingDirectory() - Method in interface org.sonar.api.resources.ProjectFileSystem
-
Deprecated.
- getSortDirection() - Method in class org.sonar.api.web.FilterColumn
-
Get the the column's sort direction.
- getSource(Resource) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
since 5.0 sources are no more stored in SQ as a single blob. Use InputFile.file()
to read file content from disk.
- getSourceCharset() - Method in interface org.sonar.api.resources.ProjectFileSystem
-
Deprecated.
Source encoding.
- getSourceDirs() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getSourceDirs() - Method in interface org.sonar.api.resources.ProjectFileSystem
-
Deprecated.
The list of existing directories with sources
- getSourceFiles() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getSourceFiles(Language...) - Method in interface org.sonar.api.resources.ProjectFileSystem
-
- getStartedAt() - Method in class org.sonar.api.platform.Server
-
- getStatus() - Method in class org.sonar.api.rules.Rule
-
- getString(String) - Method in interface org.sonar.api.ce.measure.Settings
-
Returns the property as a string
Matching on key is case sensitive
- getString(String) - Method in class org.sonar.api.ce.measure.test.TestSettings
-
- getString(String) - Method in class org.sonar.api.config.Settings
-
- getStringArray(String) - Method in interface org.sonar.api.ce.measure.Settings
-
Returns the property as a an array
Returns an empty array if no property is found for this key
Matching on key is case sensitive
- getStringArray(String) - Method in class org.sonar.api.ce.measure.test.TestSettings
-
- getStringArray(String) - Method in class org.sonar.api.config.Settings
-
Value is split by comma and trimmed.
- getStringArrayBySeparator(String, String) - Method in class org.sonar.api.config.Settings
-
Value is splitted and trimmed.
- getStringLines(String) - Method in class org.sonar.api.config.Settings
-
Value is split by carriage returns.
- getStringProperty(String) - Method in class org.sonar.api.resources.ResourceType
-
Returns the value of the property for this resource type.
- getStringValue() - Method in interface org.sonar.api.ce.measure.Measure
-
The value of this measure as a string.
- getStringValue() - Method in class org.sonar.api.ce.measure.test.TestMeasure
-
- getStringValue(String, int) - Method in interface org.sonar.api.measures.FileLinesContext
-
Deprecated.
since 5.0 sensors should not read data
- getSubCategory(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- getSubCharacteristicKey() - Method in class org.sonar.api.rules.Rule
-
- getSubject() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- getSubProjects() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getSuffixes(String...) - Method in class org.sonar.api.resources.Languages
-
- getSupportedLanguages() - Method in class org.sonar.api.profiles.ProfileExporter
-
- getSupportedLanguages() - Method in class org.sonar.api.profiles.ProfileImporter
-
- getSupportedSchemes() - Method in class org.sonar.api.utils.UriReader.SchemeProcessor
-
- getSwitchMode() - Method in class org.sonar.api.violations.ViolationQuery
-
Deprecated.
- getSyntaxHighlightingRuleSet() - Method in class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
-
- getSystemTags() - Method in class org.sonar.api.rules.Rule
-
For internal use
- getTags() - Method in class org.sonar.api.rules.Rule
-
For definition of rule only
- getTargetMetric() - Method in class org.sonar.api.batch.DefaultFormulaContext
-
- getTargetMetric() - Method in interface org.sonar.api.measures.FormulaContext
-
- getTempDir() - Method in interface org.sonar.api.platform.ServerFileSystem
-
- getTemplate() - Method in class org.sonar.api.rules.Rule
-
- getTemplate() - Method in class org.sonar.api.web.AbstractRubyTemplate
-
- getTemplate() - Method in interface org.sonar.api.web.RubyRailsPage
-
- getTemplate() - Method in interface org.sonar.api.web.RubyRailsWebservice
-
Deprecated.
- getTemplate() - Method in interface org.sonar.api.web.RubyRailsWidget
-
- getTemplatePath() - Method in class org.sonar.api.web.AbstractRubyTemplate
-
the path of the template.
- getTendency() - Method in class org.sonar.api.measures.Measure
-
Deprecated.
since 5.2. See https://jira.sonarsource.com/browse/SONAR-6392
- getTestDirs() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getTestDirs() - Method in interface org.sonar.api.resources.ProjectFileSystem
-
Deprecated.
The list of existing directories with tests
- getTestFiles() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getTestFiles(Language...) - Method in interface org.sonar.api.resources.ProjectFileSystem
-
- getTextType() - Method in class org.sonar.api.batch.sensor.highlighting.internal.SyntaxHighlightingRule
-
- getTextValue() - Method in class org.sonar.api.web.Criterion
-
Get the the criterion's value as text.
- getTitle() - Method in class org.sonar.api.web.AbstractDashboardWidget
-
Deprecated.
- getTitle() - Method in interface org.sonar.api.web.View
-
- getTo() - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- getTo() - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- getTokenizer() - Method in interface org.sonar.api.batch.CpdMapping
-
- getTokenizers() - Method in class org.sonar.api.web.CodeColorizerFormat
-
Deprecated.
sonar-colorizer tokenizers for HTML output.
- getTree(String) - Method in class org.sonar.api.resources.ResourceTypes
-
- getType() - Method in interface org.sonar.api.ce.measure.Component
-
- getType() - Method in class org.sonar.api.ce.measure.test.TestComponent
-
- getType() - Method in class org.sonar.api.config.License
-
- getType() - Method in class org.sonar.api.measures.Metric
-
- getType() - Method in class org.sonar.api.notifications.Notification
-
Returns the type of the notification
- getType() - Method in class org.sonar.api.rules.RuleParam
-
- getTypes() - Method in class org.sonar.api.resources.ResourceTypeTree
-
- getUnit() - Method in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- getUpdatedAt() - Method in class org.sonar.api.rules.Rule
-
- getUpdatedAt() - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- getUri() - Method in exception org.sonar.api.utils.HttpDownloader.HttpException
-
- getUrl() - Method in class org.sonar.api.measures.Measure
-
- getURL() - Method in class org.sonar.api.platform.Server
-
- getUrl() - Method in class org.sonar.api.web.ServletFilter.UrlPattern
-
- getUsage() - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- getUsed() - Method in class org.sonar.api.profiles.RulesProfile
-
Deprecated.
profile versioning is dropped in 4.4. Always returns null.
- getUserId() - Method in class org.sonar.api.security.UserDetails
-
- getUserManaged() - Method in class org.sonar.api.measures.Metric
-
- getUsername() - Method in class org.sonar.api.security.Authenticator.Context
-
Username can be null, for example when using
CAS.
- getUsername() - Method in class org.sonar.api.security.ExternalGroupsProvider.Context
-
- getUsername() - Method in class org.sonar.api.security.ExternalUsersProvider.Context
-
- getUsersProvider() - Method in class org.sonar.api.security.SecurityRealm
-
- getUuid() - Method in class org.sonar.api.resources.Resource
-
- getValue(String) - Method in class org.sonar.api.charts.ChartParameters
-
Deprecated.
Shortcut to getValue with no decoding and no default value
- getValue(String, String, boolean) - Method in class org.sonar.api.charts.ChartParameters
-
Deprecated.
Returns the [decoded or not] value of a param from its key or the default value
if id does not exist
- getValue() - Method in class org.sonar.api.measures.Measure
-
- getValue(Measure, Double) - Static method in class org.sonar.api.measures.MeasureUtils
-
Get the value of a measure, or alternatively a default value
- getValue() - Method in class org.sonar.api.rules.ActiveRuleParam
-
- getValue() - Method in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- getValue() - Method in class org.sonar.api.web.Criterion
-
Get the the criterion's value.
- getValueAsLong(Measure, Long) - Static method in class org.sonar.api.measures.MeasureUtils
-
- getValues(String, String) - Method in class org.sonar.api.charts.ChartParameters
-
Deprecated.
Returns an array of a param values, given its key and the values delimiter
- getValues(String, String, boolean) - Method in class org.sonar.api.charts.ChartParameters
-
Deprecated.
Returns an array of a param values, given its key and the values delimiter
Values can be decoded or not
- getVariation(int) - Method in class org.sonar.api.measures.Measure
-
- getVariation(Measure, int) - Static method in class org.sonar.api.measures.MeasureUtils
-
- getVariation(Measure, int, Double) - Static method in class org.sonar.api.measures.MeasureUtils
-
- getVariation1() - Method in class org.sonar.api.measures.Measure
-
- getVariation2() - Method in class org.sonar.api.measures.Measure
-
- getVariation3() - Method in class org.sonar.api.measures.Measure
-
- getVariation4() - Method in class org.sonar.api.measures.Measure
-
- getVariation5() - Method in class org.sonar.api.measures.Measure
-
- getVariationAsLong(Measure, int) - Static method in class org.sonar.api.measures.MeasureUtils
-
- getVariationAsLong(Measure, int, Long) - Static method in class org.sonar.api.measures.MeasureUtils
-
- getVersion() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getVersion() - Method in class org.sonar.api.platform.Server
-
- getVersion() - Method in class org.sonar.api.profiles.RulesProfile
-
Deprecated.
profile versioning is dropped in 4.4. Always returns -1.
- getVersion() - Method in class org.sonar.api.resources.Library
-
Deprecated.
- getWarnings() - Method in class org.sonar.api.utils.ValidationMessages
-
- getWeight() - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- getWidgets() - Method in class org.sonar.api.web.Dashboard
-
- getWidgetsOfColumn(int) - Method in class org.sonar.api.web.Dashboard
-
- getWidth() - Method in class org.sonar.api.charts.ChartParameters
-
Deprecated.
Get the chart width
- getWorkDir() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- getWorstValue() - Method in class org.sonar.api.measures.Metric
-
- global() - Method in class org.sonar.api.config.PropertyDefinition
-
Is the property displayed in global settings page ?
- GLOBAL - Static variable in annotation type org.sonar.api.web.WidgetScope
-
- GLOBAL_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- GLOBAL_TEST_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- GLOBAL_WORKING_DIRECTORY - Static variable in interface org.sonar.api.CoreProperties
-
- GLOBAL_WORKING_DIRECTORY_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- GlobalPropertyChangeHandler - Class in org.sonar.api.config
-
Observe changes of global properties done from web application.
- GlobalPropertyChangeHandler() - Constructor for class org.sonar.api.config.GlobalPropertyChangeHandler
-
- GlobalPropertyChangeHandler.PropertyChange - Class in org.sonar.api.config
-
- GOOGLE_ANALYTICS_ACCOUNT_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- GOOGLE_ANALYTICS_PLUGIN - Static variable in interface org.sonar.api.CoreProperties
-
- grantDefaultRoles(Resource) - Method in interface org.sonar.api.security.ResourcePermissions
-
Limitation - the resource id is used instead of logical key.
- grantGroupRole(Resource, String, String) - Method in interface org.sonar.api.security.ResourcePermissions
-
Limitation - the resource id is used instead of logical key.
- grantUserRole(Resource, String, String) - Method in interface org.sonar.api.security.ResourcePermissions
-
Limitation - the resource id is used instead of logical key.
- GRID_COLOR - Static variable in class org.sonar.api.charts.AbstractChart
-
Deprecated.
- GT - Static variable in class org.sonar.api.web.Criterion
-
- GTE - Static variable in class org.sonar.api.web.Criterion
-
- I18n - Interface in org.sonar.api.i18n
-
Main component that provides translation facilities.
- id() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
-
- id() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- id() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
-
- id() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
-
Deprecated.
- id() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- id() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- id() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
-
Deprecated.
- id() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
-
Deprecated.
- id() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- IllegalDurationException - Exception in org.sonar.api.test.exception
-
- IllegalDurationException(String) - Constructor for exception org.sonar.api.test.exception.IllegalDurationException
-
- IMPORT_UNKNOWN_FILES_KEY - Static variable in interface org.sonar.api.CoreProperties
-
- importProfile(Reader, ValidationMessages) - Method in class org.sonar.api.profiles.ProfileImporter
-
- includeDeactivated() - Method in class org.sonar.api.user.UserQuery.Builder
-
- includeDeactivated() - Method in class org.sonar.api.user.UserQuery
-
- inclusions() - Method in class org.sonar.api.scan.filesystem.FileQuery
-
Deprecated.
- index(Resource) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
since 4.2 Resource indexing is done by the platform for all physical resources.
- index(Resource, Resource) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
since 4.2 Resource indexing is done by the platform for all physical resources.
- index(Resource) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
Indexes a resource as a direct child of project.
- index(Resource, Resource) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
Indexes a resource.
- index(int) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
Set the order index in Settings pages.
- index() - Method in class org.sonar.api.config.PropertyDefinition
-
Order to display properties in Sonar UI.
- indicativeSize(int) - Method in class org.sonar.api.config.PropertyFieldDefinition.Builder
-
- indicativeSize() - Method in class org.sonar.api.config.PropertyFieldDefinition
-
- INFO - Static variable in class org.sonar.api.rule.Severity
-
- info(String) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an INFO level message.
- info(String, Object) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an INFO parameterized message according to the specified format and argument.
- info(String, Object, Object) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an INFO parameterized message according to the specified format and arguments.
- info(String, Object...) - Method in interface org.sonar.api.utils.log.Logger
-
Logs an INFO parameterized message according to the specified format and arguments.
- INFO_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- INFO_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- INHERITED - Static variable in class org.sonar.api.rules.ActiveRule
-
- init() - Method in class org.sonar.api.checks.CheckFactory
-
Deprecated.
- init() - Method in interface org.sonar.api.security.LoginPasswordAuthenticator
-
Deprecated.
in 2.14, but was left for backward compatibility - when this authenticator is not a part of SecurityRealm
, otherwise has no effect and not invoked
- init() - Method in class org.sonar.api.security.SecurityRealm
-
Invoked during server startup and can be used to initialize internal state.
- Initializer - Class in org.sonar.api.batch
-
Initializer can execute external tool (like a Maven plugin), change project configuration.
- Initializer() - Constructor for class org.sonar.api.batch.Initializer
-
- InitializerExecutionHandler - Interface in org.sonar.api.batch.events
-
- InitializerExecutionHandler.InitializerExecutionEvent - Interface in org.sonar.api.batch.events
-
This interface is not intended to be implemented by clients.
- InitializersPhaseHandler - Interface in org.sonar.api.batch.events
-
- InitializersPhaseHandler.InitializersPhaseEvent - Interface in org.sonar.api.batch.events
-
This interface is not intended to be implemented by clients.
- initMetadata(FileMetadata.Metadata) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- INPUT_VALIDATION_AND_REPRESENTATION - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic SECURITY
- InputComponent - Interface in org.sonar.api.batch.fs
-
Common interface for all input components.
- inputComponent() - Method in interface org.sonar.api.batch.postjob.issue.Issue
-
- 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
-
- 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(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
-
- inputDir(File) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- inputFile(String) - Method in interface org.sonar.api.batch.fs.FileSystem.Index
-
- inputFile(FilePredicate) - Method in interface org.sonar.api.batch.fs.FileSystem
-
Returns the single element matching the predicate.
- InputFile - Interface in org.sonar.api.batch.fs
-
This layer over
File
adds information for code analyzers.
- inputFile(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
-
- inputFile(FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- inputFile() - Method in class org.sonar.api.batch.sensor.coverage.internal.DefaultCoverage
-
- inputFile() - Method in class org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting
-
- InputFile - Interface in org.sonar.api.resources
-
- InputFile.Status - Enum in org.sonar.api.batch.fs
-
Status regarding previous analysis
- InputFile.Type - Enum in org.sonar.api.batch.fs
-
- InputFileFilter - Interface in org.sonar.api.batch.fs
-
Extension point to exclude some files from inspection
- inputFiles() - Method in interface org.sonar.api.batch.fs.FileSystem.Index
-
- inputFiles(FilePredicate) - Method in interface org.sonar.api.batch.fs.FileSystem
-
Input files matching the given attributes.
- inputFiles() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
-
- inputFiles(FilePredicate) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- InputFileUtils - Class in org.sonar.api.resources
-
- InputModule - Interface in org.sonar.api.batch.fs
-
Used to create issues and measures on modules.
- InputPath - Interface in org.sonar.api.batch.fs
-
Layer over
File
for files or directories.
- INSTANCE - Static variable in class org.sonar.api.resources.Java
-
Deprecated.
- INSTANCE - Static variable in class org.sonar.api.server.ws.RailsHandler
-
- INSTANCE - Static variable in class org.sonar.api.utils.System2
-
- InstantiationStrategy - Annotation Type in org.sonar.api.batch
-
Define instantiation strategy of batch IoC components.
- INSTRUCTION_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic RELIABILITY
- INTEGER - Static variable in class org.sonar.api.server.rule.RuleParamType
-
- INTEGRATION_TESTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic TESTABILITY
- internalKey() - Method in interface org.sonar.api.batch.rule.ActiveRule
-
Optional key declared and used by the underlying rule engine.
- internalKey() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
-
- internalKey() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- internalKey() - Method in interface org.sonar.api.batch.rule.Rule
-
- internalKey() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- is(File) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
- is(File) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- isActivated() - Method in class org.sonar.api.web.Dashboard
-
A dashboard can be activated for all anonymous users or users who haven't configured their own dashboards.
- isAnyone(String) - Static method in class org.sonar.api.security.DefaultGroups
-
- isBestValue() - Method in class org.sonar.api.measures.Measure
-
- isBlockUnit(Resource) - Static method in class org.sonar.api.resources.Scopes
-
Deprecated.
since 4.3 resources under FILE level are no more be supported since 4.2.
- isClass(Resource) - Static method in class org.sonar.api.resources.Qualifiers
-
Deprecated.
since 4.2 CLA qualifier is deprecated
- isClass(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
Deprecated.
since 4.2 CLA qualifier is deprecated
- isDataType() - Method in class org.sonar.api.measures.Metric
-
- isDebugEnabled() - Method in interface org.sonar.api.utils.log.Logger
-
- isDebugEnabled() - Method in class org.sonar.api.utils.log.Profiler
-
- isDefault() - Method in class org.sonar.api.resources.JavaPackage
-
Deprecated.
- isDefaultJvmEncoding() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- isDirectory(Resource) - Static method in class org.sonar.api.resources.Qualifiers
-
- isDirectory(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- isDirectory(Resource) - Static method in class org.sonar.api.resources.Scopes
-
- isDisabledInIssues() - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
-
- isDisabledInIssues() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- isDuplicatedBy(InputFile, int, int) - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
-
- isDuplicatedBy(String, int, int) - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
-
For internal use.
- isDuplicatedBy(InputFile, int, int) - Method in interface org.sonar.api.batch.sensor.duplication.NewDuplication
-
Declare duplicate block of the previously declared #originBlock(int, int)
.
- isDynamic(boolean) - Method in enum org.sonar.api.resources.Project.AnalysisType
-
Deprecated.
- isEmpty() - Method in interface org.sonar.api.batch.fs.InputFile
-
Check if the file content is empty (ignore potential BOM).
- isEmpty() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- isEmpty() - Method in class org.sonar.api.ce.measure.RangeDistributionBuilder
-
- isEmpty() - Method in class org.sonar.api.measures.CountDistributionBuilder
-
- isEmpty() - Method in class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
- isEnabled(Project) - Method in class org.sonar.api.batch.AbstractSourceImporter
-
Deprecated.
- isEnabled() - Method in class org.sonar.api.rules.ActiveRule
-
- isEnabled() - Method in class org.sonar.api.rules.Rule
-
- isEncrypted(String) - Method in class org.sonar.api.config.Encryption
-
- isEnd() - Method in interface org.sonar.api.batch.events.DecoratorExecutionHandler.DecoratorExecutionEvent
-
Deprecated.
- isEnd() - Method in interface org.sonar.api.batch.events.DecoratorsPhaseHandler.DecoratorsPhaseEvent
-
Deprecated.
- isEnd() - Method in interface org.sonar.api.batch.events.InitializerExecutionHandler.InitializerExecutionEvent
-
- isEnd() - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler.InitializersPhaseEvent
-
- isEnd() - Method in interface org.sonar.api.batch.events.PostJobExecutionHandler.PostJobExecutionEvent
-
- isEnd() - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler.PostJobsPhaseEvent
-
- isEnd() - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler.ProjectAnalysisEvent
-
- isEnd() - Method in interface org.sonar.api.batch.events.SensorExecutionHandler.SensorExecutionEvent
-
- isEnd() - Method in interface org.sonar.api.batch.events.SensorsPhaseHandler.SensorsPhaseEvent
-
- isEnd() - Method in interface org.sonar.api.scan.event.ProjectScanHandler.ProjectScanEvent
-
- isEndOfLife() - Method in interface org.sonar.api.issue.IssueHandler.Context
-
- isEntity(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- isExcluded(Resource) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
since 4.2 Excluded resources are not indexed.
- isExcluded(Resource) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
Returns true if the referenced resource is excluded.
- isExcluded() - Method in class org.sonar.api.resources.Resource
-
- isExpired() - Method in class org.sonar.api.config.License
-
- isFavouritesOnly() - Method in class org.sonar.api.web.Filter
-
The
Filter
can be configured to return only favourites.
- isFile() - Method in interface org.sonar.api.batch.fs.InputComponent
-
- isFile() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- isFile() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- isFile() - Method in class org.sonar.api.batch.fs.internal.DefaultInputModule
-
- isFile(Resource) - Static method in class org.sonar.api.resources.Qualifiers
-
- isFile(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- isFile(Resource) - Static method in class org.sonar.api.resources.Scopes
-
This scope is sometimes called a "compilation unit".
- isFreshInstall() - Method in interface org.sonar.api.platform.ServerUpgradeStatus
-
Has the database been created from scratch during the current startup ?
- isFromCore() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
For internal use.
- isFromCore() - Method in class org.sonar.api.measures.Measure
-
For internal use
- isGlobal() - Method in class org.sonar.api.web.Dashboard
-
A dashboard is global when it doesn't display information from a projet but rather more general information.
- isGreaterThan(Duration) - Method in class org.sonar.api.utils.Duration
-
Return true if the given duration is greater than the current one.
- isHidden() - Method in class org.sonar.api.measures.Metric
-
- isHigherThan(Resource, String) - Static method in class org.sonar.api.resources.Scopes
-
- isHigherThan(String, String) - Static method in class org.sonar.api.resources.Scopes
-
- isHigherThanOrEquals(Resource, String) - Static method in class org.sonar.api.resources.Scopes
-
- isHigherThanOrEquals(String, String) - Static method in class org.sonar.api.resources.Scopes
-
- isIgnored(Resource) - Method in interface org.sonar.api.batch.ResourceFilter
-
Deprecated.
Return true if the resource must be ignored, else it's saved into database.
- isIndexed(Resource, boolean) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
since 4.2 Excluded resources are not indexed.
- isIndexed(Resource, boolean) - Method in class org.sonar.api.batch.SonarIndex
-
Deprecated.
- isInherited() - Method in class org.sonar.api.rules.ActiveRule
-
- isInternal() - Method in class org.sonar.api.server.ws.WebService.Action
-
- isInternal() - Method in class org.sonar.api.server.ws.WebService.Controller
-
Returns true if all the actions are for internal use
- isIssues() - Method in interface org.sonar.api.batch.AnalysisMode
-
- isIssues() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester.MockAnalysisMode
-
- isJavaAtLeast17() - Method in class org.sonar.api.utils.System2
-
True if Java 7 or Java 8 runtime environment
- isJavaFile(File) - Static method in class org.sonar.api.resources.Java
-
Deprecated.
- isLatestAnalysis() - Method in class org.sonar.api.resources.Project
-
Deprecated.
in 3.6. The analysis is now always the latest one (past analysis must be done in a chronological order). See http://jira.sonarsource.com/browse/SONAR-4334
- isLibrary(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
Deprecated.
since 5.2 No more design features
- isLocked() - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- isManual() - Method in class org.sonar.api.rule.RuleKey
-
- isMethod(Resource) - Static method in class org.sonar.api.resources.Qualifiers
-
- isModule() - Method in class org.sonar.api.resources.Project
-
- isModule(Resource) - Static method in class org.sonar.api.resources.Qualifiers
-
- isModuleProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- isNew() - Method in interface org.sonar.api.batch.postjob.issue.Issue
-
If the issue a new one.
- isNew() - Method in interface org.sonar.api.issue.Issue
-
During a scan return if the current issue is a new one.
- isNew() - Method in interface org.sonar.api.issue.IssueHandler.Context
-
- isNewShell() - Method in class org.sonar.api.utils.command.Command
-
true
if a new shell should be used to execute the command.
- isNumericType() - Method in class org.sonar.api.measures.Metric
-
- isOptimizedBestValue() - Method in class org.sonar.api.measures.Metric
-
- isOsWindows() - Method in class org.sonar.api.utils.System2
-
True if this is MS Windows.
- isPackage(Resource) - Static method in class org.sonar.api.resources.Qualifiers
-
- isPackage(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- isParagraph(Resource) - Static method in class org.sonar.api.resources.Qualifiers
-
- isPercentageType() - Method in class org.sonar.api.measures.Metric
-
- isPersistable(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- isPost() - Method in class org.sonar.api.server.ws.WebService.Action
-
- isPreview() - Method in interface org.sonar.api.batch.AnalysisMode
-
- isPreview() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester.MockAnalysisMode
-
- isProgramUnit(Resource) - Static method in class org.sonar.api.resources.Scopes
-
Deprecated.
since 4.3 resources under FILE level are no more be supported since 4.2.
- isProject(Resource, boolean) - Static method in class org.sonar.api.resources.Qualifiers
-
- isProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
This method equal isRootProject(resource) or isModuleProject(resource) or isView(resource) or isSubview(resource)
- isProject(Resource) - Static method in class org.sonar.api.resources.Scopes
-
- isPublish() - Method in interface org.sonar.api.batch.AnalysisMode
-
- isPublish() - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester.MockAnalysisMode
-
- isRequired() - Method in class org.sonar.api.server.ws.WebService.Param
-
Is the parameter required or optional ?
- isRequirement() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
-
- isRequirement() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- isRoot() - Method in class org.sonar.api.resources.Project
-
- isRoot() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
-
Deprecated.
- isRoot() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- isRoot() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
-
Deprecated.
- isRoot() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- isRootProject(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- isSet(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- isSpace(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- isSpecial() - Method in class org.sonar.api.config.Category
-
- isStart() - Method in interface org.sonar.api.batch.events.DecoratorExecutionHandler.DecoratorExecutionEvent
-
Deprecated.
- isStart() - Method in interface org.sonar.api.batch.events.DecoratorsPhaseHandler.DecoratorsPhaseEvent
-
Deprecated.
- isStart() - Method in interface org.sonar.api.batch.events.InitializerExecutionHandler.InitializerExecutionEvent
-
- isStart() - Method in interface org.sonar.api.batch.events.InitializersPhaseHandler.InitializersPhaseEvent
-
- isStart() - Method in interface org.sonar.api.batch.events.PostJobExecutionHandler.PostJobExecutionEvent
-
- isStart() - Method in interface org.sonar.api.batch.events.PostJobsPhaseHandler.PostJobsPhaseEvent
-
- isStart() - Method in interface org.sonar.api.batch.events.ProjectAnalysisHandler.ProjectAnalysisEvent
-
- isStart() - Method in interface org.sonar.api.batch.events.SensorExecutionHandler.SensorExecutionEvent
-
- isStart() - Method in interface org.sonar.api.batch.events.SensorsPhaseHandler.SensorsPhaseEvent
-
- isStart() - Method in interface org.sonar.api.scan.event.ProjectScanHandler.ProjectScanEvent
-
- Issuable - Interface in org.sonar.api.issue
-
This perspective allows to add and get issues related to the selected component.
- Issuable.IssueBuilder - Interface in org.sonar.api.issue
-
- isSub() - Method in interface org.sonar.api.batch.debt.DebtCharacteristic
-
- isSub() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
-
- isSub() - Method in interface org.sonar.api.server.debt.DebtCharacteristic
-
Deprecated.
- isSub() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
-
- isSubview(Resource) - Static method in class org.sonar.api.resources.Qualifiers
-
- isSubview(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- Issue - Interface in org.sonar.api.batch.postjob.issue
-
Represents an issue state at the end of the batch analysis.
- Issue - Interface in org.sonar.api.batch.sensor.issue
-
Represents an issue detected by a
Sensor
.
- Issue - Interface in org.sonar.api.ce.measure
-
- issue() - Method in interface org.sonar.api.issue.action.Function.Context
-
- Issue - Interface in org.sonar.api.issue
-
- issue() - Method in interface org.sonar.api.issue.IssueHandler.Context
-
- Issue.Flow - Interface in org.sonar.api.batch.sensor.issue
-
- ISSUE_ADMIN - Static variable in annotation type org.sonar.api.web.UserRole
-
- IssueComment - Interface in org.sonar.api.issue
-
- IssueFilter - Interface in org.sonar.api.issue.batch
-
An issue filter is an object that allows filtering of
Issue
s on batch side, preventing them from being persisted.
- IssueFilter - Interface in org.sonar.api.issue
-
- IssueFilterChain - Interface in org.sonar.api.issue.batch
-
A filter chain is an object provided to issues filters for fine control over the filtering logic.
- IssueHandler - Interface in org.sonar.api.issue
-
- IssueHandler.Context - Interface in org.sonar.api.issue
-
- issueKey() - Method in interface org.sonar.api.issue.IssueComment
-
- IssueLocation - Interface in org.sonar.api.batch.sensor.issue
-
Represents an issue location.
- issues() - Method in interface org.sonar.api.batch.postjob.PostJobContext
-
All the unresolved issues of the project, including the issues reported by end-users.
- issues() - Method in interface org.sonar.api.issue.Issuable
-
Deprecated.
since 5.2 no more decorators on batch side
- issues() - Method in interface org.sonar.api.issue.ProjectIssues
-
All the unresolved issues of the project, including the issues reported by end-users.
- ISSUES_ADDED - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
- ISSUES_TRACKED - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
- isSwitchedOff() - Method in class org.sonar.api.violations.ViolationQuery
-
Deprecated.
Tells if the query should return only switched-off violations.
- isTemplate() - Method in class org.sonar.api.rules.Rule
-
- isTraceEnabled() - Method in interface org.sonar.api.utils.log.Logger
-
- isTraceEnabled() - Method in class org.sonar.api.utils.log.Profiler
-
- isUnitTest() - Method in interface org.sonar.api.ce.measure.Component.FileAttributes
-
- isUnitTest() - Method in class org.sonar.api.ce.measure.test.TestComponent.FileAttributesImpl
-
- isUnitTest() - Method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- isUnitTestClass(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- isUnitTestFile(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- IsUnResolved - Class in org.sonar.api.issue.condition
-
- IsUnResolved() - Constructor for class org.sonar.api.issue.condition.IsUnResolved
-
- isUpgraded() - Method in interface org.sonar.api.platform.ServerUpgradeStatus
-
- isValid() - Method in class org.sonar.api.config.PropertyDefinition.Result
-
- isValid(String) - Static method in class org.sonar.api.server.rule.RuleTagFormat
-
- isVariation() - Method in class org.sonar.api.web.Criterion
-
A criterion can be based on the varation of a value rather than on the value itself.
- isVariation() - Method in class org.sonar.api.web.FilterColumn
-
A column can be based on the variation of a value rather than on the value itself.
- isView(Resource, boolean) - Static method in class org.sonar.api.resources.Qualifiers
-
- isView(Resource) - Static method in class org.sonar.api.resources.ResourceUtils
-
- IT_BRANCH_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_BRANCH_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 soon to be removed
- IT_CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 soon to be removed
- IT_CONDITIONS_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_CONDITIONS_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_COVERAGE_LINE_HITS_DATA - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 soon to be removed
- IT_COVERAGE_LINE_HITS_DATA_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 soon to be removed
- IT_COVERED_CONDITIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 soon to be removed
- IT_COVERED_CONDITIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.2 soon to be removed
- IT_LINE_COVERAGE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_LINE_COVERAGE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_LINES_TO_COVER - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_LINES_TO_COVER_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_UNCOVERED_CONDITIONS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_UNCOVERED_CONDITIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_UNCOVERED_LINES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- IT_UNCOVERED_LINES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- mainFiles(String...) - Method in interface org.sonar.api.resources.ProjectFileSystem
-
Deprecated.
Source files, excluding unit tests and files matching project exclusion patterns.
- MAINTAINABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic MAINTAINABILITY
- MAJOR - Static variable in class org.sonar.api.rule.Severity
-
- MAJOR_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- MAJOR_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- mandatoryParam(String) - Method in class org.sonar.api.server.ws.Request
-
Returns a non-null value.
- mandatoryParamAsBoolean(String) - Method in class org.sonar.api.server.ws.Request
-
Returns a boolean value.
- mandatoryParamAsEnum(String, Class<E>) - Method in class org.sonar.api.server.ws.Request
-
- mandatoryParamAsInt(String) - Method in class org.sonar.api.server.ws.Request
-
Returns an int value.
- mandatoryParamAsLong(String) - Method in class org.sonar.api.server.ws.Request
-
Returns a long value.
- mandatoryParamAsStrings(String) - Method in class org.sonar.api.server.ws.Request
-
- ManifestUtils - Class in org.sonar.api.utils
-
- MANUAL_REPOSITORY_KEY - Static variable in class org.sonar.api.rule.RuleKey
-
- markdownDescription() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- markdownText() - Method in interface org.sonar.api.issue.IssueComment
-
- match(InputFile) - Method in class org.sonar.api.batch.fs.internal.PathPattern
-
- match(InputFile, boolean) - Method in class org.sonar.api.batch.fs.internal.PathPattern
-
- match(String) - Method in class org.sonar.api.utils.WildcardPattern
-
Returns true if specified value matches this pattern.
- match(WildcardPattern[], String) - Static method in class org.sonar.api.utils.WildcardPattern
-
Returns true if specified value matches one of specified patterns.
- matches(Issue) - Method in interface org.sonar.api.issue.condition.Condition
-
- matches(Issue) - Method in class org.sonar.api.issue.condition.HasIssuePropertyCondition
-
- matches(Issue) - Method in class org.sonar.api.issue.condition.HasResolution
-
- matches(Issue) - Method in class org.sonar.api.issue.condition.HasStatus
-
- matches(Issue) - Method in class org.sonar.api.issue.condition.IsUnResolved
-
- matches(Issue) - Method in class org.sonar.api.issue.condition.NotCondition
-
- matches(String) - Method in class org.sonar.api.web.ServletFilter.UrlPattern
-
- matchesPathPattern(String) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
Predicate that gets the files which relative or absolute path matches a wildcard pattern.
- matchesPathPattern(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- matchesPathPatterns(String[]) - Method in interface org.sonar.api.batch.fs.FilePredicates
-
Predicate that gets the files matching at least one wildcard pattern.
- matchesPathPatterns(String[]) - Method in class org.sonar.api.batch.fs.internal.DefaultFilePredicates
-
- matchFilePattern(String) - Method in class org.sonar.api.resources.Directory
-
- matchFilePattern(String) - Method in class org.sonar.api.resources.File
-
Check resource against an Ant pattern, like mypackag?/*Foo.java.
- matchFilePattern(String) - Method in class org.sonar.api.resources.JavaFile
-
Deprecated.
- matchFilePattern(String) - Method in class org.sonar.api.resources.JavaPackage
-
Deprecated.
- matchFilePattern(String) - Method in class org.sonar.api.resources.Library
-
Deprecated.
- matchFilePattern(String) - Method in class org.sonar.api.resources.Method
-
Deprecated.
- matchFilePattern(String) - Method in class org.sonar.api.resources.Project
-
- matchFilePattern(String) - Method in class org.sonar.api.resources.Resource
-
Check resource against an Ant pattern, like mypackag?/*Foo.java.
- MAX_HEIGHT - Static variable in class org.sonar.api.charts.ChartParameters
-
Deprecated.
- MAX_TEXT_SIZE - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- MAX_TEXT_SIZE - Static variable in class org.sonar.api.measures.Measure
-
- MAX_WIDTH - Static variable in class org.sonar.api.charts.ChartParameters
-
Deprecated.
- MeanAggregationFormula - Class in org.sonar.api.measures
-
Deprecated.
since 5.2 decorators are no more executed on batch side
- MeanAggregationFormula(boolean) - Constructor for class org.sonar.api.measures.MeanAggregationFormula
-
Deprecated.
- MeanAggregationFormula() - Constructor for class org.sonar.api.measures.MeanAggregationFormula
-
Deprecated.
- measure(String, Metric<G>) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- measure(String, String) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- Measure<G extends Serializable> - Interface in org.sonar.api.batch.sensor.measure
-
Measure on File, Directory or Project.
- Measure - Interface in org.sonar.api.ce.measure
-
- Measure<G extends Serializable> - Class in org.sonar.api.measures
-
A class to handle measures.
- Measure(String) - Constructor for class org.sonar.api.measures.Measure
-
- Measure(Metric) - Constructor for class org.sonar.api.measures.Measure
-
Creates a measure with a metric
- Measure(Metric, Double) - Constructor for class org.sonar.api.measures.Measure
-
Creates a measure with a metric and a value
- Measure(Metric, Double, int) - Constructor for class org.sonar.api.measures.Measure
-
Creates a measure with a metric, a value and a precision for the value
- Measure(Metric, Double, String) - Constructor for class org.sonar.api.measures.Measure
-
Creates a measure with a metric, a value and a data field
- Measure(Metric, String) - Constructor for class org.sonar.api.measures.Measure
-
* Creates a measure with a metric and a data field
- Measure(Metric, Metric.Level) - Constructor for class org.sonar.api.measures.Measure
-
Creates a measure with a metric and an alert level
- Measure() - Constructor for class org.sonar.api.measures.Measure
-
Creates an empty measure
- measure(Measure) - Static method in class org.sonar.api.measures.MeasuresFilters
-
- MeasureBuilder - Interface in org.sonar.api.measures
-
MeasureBuilder helps to build complex measures.
- MeasureComputer - Interface in org.sonar.api.ce.measure
-
Define how to compute new measures on some metrics declared by
Metrics
.
- MeasureComputer.MeasureComputerContext - Interface in org.sonar.api.ce.measure
-
Context specific to the computation of the measure(s) of a given component
- MeasureComputer.MeasureComputerDefinition - Interface in org.sonar.api.ce.measure
-
- MeasureComputer.MeasureComputerDefinition.Builder - Interface in org.sonar.api.ce.measure
-
- MeasureComputer.MeasureComputerDefinitionContext - Interface in org.sonar.api.ce.measure
-
Context specific to the definition of the measure computer
- measures(String) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- MeasuresFilter<M> - Interface in org.sonar.api.measures
-
- MeasuresFilters - Class in org.sonar.api.measures
-
- MeasuresFilters.MetricFilter<M> - Class in org.sonar.api.measures
-
Used for internal optimizations.
- MeasuresFilters.MetricFilter(Metric) - Constructor for class org.sonar.api.measures.MeasuresFilters.MetricFilter
-
- MeasuresFilters.MetricFilter(String) - Constructor for class org.sonar.api.measures.MeasuresFilters.MetricFilter
-
- MeasureUtils - Class in org.sonar.api.measures
-
An utility class to manipulate measures
- MEMORY_EFFICIENCY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic EFFICIENCY
- merge(Metric) - Method in class org.sonar.api.measures.Metric
-
Merge with fields from other metric.
- message() - Method in interface org.sonar.api.batch.postjob.issue.Issue
-
Message of the issue.
- message(String) - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
-
- message() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation
-
- message() - Method in interface org.sonar.api.batch.sensor.issue.IssueLocation
-
Message of the issue.
- message(String) - Method in interface org.sonar.api.batch.sensor.issue.NewIssueLocation
-
Optional, but recommended, plain-text message for this location.
- message(Locale, String, String, Object...) - Method in interface org.sonar.api.i18n.I18n
-
Searches the message of the key
for the locale
in the list of available bundles.
- message(String) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
- message() - Method in interface org.sonar.api.issue.Issue
-
- message() - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
- MESSAGE_MAX_SIZE - Static variable in interface org.sonar.api.batch.sensor.issue.NewIssueLocation
-
Maximum number of characters in the message.
- MESSAGE_MAX_SIZE - Static variable in interface org.sonar.api.issue.Issue
-
Maximum number of characters in the message.
- MessageException - Exception in org.sonar.api.utils
-
Runtime exception for "functional" error.
- Method - Class in org.sonar.api.resources
-
Deprecated.
in 4.2. Only file system components are managed by SQ core (files/directories).
- Method(String, String, Language) - Constructor for class org.sonar.api.resources.Method
-
Deprecated.
- METHOD - Static variable in class org.sonar.api.resources.Qualifiers
-
Deprecated.
since 4.2 resources under FILE level will no more be supported.
- method() - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- method() - Method in class org.sonar.api.server.ws.Request
-
Returns the name of the HTTP method with which this request was made.
- Metric<G extends Serializable> - Interface in org.sonar.api.batch.measure
-
- metric() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- metric() - Method in interface org.sonar.api.batch.sensor.measure.Measure
-
The metric this measure belong to.
- metric - Variable in class org.sonar.api.measures.Measure
-
- metric(Metric<?>) - Static method in class org.sonar.api.measures.MeasuresFilters
-
- metric(String) - Static method in class org.sonar.api.measures.MeasuresFilters
-
- Metric<G extends Serializable> - Class in org.sonar.api.measures
-
- Metric() - Constructor for class org.sonar.api.measures.Metric
-
- 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.Builder(String, String, Metric.ValueType) - Constructor for class org.sonar.api.measures.Metric.Builder
-
- Metric.Level - Enum in org.sonar.api.measures
-
- Metric.ValueType - Enum in org.sonar.api.measures
-
- MetricFinder - Interface in org.sonar.api.batch.measure
-
- MetricFinder - Interface in org.sonar.api.measures
-
- metricKey - Variable in class org.sonar.api.measures.Measure
-
- METRICS - Static variable in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
Metrics of generated measures
- Metrics - Interface in org.sonar.api.measures
-
- MINOR - Static variable in class org.sonar.api.rule.Severity
-
- MINOR_VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- MINOR_VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- MINUTE - Static variable in class org.sonar.api.utils.Duration
-
- minutes() - Method in class org.sonar.api.utils.internal.WorkDuration
-
- MINUTES - Static variable in class org.sonar.api.utils.WorkUnit
-
Deprecated.
- MockSourceFile - Class in org.sonar.api.component.mock
-
- MODULARITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic REUSABILITY
- Module - Interface in org.sonar.api.component
-
- MODULE - Static variable in class org.sonar.api.resources.Qualifiers
-
Module of a multi-modules project.
- ModuleFileSystem - Interface in org.sonar.api.scan.filesystem
-
- moduleKey() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- moduleKey() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- ModuleScanPhaseHandler - Interface in org.sonar.api.scan.event
-
- ModuleScanPhaseHandler.ModuleScanPhaseEvent - Interface in org.sonar.api.scan.event
-
- multiple() - Method in class org.sonar.api.server.rule.RuleParamType
-
- multipleListOfValues(String...) - Static method in class org.sonar.api.server.rule.RuleParamType
-
- multiply(int) - Method in class org.sonar.api.utils.Duration
-
Multiply the duration with the given factor.
- multiply(int) - Method in class org.sonar.api.utils.internal.WorkDuration
-
- multiValues(boolean) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- multiValues() - Method in class org.sonar.api.config.PropertyDefinition
-
- MutableTestable - Interface in org.sonar.api.test
-
- MutableTestCase - Interface in org.sonar.api.test
-
- MutableTestPlan - Interface in org.sonar.api.test
-
- PACKAGE - Static variable in class org.sonar.api.resources.Qualifiers
-
- PACKAGE_CYCLES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_CYCLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_EDGES_WEIGHT - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_EDGES_WEIGHT_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_FEEDBACK_EDGES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_FEEDBACK_EDGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_TANGLE_INDEX - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_TANGLE_INDEX_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_TANGLES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGE_TANGLES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PACKAGES - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 4.2 there is now only directory
- PACKAGES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 4.2 there is now only directory
- PAGE - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- Page - Interface in org.sonar.api.web
-
- PAGE_SIZE - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- PageDecoration - Class in org.sonar.api.web
-
Adds content to HTML pages.
- PageDecoration() - Constructor for class org.sonar.api.web.PageDecoration
-
- pageIndex() - Method in class org.sonar.api.utils.Paging
-
Page index, starting with 1.
- pages() - Method in class org.sonar.api.utils.Paging
-
Number of pages.
- pageSize() - Method in class org.sonar.api.utils.Paging
-
Maximum number of items per page.
- Paging - Class in org.sonar.api.utils
-
- Paging.Builder - Class in org.sonar.api.utils
-
- PAIR_SEPARATOR - Static variable in class org.sonar.api.utils.KeyValueFormat
-
- PARAGRAPH - Static variable in class org.sonar.api.resources.Qualifiers
-
Deprecated.
since 4.2 resources under FILE level will no more be supported.
- param(String) - Method in interface org.sonar.api.batch.rule.ActiveRule
-
Value of given parameter.
- param(String) - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
-
- param(String) - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- param(String) - Method in interface org.sonar.api.batch.rule.Rule
-
- param(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- param(String) - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- param(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- param(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- param(String) - Method in class org.sonar.api.server.ws.Request
-
- param(String, String) - Method in class org.sonar.api.server.ws.Request
-
Deprecated.
to be dropped in 4.4. Default values are declared in ws metadata
- param(String) - Method in class org.sonar.api.server.ws.WebService.Action
-
- PARAM_BACKGROUND_COLOR - Static variable in class org.sonar.api.charts.ChartParameters
-
Deprecated.
- PARAM_HEIGHT - Static variable in class org.sonar.api.charts.ChartParameters
-
Deprecated.
- PARAM_LOCALE - Static variable in class org.sonar.api.charts.ChartParameters
-
Deprecated.
- PARAM_WIDTH - Static variable in class org.sonar.api.charts.ChartParameters
-
Deprecated.
- paramAsBoolean(String, boolean) - Method in class org.sonar.api.server.ws.Request
-
- 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
-
- paramAsStrings(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- paramAsStrings(String) - Method in class org.sonar.api.server.ws.Request
-
- params() - Method in interface org.sonar.api.batch.rule.ActiveRule
-
Immutable parameter values.
- params() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
-
- params() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- params() - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- params() - Method in interface org.sonar.api.batch.rule.Rule
-
- params() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- params() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- params() - Method in class org.sonar.api.server.ws.WebService.Action
-
- parent() - Method in interface org.sonar.api.technicaldebt.batch.Characteristic
-
Deprecated.
- parent() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- parentId() - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
-
- parentId() - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
-
- parentId() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
-
Deprecated.
- parentId() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- parse(String, String, String, Collection<Class>, ValidationMessages) - Method in class org.sonar.api.profiles.AnnotationProfileParser
-
- parse(Reader, ValidationMessages) - Method in class org.sonar.api.profiles.XMLProfileParser
-
- parse(String) - Static method in class org.sonar.api.rule.RuleKey
-
- parse(String, Collection<Class>) - Method in class org.sonar.api.rules.AnnotationRuleParser
-
Deprecated.
- parse(File) - Method in class org.sonar.api.rules.XMLRuleParser
-
Deprecated.
- parse(InputStream) - Method in class org.sonar.api.rules.XMLRuleParser
-
Deprecated.
Warning : the input stream is closed in this method
- parse(Reader) - Method in class org.sonar.api.rules.XMLRuleParser
-
Deprecated.
- parse(String) - Static method in class org.sonar.api.server.rule.RuleParamType
-
- parse(String, KeyValueFormat.Converter<K>, KeyValueFormat.Converter<V>) - Static method in class org.sonar.api.utils.KeyValueFormat
-
If input is null, then an empty map is returned.
- parse(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parse(File) - Method in class org.sonar.api.utils.StaxParser
-
- parse(InputStream) - Method in class org.sonar.api.utils.StaxParser
-
- parse(Reader) - Method in class org.sonar.api.utils.StaxParser
-
- parse(URL) - Method in class org.sonar.api.utils.StaxParser
-
- parse(File) - Method in class org.sonar.api.utils.XpathParser
-
- parse(InputStream) - Method in class org.sonar.api.utils.XpathParser
-
- parse(String) - Method in class org.sonar.api.utils.XpathParser
-
- parseDate(String) - Static method in class org.sonar.api.utils.DateUtils
-
- parseDateQuietly(String) - Static method in class org.sonar.api.utils.DateUtils
-
- parseDateTime(String) - Static method in class org.sonar.api.utils.DateUtils
-
- parseDateTimeQuietly(String) - Static method in class org.sonar.api.utils.DateUtils
-
- parseDirs(SensorContext, List<File>, List<File>, boolean, Charset) - Method in class org.sonar.api.batch.AbstractSourceImporter
-
Deprecated.
- parseIntDate(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parseIntDateTime(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parseIntDouble(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parseIntInt(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parseIntString(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parseKey(String) - Static method in class org.sonar.api.resources.Directory
-
- parseNumber(String, Locale) - Static method in class org.sonar.api.utils.ParsingUtils
-
Parses a string with a locale and returns the corresponding number
- parseNumber(String) - Static method in class org.sonar.api.utils.ParsingUtils
-
Parses a string with the default locale and returns the corresponding number
- parseResource(ClassLoader, String, ValidationMessages) - Method in class org.sonar.api.profiles.XMLProfileParser
-
- parseStringDouble(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- parseStringInt(String) - Static method in class org.sonar.api.utils.KeyValueFormat
-
- ParsingUtils - Class in org.sonar.api.utils
-
Utility to parse various inputs
- PASSWORD - Static variable in interface org.sonar.api.CoreProperties
-
- path() - Method in interface org.sonar.api.batch.fs.InputDir
-
The underlying absolute
Path
- path() - Method in interface org.sonar.api.batch.fs.InputFile
-
The underlying absolute
Path
- path() - Method in interface org.sonar.api.batch.fs.InputPath
-
- path() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- path() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- path() - Method in class org.sonar.api.batch.fs.internal.RelativePathPredicate
-
- path() - Method in interface org.sonar.api.component.Component
-
Deprecated.
Path of the component relative to basedir of the parent module.
- path() - Method in class org.sonar.api.component.mock.MockSourceFile
-
- path() - Method in class org.sonar.api.resources.Project
-
- path() - Method in class org.sonar.api.scan.filesystem.PathResolver.RelativePath
-
- path() - Method in class org.sonar.api.server.ws.WebService.Action
-
- path() - Method in class org.sonar.api.server.ws.WebService.Controller
-
- PathPattern - Class in org.sonar.api.batch.fs.internal
-
- PathResolver - Class in org.sonar.api.scan.filesystem
-
- PathResolver() - Constructor for class org.sonar.api.scan.filesystem.PathResolver
-
- PathResolver.RelativePath - Class in org.sonar.api.scan.filesystem
-
- PathResolver.RelativePath(File, String) - Constructor for class org.sonar.api.scan.filesystem.PathResolver.RelativePath
-
- PathUtils - Class in org.sonar.api.utils
-
- PER_BATCH - Static variable in annotation type org.sonar.api.batch.InstantiationStrategy
-
Shared extension.
- PER_PROJECT - Static variable in annotation type org.sonar.api.batch.InstantiationStrategy
-
Created and initialized for each project and sub-project (a project is a module in Maven terminology).
- PERMANENT_SERVER_ID - Static variable in interface org.sonar.api.CoreProperties
-
- persistenceMode - Variable in class org.sonar.api.measures.Measure
-
- PersistenceMode - Enum in org.sonar.api.measures
-
Mode of persistence for resources and measures.
- personId - Variable in class org.sonar.api.measures.Measure
-
- Perspective - Interface in org.sonar.api.component
-
- Phase - Annotation Type in org.sonar.api.batch
-
- Phase.Name - Enum in org.sonar.api.batch
-
- PORTABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic PORTABILITY
- possibleValues() - Method in class org.sonar.api.server.ws.WebService.Param
-
- possibleValues() - Static method in enum org.sonar.api.server.ws.WebService.SelectionMode
-
- PostJob - Interface in org.sonar.api.batch
-
PostJobs are executed at the very end of batch analysis.
- PostJob - Interface in org.sonar.api.batch.postjob
-
PostJobs are executed at the very end of batch analysis.
- PostJobContext - Interface in org.sonar.api.batch.postjob
-
- PostJobDescriptor - Interface in org.sonar.api.batch.postjob
-
- PostJobExecutionHandler - Interface in org.sonar.api.batch.events
-
- PostJobExecutionHandler.PostJobExecutionEvent - Interface in org.sonar.api.batch.events
-
This interface is not intended to be implemented by clients.
- PostJobsPhaseHandler - Interface in org.sonar.api.batch.events
-
- PostJobsPhaseHandler.PostJobsPhaseEvent - Interface in org.sonar.api.batch.events
-
This interface is not intended to be implemented by clients.
- predicates() - Method in interface org.sonar.api.batch.fs.FileSystem
-
- predicates() - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- PREFIX - Static variable in class org.sonar.api.config.EmailSettings
-
- PREFIX_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- PREVIEW_EXCLUDE_PLUGINS - Static variable in interface org.sonar.api.CoreProperties
-
- PREVIEW_EXCLUDE_PLUGINS_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- PREVIEW_INCLUDE_PLUGINS - Static variable in interface org.sonar.api.CoreProperties
-
- PREVIEW_INCLUDE_PLUGINS_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- PREVIEW_READ_TIMEOUT_SEC - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
in 5.1 no more used
- primaryLocation() - Method in class org.sonar.api.batch.sensor.issue.internal.DefaultIssue
-
- primaryLocation() - Method in interface org.sonar.api.batch.sensor.issue.Issue
-
Primary locations for this issue.
- println(String) - Method in class org.sonar.api.utils.System2
-
- priority() - Method in class org.sonar.api.batch.fs.internal.AbstractFilePredicate
-
- priority() - Method in interface org.sonar.api.batch.fs.internal.OptimizedFilePredicate
-
For optimization.
- priority() - Method in class org.sonar.api.batch.fs.internal.RelativePathPredicate
-
- PROFILE - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PROFILE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PROFILE_VERSION - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PROFILE_VERSION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- ProfileDefinition - Class in org.sonar.api.profiles
-
Define a profile which is automatically registered during sonar startup.
- ProfileDefinition() - Constructor for class org.sonar.api.profiles.ProfileDefinition
-
- ProfileExporter - Class in org.sonar.api.profiles
-
- ProfileExporter(String, String) - Constructor for class org.sonar.api.profiles.ProfileExporter
-
- ProfileImporter - Class in org.sonar.api.profiles
-
- ProfileImporter(String, String) - Constructor for class org.sonar.api.profiles.ProfileImporter
-
- Profiler - Class in org.sonar.api.utils.log
-
- Profiler() - Constructor for class org.sonar.api.utils.log.Profiler
-
- PROFILING_LOG_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROGRAM_UNIT - Static variable in class org.sonar.api.resources.Scopes
-
Deprecated.
since 4.3 resources under FILE level are no more be supported since 4.2.
- Project - Class in org.sonar.api.resources
-
A class that manipulates Projects in the Sonar way.
- Project(String) - Constructor for class org.sonar.api.resources.Project
-
- Project(String, String, String) - Constructor for class org.sonar.api.resources.Project
-
- PROJECT - Static variable in class org.sonar.api.resources.Qualifiers
-
Single project or root of multi-modules projects
Scope is Scopes.PROJECT
- PROJECT - Static variable in class org.sonar.api.resources.Scopes
-
For example view, subview, project, module or library.
- PROJECT - Static variable in annotation type org.sonar.api.web.WidgetScope
-
- Project.AnalysisType - Enum in org.sonar.api.resources
-
Deprecated.
since 4.4 Since 4.3 SQ will no more run tests. So basically it's always reuse report.
- PROJECT_BRANCH_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_COVERAGE_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_DATE_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
Value format is yyyy-MM-dd
- PROJECT_DESCRIPTION_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_INCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_KEY_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_LANGUAGE_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
since 4.2 projects are now multi-language
- PROJECT_NAME_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_TEST_EXCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_TEST_INCLUSIONS_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- PROJECT_VERSION_PROPERTY - Static variable in interface org.sonar.api.CoreProperties
-
- ProjectAnalysisHandler - Interface in org.sonar.api.batch.events
-
- ProjectAnalysisHandler.ProjectAnalysisEvent - Interface in org.sonar.api.batch.events
-
This interface is not intended to be implemented by clients.
- ProjectBuilder - Class in org.sonar.api.batch.bootstrap
-
This extension point allows to change project structure at runtime.
- ProjectBuilder(ProjectReactor) - Constructor for class org.sonar.api.batch.bootstrap.ProjectBuilder
-
- 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
-
- ProjectClasspath - Class in org.sonar.api.batch
-
Deprecated.
since 4.5 this is some Java specific stuff that should by handled by SQ Java plugin
- ProjectClasspath(ProjectDefinition, ProjectFileSystem) - Constructor for class org.sonar.api.batch.ProjectClasspath
-
Deprecated.
- ProjectDefinition - Class in org.sonar.api.batch.bootstrap
-
Defines project metadata (key, name, source directories, ...).
- ProjectFileSystem - Interface in org.sonar.api.resources
-
- ProjectIssues - Interface in org.sonar.api.issue
-
Used by batch components to get all project issues.
- ProjectKey - Interface in org.sonar.api.batch.bootstrap
-
- projectKey() - Method in interface org.sonar.api.issue.ActionPlan
-
- projectKey() - Method in interface org.sonar.api.issue.Issue
-
- projectReactor() - Method in class org.sonar.api.batch.bootstrap.internal.ProjectBuilderContext
-
- projectReactor() - Method in interface org.sonar.api.batch.bootstrap.ProjectBuilder.Context
-
- ProjectReactor - Class in org.sonar.api.batch.bootstrap
-
Mutable project definitions that can be modified by
ProjectBuilder
extensions.
- ProjectReactor(ProjectDefinition) - Constructor for class org.sonar.api.batch.bootstrap.ProjectReactor
-
- PROJECTS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PROJECTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- ProjectScanHandler - Interface in org.sonar.api.scan.event
-
- ProjectScanHandler.ProjectScanEvent - Interface in org.sonar.api.scan.event
-
- projectSettings() - Method in interface org.sonar.api.issue.action.Function.Context
-
- ProjectUtils - Class in org.sonar.api.resources
-
Deprecated.
see method comments
- projectUuid() - Method in interface org.sonar.api.issue.Issue
-
- prop(String, Number) - Method in class org.sonar.api.utils.text.JsonWriter
-
Encodes the property name and value.
- prop(String, String) - Method in class org.sonar.api.utils.text.JsonWriter
-
- prop(String, boolean) - Method in class org.sonar.api.utils.text.JsonWriter
-
- prop(String, long) - Method in class org.sonar.api.utils.text.JsonWriter
-
- prop(String, double) - Method in class org.sonar.api.utils.text.JsonWriter
-
- prop(String, String) - Method in class org.sonar.api.utils.text.XmlWriter
-
- prop(String, Number) - Method in class org.sonar.api.utils.text.XmlWriter
-
- prop(String, boolean) - Method in class org.sonar.api.utils.text.XmlWriter
-
- prop(String, long) - Method in class org.sonar.api.utils.text.XmlWriter
-
- prop(String, double) - Method in class org.sonar.api.utils.text.XmlWriter
-
- PROP_DIALECT - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_DRIVER - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_EMBEDDED_PORT - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_EMBEDDED_PORT_DEFAULT_VALUE - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_PASSWORD - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_PASSWORD_DEFAULT_VALUE - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_URL - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_USER - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_USER_DEFAULT_VALUE - Static variable in interface org.sonar.api.database.DatabaseProperties
-
- PROP_USER_DEPRECATED - Static variable in interface org.sonar.api.database.DatabaseProperties
-
Deprecated.
not documented for a while (before version 3.6) and not supported since version 5.2.
- propDate(String, Date) - Method in class org.sonar.api.utils.text.JsonWriter
-
Encodes the property name and date value (ISO format).
- propDateTime(String, Date) - Method in class org.sonar.api.utils.text.JsonWriter
-
Encodes the property name and datetime value (ISO format).
- properties() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- properties() - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
-
- properties() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- properties - Variable in class org.sonar.api.config.Settings
-
- Properties - Annotation Type in org.sonar.api
-
Plugin properties.
- properties() - Method in class org.sonar.api.utils.System2
-
- PropertiesBuilder<K,V> - Class in org.sonar.api.measures
-
- PropertiesBuilder(Metric, Map<K, V>) - Constructor for class org.sonar.api.measures.PropertiesBuilder
-
- PropertiesBuilder(Metric) - Constructor for class org.sonar.api.measures.PropertiesBuilder
-
- PropertiesBuilder() - Constructor for class org.sonar.api.measures.PropertiesBuilder
-
- propertiesByCategory(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- Property - Annotation Type in org.sonar.api
-
Property value can be set in different ways :
System property
Batch command-line (-Dfoo=bar in Maven or sonar-runner)
Maven pom.xml (element
)
Maven settings.xml
SonarQube web administration console
- property(String) - Method in class org.sonar.api.utils.System2
-
- PropertyDefinition - Class in org.sonar.api.config
-
Declare a plugin property.
- PropertyDefinition.Builder - Class in org.sonar.api.config
-
- PropertyDefinition.Result - Class in org.sonar.api.config
-
- PropertyDefinitions - Class in org.sonar.api.config
-
Metadata of all the properties declared by plugins
- PropertyDefinitions(Object...) - Constructor for class org.sonar.api.config.PropertyDefinitions
-
- PropertyDefinitions(Collection<PropertyDefinition>) - Constructor for class org.sonar.api.config.PropertyDefinitions
-
- PropertyField - Annotation Type in org.sonar.api
-
Property field.
- PropertyFieldDefinition - Class in org.sonar.api.config
-
- PropertyFieldDefinition.Builder - Class in org.sonar.api.config
-
- propertySetKey(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- propertySetKey() - Method in class org.sonar.api.config.PropertyDefinition
-
- PropertyType - Enum in org.sonar.api
-
- provide() - Method in class org.sonar.api.ExtensionProvider
-
- PUBLIC_API - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PUBLIC_API_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PUBLIC_DOCUMENTED_API_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PUBLIC_DOCUMENTED_API_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PUBLIC_UNDOCUMENTED_API - Static variable in class org.sonar.api.measures.CoreMetrics
-
- PUBLIC_UNDOCUMENTED_API_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- RailsHandler - Class in org.sonar.api.server.ws
-
Used to declare web services that are still implemented in Ruby on Rails.
- range() - Method in class org.sonar.api.batch.sensor.highlighting.internal.SyntaxHighlightingRule
-
- RangeDistributionBuilder - Class in org.sonar.api.ce.measure
-
Utility to build a distribution based on defined ranges
- RangeDistributionBuilder() - Constructor for class org.sonar.api.ce.measure.RangeDistributionBuilder
-
- RangeDistributionBuilder(Number[]) - Constructor for class org.sonar.api.ce.measure.RangeDistributionBuilder
-
RangeDistributionBuilder for a defined range
Each entry is initialized at zero
- RangeDistributionBuilder - Class in org.sonar.api.measures
-
- RangeDistributionBuilder(Metric<String>, Number[]) - Constructor for class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
RangeDistributionBuilder for a metric and a defined range
Each entry is initialized at zero
- RangeDistributionBuilder(Metric<String>) - Constructor for class org.sonar.api.measures.RangeDistributionBuilder
-
Deprecated.
- RATING_GRID - Static variable in interface org.sonar.api.CoreProperties
-
- RATING_GRID_DEF_VALUES - Static variable in interface org.sonar.api.CoreProperties
-
- READABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic MAINTAINABILITY
- readBase64(String) - Static method in class org.sonar.api.config.License
-
- readBytes(URI) - Method in class org.sonar.api.utils.UriReader
-
Reads all bytes from uri.
- readBytes(URI) - Method in class org.sonar.api.utils.UriReader.SchemeProcessor
-
- readFile(File, Charset, FileMetadata.CharHandler...) - Static method in class org.sonar.api.batch.fs.internal.FileMetadata
-
- readInputStreamParam(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- readMetadata(File, Charset) - Method in class org.sonar.api.batch.fs.internal.FileMetadata
-
Compute hash of a file ignoring line ends differences.
- readMetadata(Reader) - Method in class org.sonar.api.batch.fs.internal.FileMetadata
-
For testing purpose
- readParam(String) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- readString(URI, Charset) - Method in class org.sonar.api.utils.UriReader
-
Reads all characters from uri, using the given character set.
- readString(URI, Charset) - Method in class org.sonar.api.utils.UriReader.SchemeProcessor
-
- references(Symbol) - Method in interface org.sonar.api.source.Symbolizable.SymbolTable
-
Deprecated.
since 5.2 not used
- relativeFile(File, String) - Method in class org.sonar.api.scan.filesystem.PathResolver
-
- relativeFiles(File, List<String>) - Method in class org.sonar.api.scan.filesystem.PathResolver
-
- relativePath() - Method in interface org.sonar.api.batch.fs.InputDir
-
Path relative to module base directory.
- relativePath() - Method in interface org.sonar.api.batch.fs.InputFile
-
Path relative to module base directory.
- relativePath() - Method in interface org.sonar.api.batch.fs.InputPath
-
- relativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
- relativePath() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- relativePath() - Method in interface org.sonar.api.scan.filesystem.FileSystemFilter.Context
-
Deprecated.
Changed in 5.1 as we don't keep track of relative path to source dir
File path relative to module base directory.
- relativePath(Collection<File>, File) - Method in class org.sonar.api.scan.filesystem.PathResolver
-
- relativePath(File, File) - Method in class org.sonar.api.scan.filesystem.PathResolver
-
- relativePathFromSourceDir() - Method in class org.sonar.api.resources.Directory
-
Internal.
- relativePathFromSourceDir() - Method in class org.sonar.api.resources.File
-
Internal.
- RelativePathPredicate - Class in org.sonar.api.batch.fs.internal
-
- release(String) - Method in interface org.sonar.api.utils.Semaphores
-
Deprecated.
Release the lock on a semaphore by its name.
- RELIABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic RELIABILITY
- remove() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- removeActiveRule(ActiveRule) - Method in class org.sonar.api.profiles.RulesProfile
-
- removeFromParent() - Method in class org.sonar.api.resources.Project
-
For internal use only.
- removeProperty(String) - Method in class org.sonar.api.config.Settings
-
- REOPEN - Static variable in interface org.sonar.api.issue.DefaultTransitions
-
- REOPENED_ISSUES - Static variable in class org.sonar.api.measures.CoreMetrics
-
- REOPENED_ISSUES_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- reporter(String) - Method in interface org.sonar.api.issue.Issuable.IssueBuilder
-
Login of the user who reported the issue.
- reporter() - Method in interface org.sonar.api.issue.Issue
-
Login of the user who reported this issue.
- repositories() - Method in class org.sonar.api.server.rule.RulesDefinition.Context
-
- repository() - Method in class org.sonar.api.rule.RuleKey
-
Never null
- repository(String) - Method in class org.sonar.api.server.rule.RulesDefinition.Context
-
- repository() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- Request - Class in org.sonar.api.server.ws
-
- Request() - Constructor for class org.sonar.api.server.ws.Request
-
- RequestHandler - Interface in org.sonar.api.server.ws
-
- RequiredMeasures - Annotation Type in org.sonar.api.web
-
Deprecated.
in 4.5. Not supported anymore in source viewer as Ruby on Rails is being dropped.
- requirement - Variable in class org.sonar.api.measures.Measure
-
- requirement(Metric, Requirement) - Static method in class org.sonar.api.measures.MeasuresFilters
-
- Requirement - Interface in org.sonar.api.technicaldebt.batch
-
- requirements() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- requireProperties(String...) - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
-
- requireProperties(String...) - Method in interface org.sonar.api.batch.postjob.PostJobDescriptor
-
List properties this
PostJob
depends on.
- requireProperties(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- requireProperties(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
-
List properties this
Sensor
depends on.
- requireProperty(String...) - Method in class org.sonar.api.batch.postjob.internal.DefaultPostJobDescriptor
-
- requireProperty(String...) - Method in interface org.sonar.api.batch.postjob.PostJobDescriptor
-
- requireProperty(String...) - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- requireProperty(String...) - Method in interface org.sonar.api.batch.sensor.SensorDescriptor
-
Property this
Sensor
depends on.
- reset() - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- reset() - Method in class org.sonar.api.utils.dag.Node
-
- resetSourceDirs() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- resetSources() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- resetTestDirs() - 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
-
Deprecated.
since 5.2 no more decorators on batch side
- resolvedIssues() - Method in interface org.sonar.api.issue.ProjectIssues
-
All the issues of this project that have been marked as resolved during this scan
- resolveOrder() - Method in class org.sonar.api.utils.dag.Node
-
- resolvePath(String) - Method in interface org.sonar.api.batch.fs.FileSystem
-
Utility method mainly used to resolve location of reports.
- resolvePath(String) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- resolvePath(String) - Method in interface org.sonar.api.resources.ProjectFileSystem
-
- Resource - Class in org.sonar.api.resources
-
The interface to implement to create a resource in Sonar
- Resource() - Constructor for class org.sonar.api.resources.Resource
-
- RESOURCE - Static variable in annotation type org.sonar.api.web.NavigationSection
-
- RESOURCE_CONFIGURATION - Static variable in annotation type org.sonar.api.web.NavigationSection
-
Only Ruby and rails application.
- RESOURCE_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic RELIABILITY
- RESOURCE_TAB - Static variable in annotation type org.sonar.api.web.NavigationSection
-
Deprecated.
in 4.5, as it costs too much to maintain and update.
- ResourceFilter - Interface in org.sonar.api.batch
-
Deprecated.
since 4.2. Analysis is file-system oriented. See org.sonar.api.scan.filesystem.InputFileFilter
- resourceKey() - Method in class org.sonar.api.batch.sensor.duplication.Duplication.Block
-
- ResourceLanguage - Annotation Type in org.sonar.api.web
-
The view is displayed only if the selected resource has the same language.
- ResourcePermissions - Interface in org.sonar.api.security
-
Grant access to newly created projects.
- ResourcePerspectives - Interface in org.sonar.api.component
-
- ResourceQualifier - Annotation Type in org.sonar.api.web
-
The view is displayed only if the selected resource has the same qualifier.
- ResourceScope - Annotation Type in org.sonar.api.web
-
The view is displayed only if the selected resource has the same qualifier.
- ResourceType - Class in org.sonar.api.resources
-
Experimental extension to declare types of resources.
- ResourceType.Builder - Class in org.sonar.api.resources
-
- ResourceType.Builder(String) - Constructor for class org.sonar.api.resources.ResourceType.Builder
-
- ResourceTypes - Class in org.sonar.api.resources
-
- ResourceTypes() - Constructor for class org.sonar.api.resources.ResourceTypes
-
- ResourceTypes(ResourceTypeTree[]) - Constructor for class org.sonar.api.resources.ResourceTypes
-
- ResourceTypeTree - Class in org.sonar.api.resources
-
- ResourceTypeTree.Builder - Class in org.sonar.api.resources
-
- ResourceUtils - Class in org.sonar.api.resources
-
- Response - Interface in org.sonar.api.server.ws
-
HTTP response
- Response.Stream - Interface in org.sonar.api.server.ws
-
- responseExample() - Method in class org.sonar.api.server.ws.WebService.Action
-
- responseExampleAsString() - Method in class org.sonar.api.server.ws.WebService.Action
-
- responseExampleFormat() - Method in class org.sonar.api.server.ws.WebService.Action
-
- REUSABILITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic REUSABILITY
- revision() - Method in class org.sonar.api.batch.scm.BlameLine
-
- revision(String) - Method in class org.sonar.api.batch.scm.BlameLine
-
- RFC - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 4.2. See SONAR-5042
- RFC_DISTRIBUTION - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 4.2. See SONAR-5042
- RFC_DISTRIBUTION_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 4.2. See SONAR-5042
- RFC_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 4.2. See SONAR-5042
- ROOT - Static variable in class org.sonar.api.resources.Directory
-
- root() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- rootCharacteristic() - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- rootCharacteristic() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
-
Deprecated.
- rootId() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
-
Deprecated.
since 4.3. return null
- rootId() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- RubyComponentService - Interface in org.sonar.api.component
-
- RubyRailsPage - Interface in org.sonar.api.web
-
- RubyRailsWebservice - Interface in org.sonar.api.web
-
- RubyRailsWidget - Interface in org.sonar.api.web
-
Widget in project dashboard page.
- RubyUserService - Interface in org.sonar.api.user
-
- Rule - Interface in org.sonar.api.batch.rule
-
- rule(Metric, RuleKey) - Static method in class org.sonar.api.measures.MeasuresFilters
-
- rule(Metric, Rule) - Static method in class org.sonar.api.measures.MeasuresFilters
-
- rule() - Method in class org.sonar.api.rule.RuleKey
-
Never null
- Rule - Class in org.sonar.api.rules
-
- Rule() - Constructor for class org.sonar.api.rules.Rule
-
- 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
-
Deprecated.
in 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
- ruleKey() - Method in interface org.sonar.api.batch.postjob.issue.Issue
-
- 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 class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- ruleKey() - Method in interface org.sonar.api.technicaldebt.batch.Requirement
-
Deprecated.
- ruleKey() - Method in interface org.sonar.api.technicaldebt.server.Characteristic
-
Deprecated.
since 4.3. return null
- ruleKey() - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- RuleMeasure - Class in org.sonar.api.measures
-
Deprecated.
since 5.2. Ignored by design because of Compute Engine.
- RuleMeasure(Metric, Rule, RulePriority, Integer) - Constructor for class org.sonar.api.measures.RuleMeasure
-
- RuleMeasure(Metric, RuleKey, RulePriority, Integer) - Constructor for class org.sonar.api.measures.RuleMeasure
-
Deprecated.
This constructor is for internal use only.
- RuleParam - Interface in org.sonar.api.batch.rule
-
- RuleParam - Class in org.sonar.api.rules
-
- RuleParam() - Constructor for class org.sonar.api.rules.RuleParam
-
Deprecated.
since 2.3 use the factory method Rule.setParameter()
- RuleParam(Rule, String, String, String) - Constructor for class org.sonar.api.rules.RuleParam
-
Deprecated.
since 2.3 use the factory method setParameter()
- RuleParamType - Class in org.sonar.api.server.rule
-
- RulePriority - Enum in org.sonar.api.rules
-
- RuleQuery - Class in org.sonar.api.rules
-
- ruleRepositories() - Method in class org.sonar.api.batch.sensor.internal.DefaultSensorDescriptor
-
- RuleRepository - Class in org.sonar.api.rules
-
Deprecated.
in 4.2. Replaced by org.sonar.api.server.rule.RulesDefinition
- RuleRepository(String, String) - Constructor for class org.sonar.api.rules.RuleRepository
-
Deprecated.
- Rules - Interface in org.sonar.api.batch.rule
-
Searches for rules.
- rules(Metric) - Static method in class org.sonar.api.measures.MeasuresFilters
-
- rules() - Method in interface org.sonar.api.server.rule.RulesDefinition.ExtendedRepository
-
- rules() - Method in interface org.sonar.api.server.rule.RulesDefinition.NewExtendedRepository
-
- rules() - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
-
- rules() - Method in class org.sonar.api.server.rule.RulesDefinition.RepositoryImpl
-
- RulesBuilder - Class in org.sonar.api.batch.rule.internal
-
For unit testing and internal use only.
- RulesBuilder() - Constructor for class org.sonar.api.batch.rule.internal.RulesBuilder
-
- RulesDefinition - Interface in org.sonar.api.server.rule
-
Defines some coding rules of the same repository.
- RulesDefinition.Context - Class in org.sonar.api.server.rule
-
Instantiated by core but not by plugins, except for their tests.
- RulesDefinition.Context() - Constructor for class org.sonar.api.server.rule.RulesDefinition.Context
-
- RulesDefinition.DebtRemediationFunctions - Interface in org.sonar.api.server.rule
-
- RulesDefinition.ExtendedRepository - Interface in org.sonar.api.server.rule
-
- RulesDefinition.NewExtendedRepository - Interface in org.sonar.api.server.rule
-
- RulesDefinition.NewParam - Class in org.sonar.api.server.rule
-
- RulesDefinition.NewRepository - Interface in org.sonar.api.server.rule
-
- RulesDefinition.NewRepositoryImpl - Class in org.sonar.api.server.rule
-
- RulesDefinition.NewRule - Class in org.sonar.api.server.rule
-
- RulesDefinition.Param - Class in org.sonar.api.server.rule
-
- RulesDefinition.Repository - Interface in org.sonar.api.server.rule
-
- RulesDefinition.RepositoryImpl - Class in org.sonar.api.server.rule
-
- RulesDefinition.Rule - Class in org.sonar.api.server.rule
-
- RulesDefinition.SubCharacteristics - Class in org.sonar.api.server.rule
-
Default sub-characteristics of technical debt model.
- RulesDefinitionAnnotationLoader - Class in org.sonar.api.server.rule
-
Read definitions of rules based on the annotations provided by sonar-check-api.
- RulesDefinitionAnnotationLoader() - Constructor for class org.sonar.api.server.rule.RulesDefinitionAnnotationLoader
-
- RulesDefinitionI18nLoader - Class in org.sonar.api.server.rule
-
Loads the English bundles of rules (name, description and parameters) that are
deprecated since 4.2.
- RulesDefinitionI18nLoader(RuleI18n) - Constructor for class org.sonar.api.server.rule.RulesDefinitionI18nLoader
-
- RulesDefinitionXmlLoader - Class in org.sonar.api.server.rule
-
- RulesDefinitionXmlLoader() - Constructor for class org.sonar.api.server.rule.RulesDefinitionXmlLoader
-
- RulesProfile - Class in org.sonar.api.profiles
-
This class is badly named.
- RulesProfile() - Constructor for class org.sonar.api.profiles.RulesProfile
-
Deprecated.
use the factory method create()
- RulesProfile(String, String) - Constructor for class org.sonar.api.profiles.RulesProfile
-
Deprecated.
since 2.3. Use the factory method create()
- RulesProfile(String, String, boolean, boolean) - Constructor for class org.sonar.api.profiles.RulesProfile
-
Deprecated.
since 2.3. Use the factory method create()
- RuleStatus - Enum in org.sonar.api.rule
-
- RuleTagFormat - Class in org.sonar.api.server.rule
-
The characters allowed in rule tags are the same as those on StackOverflow, basically lower-case
letters, digits, plus (+), sharp (#), dash (-) and dot (.)
See http://meta.stackoverflow.com/questions/22624/what-symbols-characters-are-not-allowed-in-tags
- sanitize(String) - Static method in class org.sonar.api.utils.PathUtils
-
Normalize path and replace file separators by forward slash
- save() - Method in interface org.sonar.api.batch.sensor.coverage.NewCoverage
-
Call this method only once when your are done with defining coverage of the file.
- save() - Method in interface org.sonar.api.batch.sensor.duplication.NewDuplication
-
Save the duplication.
- save() - Method in interface org.sonar.api.batch.sensor.highlighting.NewHighlighting
-
Call this method only once when your are done with defining highlighting of the file.
- save() - Method in class org.sonar.api.batch.sensor.internal.DefaultStorable
-
- save() - Method in interface org.sonar.api.batch.sensor.issue.NewIssue
-
Save the issue.
- save() - Method in interface org.sonar.api.batch.sensor.measure.NewMeasure
-
Save the measure.
- save() - Method in interface org.sonar.api.measures.FileLinesContext
-
Saves unsaved values.
- saveDependency(Dependency) - Method in interface org.sonar.api.batch.DecoratorContext
-
Deprecated.
since 5.2 No more design features. No-op.
- saveDependency(Dependency) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
since 5.2 No more design features. No-op
- saveMeasure(Measure) - Method in interface org.sonar.api.batch.DecoratorContext
-
Add a new measure on the current resource.
- saveMeasure(Metric, Double) - Method in interface org.sonar.api.batch.DecoratorContext
-
Add a new measure on the current resource.
- saveMeasure(Measure) - Method in interface org.sonar.api.batch.SensorContext
-
Add a measure on project
- saveMeasure(Metric, Double) - Method in interface org.sonar.api.batch.SensorContext
-
Add a measure on project
- saveMeasure(Resource, Metric, Double) - Method in interface org.sonar.api.batch.SensorContext
-
Add or update a measure.
- saveMeasure(Resource, Measure) - Method in interface org.sonar.api.batch.SensorContext
-
Add or update a measure.
- saveMeasure(InputFile, Metric, Double) - Method in interface org.sonar.api.batch.SensorContext
-
- saveMeasure(InputFile, Measure) - Method in interface org.sonar.api.batch.SensorContext
-
- saveResource(Resource) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
use the methods index()
- saveSource(Resource, String) - Method in interface org.sonar.api.batch.SensorContext
-
Deprecated.
since 4.2 Source import is done by the platform
- scaleValue(double) - Static method in class org.sonar.api.utils.ParsingUtils
-
Scales a double value, taking into account 2 decimals
- scaleValue(double, int) - Static method in class org.sonar.api.utils.ParsingUtils
-
Scales a double value with decimals
- SCAN_TASK - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
since 5.2 no more task concept on batch side
- SCM_AUTHORS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.0 SCM data will no more be stored as measures
- SCM_AUTHORS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.0 SCM data will no more be stored as measures
- SCM_DISABLED_KEY - Static variable in interface org.sonar.api.CoreProperties
-
- SCM_LAST_COMMIT_DATETIMES_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.0 SCM data will no more be stored as measures
- SCM_LAST_COMMIT_DATETIMES_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.0 SCM data will no more be stored as measures
- SCM_PROVIDER_KEY - Static variable in interface org.sonar.api.CoreProperties
-
- SCM_REVISIONS_BY_LINE - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.0 SCM data will no more be stored as measures
- SCM_REVISIONS_BY_LINE_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
since 5.0 SCM data will no more be stored as measures
- ScmProvider - Class in org.sonar.api.batch.scm
-
- ScmProvider() - Constructor for class org.sonar.api.batch.scm.ScmProvider
-
- SCOPE - Static variable in class org.sonar.api.resources.File
-
- SCOPE - Static variable in class org.sonar.api.resources.Method
-
Deprecated.
- SCOPE - Static variable in class org.sonar.api.resources.Project
-
- SCOPE_ENTITY - Static variable in class org.sonar.api.resources.Resource
-
Deprecated.
since 2.6. Use Scopes.FILE.
- SCOPE_SET - Static variable in class org.sonar.api.resources.Resource
-
Deprecated.
since 2.6. Use Scopes.PROJECT.
- SCOPE_SPACE - Static variable in class org.sonar.api.resources.Resource
-
Deprecated.
since 2.6. Use Scopes.DIRECTORY.
- Scopes - Class in org.sonar.api.resources
-
Resource scopes are used to group some types of resources.
- scramble(String) - Method in class org.sonar.api.config.Encryption
-
- searchText(String) - Method in class org.sonar.api.user.UserQuery.Builder
-
- searchText() - Method in class org.sonar.api.user.UserQuery
-
Search for logins or names containing a given string
- Section - Enum in org.sonar.api.web
-
Deprecated.
add annotation org.sonar.api.web.NavigationSection to View extensions
- SECURITY_COMPLIANCE - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic SECURITY
- SECURITY_FEATURES - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic SECURITY
- SecurityRealm - Class in org.sonar.api.security
-
- SecurityRealm() - Constructor for class org.sonar.api.security.SecurityRealm
-
- SELECTED - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- selectLine(int) - Method in interface org.sonar.api.batch.fs.InputFile
-
Returns a
TextRange
in the given file that select the full line.
- selectLine(int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- Semaphores - Interface in org.sonar.api.utils
-
Deprecated.
in 5.2 as batch analyzer does not connect to database anymore
- Semaphores.Semaphore - Class in org.sonar.api.utils
-
Deprecated.
- Semaphores.Semaphore() - Constructor for class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- Sensor - Interface in org.sonar.api.batch
-
A Sensor is invoked once during the analysis of a project.
- Sensor - Interface in org.sonar.api.batch.sensor
-
A sensor is invoked once during the analysis of a project.
- SensorContext - Interface in org.sonar.api.batch.sensor
-
- SensorContext - Interface in org.sonar.api.batch
-
- SensorContextTester - Class in org.sonar.api.batch.sensor.internal
-
Utility class to help testing
Sensor
.
- SensorContextTester.MockAnalysisMode - Class in org.sonar.api.batch.sensor.internal
-
- SensorContextTester.MockAnalysisMode() - Constructor for class org.sonar.api.batch.sensor.internal.SensorContextTester.MockAnalysisMode
-
- SensorDescriptor - Interface in org.sonar.api.batch.sensor
-
Describe what a
Sensor
is doing.
- SensorExecutionHandler - Interface in org.sonar.api.batch.events
-
- SensorExecutionHandler.SensorExecutionEvent - Interface in org.sonar.api.batch.events
-
This interface is not intended to be implemented by clients.
- SensorsPhaseHandler - Interface in org.sonar.api.batch.events
-
- SensorsPhaseHandler.SensorsPhaseEvent - Interface in org.sonar.api.batch.events
-
This interface is not intended to be implemented by clients.
- SensorStorage - Interface in org.sonar.api.batch.sensor.internal
-
Interface for storing data computed by sensors.
- SEPARATOR - Static variable in class org.sonar.api.resources.Directory
-
- Server - Class in org.sonar.api.platform
-
- Server() - Constructor for class org.sonar.api.platform.Server
-
- SERVER_BASE_URL - Static variable in interface org.sonar.api.CoreProperties
-
- SERVER_BASE_URL_DEFAULT_VALUE - Static variable in interface org.sonar.api.CoreProperties
-
- SERVER_ID - Static variable in interface org.sonar.api.CoreProperties
-
- SERVER_ID_IP_ADDRESS - Static variable in interface org.sonar.api.CoreProperties
-
- SERVER_STARTTIME - Static variable in interface org.sonar.api.CoreProperties
-
- SERVER_VERSION - Static variable in interface org.sonar.api.CoreProperties
-
- ServerComponent - Interface in org.sonar.api
-
- ServerExtension - Interface in org.sonar.api
-
- ServerFileSystem - Interface in org.sonar.api.platform
-
- ServerSide - Annotation Type in org.sonar.api.server
-
Same than
BatchSide
but for server-side components.
- ServerStartHandler - Interface in org.sonar.api.platform
-
- ServerStopHandler - Interface in org.sonar.api.platform
-
- ServerUpgradeStatus - Interface in org.sonar.api.platform
-
- ServletFilter - Class in org.sonar.api.web
-
- ServletFilter() - Constructor for class org.sonar.api.web.ServletFilter
-
- ServletFilter.UrlPattern - Class in org.sonar.api.web
-
- setAction(WebService.Action) - Method in class org.sonar.api.server.ws.internal.ValidatingRequest
-
- setActivated(boolean) - Method in class org.sonar.api.web.Dashboard
-
Set whether the dashboard is activated for all anonymous users or users who haven't configured their own dashboards.
- setActiveRule(ActiveRule) - Method in class org.sonar.api.rules.ActiveRuleParam
-
Deprecated.
visibility should be decreased to protected or package
- setActiveRuleParams(List<ActiveRuleParam>) - Method in class org.sonar.api.rules.ActiveRule
-
Deprecated.
use setParameter()
- setActiveRules(ActiveRules) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- setActiveRules(List<ActiveRule>) - Method in class org.sonar.api.profiles.RulesProfile
-
Set the list of active rules
- setAlertStatus(Metric.Level) - Method in class org.sonar.api.measures.Measure
-
Set the alert status of the measure
- setAlertText(String) - Method in class org.sonar.api.measures.Measure
-
Sets the text associated to the alert on the measure
- setAnalysisDate(Date) - Method in class org.sonar.api.resources.Project
-
For internal use only.
- setAnalysisType(Project.AnalysisType) - Method in class org.sonar.api.resources.Project
-
Deprecated.
since 4.4 Since 4.3 SQ will no more run tests. So basically it's always reuse report.
- setAnalysisVersion(String) - Method in class org.sonar.api.resources.Project
-
For internal use only.
- setAttribute(String, String) - Method in interface org.sonar.api.issue.action.Function.Context
-
- setAttribute(String, String) - Method in interface org.sonar.api.issue.IssueHandler.Context
-
- setAuthorLogin(String) - Method in interface org.sonar.api.issue.IssueHandler.Context
-
- setBaseDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setBaseDir(File) - Method in class org.sonar.api.resources.Project
-
- setBestValue(Double) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets the best value that the metric can get (example: 100.0 for code coverage).
- setBestValue(Double) - Method in class org.sonar.api.measures.Metric
-
- setBooleanPossibleValues() - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setBranch(String) - Method in class org.sonar.api.resources.Project
-
For internal use only.
- setBuildDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setCardinality(Cardinality) - Method in class org.sonar.api.rules.Rule
-
- setCharacteristic(Characteristic) - Method in class org.sonar.api.measures.Measure
-
- setCharacteristic(DefaultCharacteristic) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- setCharacteristicId(Integer) - Method in class org.sonar.api.rules.Rule
-
- setCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
-
- setCharset(Charset) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setConditions(Condition...) - Method in class org.sonar.api.issue.action.Action
-
- setConditions(int, int, int) - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- setConfigKey(String) - Method in class org.sonar.api.rules.Rule
-
Sets the configuration key
- setCoverageBlock(Testable, List<Integer>) - Method in interface org.sonar.api.test.MutableTestCase
-
- setCoverageBlock(InputFile, List<Integer>) - Method in interface org.sonar.api.test.MutableTestCase
-
- setCreatedAt(Date) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
-
- setCreatedAt(Date) - Method in class org.sonar.api.rules.Rule
-
- setCreatedAt(Date) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
-
- setCreatedAt(Date) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- setCreatedAt(Date) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- setCreatedAt(Date) - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- setData(String) - Method in class org.sonar.api.measures.Measure
-
Sets the data field of the measure.
- setData(Metric.Level) - Method in class org.sonar.api.measures.Measure
-
Sets an alert level as the data field
- setDate(Date) - Method in class org.sonar.api.measures.Measure
-
Sets the date of the measure - Used only in TimeMachine queries
- setDebt(Duration) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setDebtRemediationFunction(DebtRemediationFunction) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setDebtSubCharacteristic(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
SQALE sub-characteristic.
- setDecoratorContext(DecoratorContext) - Method in class org.sonar.api.batch.DefaultFormulaContext
-
- setDefaultCharacteristicId(Integer) - Method in class org.sonar.api.rules.Rule
-
- setDefaultCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
-
- setDefaultMessage(String) - Method in class org.sonar.api.notifications.Notification
-
When creating a new notification, it is strongly advised to give a default message that can be
used by channels that don't want to specifically format messages for different notification types.
- setDefaultProfile(Boolean) - Method in class org.sonar.api.profiles.RulesProfile
-
Set whether this is the default profile for the language.
- setDefaultSubCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
-
- setDefaultValue(String) - Method in class org.sonar.api.rules.RuleParam
-
- setDefaultValue(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewParam
-
Empty default value will be converted to null.
- setDefaultValue(Object) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setDeleteHistoricalData(boolean) - Method in class org.sonar.api.measures.Metric.Builder
-
Specifies whether measures from the past can be automatically deleted to minimize database volume.
- setDeprecatedKey(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- setDeprecatedKey(String) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setDescription(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setDescription(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setDescription(String) - Method in class org.sonar.api.batch.rule.internal.NewRuleParam
-
- setDescription(String) - Method in class org.sonar.api.measures.Measure
-
Sets the measure description
- setDescription(String) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets the metric description.
- setDescription(String) - Method in class org.sonar.api.measures.Metric
-
Sets the metric description
- setDescription(String) - Method in class org.sonar.api.resources.Library
-
Deprecated.
- setDescription(String) - Method in class org.sonar.api.resources.Project
-
For internal use only.
- setDescription(String) - Method in class org.sonar.api.rules.Rule
-
Sets the rule description
- setDescription(String) - Method in class org.sonar.api.rules.RuleParam
-
- setDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewParam
-
Plain-text description.
- setDescription(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- setDescription(String) - Method in class org.sonar.api.server.ws.WebService.NewController
-
Optional description (accept HTML)
- setDescription(String) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setDescription(String) - Method in class org.sonar.api.web.Dashboard
-
Sets the description of the dashboard.
- setDirection(Integer) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets the metric direction (used for numeric values only), which is used in the Web UI to show if the trend of a metric is good or not.
- setDirection(Integer) - Method in class org.sonar.api.measures.Metric
-
Sets the metric direction.
- setDirectory(File) - Method in class org.sonar.api.utils.command.Command
-
Sets working directory.
- setDisplayAs(String) - Method in class org.sonar.api.web.Filter
-
Set the type of display used by this
Filter
.
- setDomain(String) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets the domain for the metric (General, Complexity...).
- setDomain(String) - Method in class org.sonar.api.measures.Metric
-
Sets the domain for the metric (General, Complexity...)
- setDurationInMs(Long) - Method in interface org.sonar.api.test.MutableTestCase
-
- setDurationSinceLocked(Long) - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- setEffectiveKey(String) - Method in class org.sonar.api.resources.Resource
-
Internal use only
- setEffortToFix(Double) - Method in interface org.sonar.api.issue.IssueHandler.Context
-
- setEffortToFixDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
For rules that use "Linear"/"Linear with offset" remediation functions, the meaning
of the function parameter (= "effort to fix") must be set.
- setEmail(String) - Method in class org.sonar.api.database.model.User
-
- setEmail(String) - Method in class org.sonar.api.platform.NewUserHandler.Context.Builder
-
- setEmail(String) - Method in class org.sonar.api.security.UserDetails
-
- setEnabled(Boolean) - Method in class org.sonar.api.measures.Metric
-
Sets whether the metric is enabled
- setEncoding(Charset) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- setEnvironmentVariable(String, String) - Method in class org.sonar.api.utils.command.Command
-
- setExampleValue(Object) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
- setExcluded(boolean) - Method in class org.sonar.api.resources.Resource
-
Deprecated.
since 2.6 should use SensorContext#isExcluded(resource). It will make inheritance of Resource easier.
- setFactor(WorkUnit) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
- setFactor(WorkUnit) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- setFactorUnit(WorkDuration.UNIT) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- setFactorUnit(WorkDuration.UNIT) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- setFactorValue(int) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- setFactorValue(Integer) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- setFallbackForMainMetric(Metric) - Method in class org.sonar.api.measures.AverageFormula
-
Deprecated.
Set a fallback metric if no measures found for the main metric.
- setFavouritesOnly(boolean) - Method in class org.sonar.api.web.Filter
-
The
Filter
can be configured to return only favourites.
- setFieldValue(String, String) - Method in class org.sonar.api.notifications.Notification
-
Adds a field (kind of property) to the notification
- setFileSystem(DefaultFileSystem) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- setFileSystem(ProjectFileSystem) - Method in class org.sonar.api.resources.Project
-
Deprecated.
since 2.6. See http://jira.sonarsource.com/browse/SONAR-2126
- setFormula(Formula) - Method in class org.sonar.api.measures.Metric.Builder
-
Deprecated.
since 5.2, it's no more possible to define a formula on a metric, please use MeasureComputer
instead
- setFormula(Formula) - Method in class org.sonar.api.measures.Metric
-
Deprecated.
since 5.2 there's no more decorator on batch side, please use MeasureComputer
instead
- setFrom(Resource) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
For internal use only
- setFrom(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- setFromCore() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
For internal use.
- setFromCore(boolean) - Method in class org.sonar.api.measures.Measure
-
For internal use
- setFunction(String) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- setFunction(String) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- setFunctions(Function...) - Method in class org.sonar.api.issue.action.Action
-
- setGlobal(boolean) - Method in class org.sonar.api.web.Dashboard
-
A dashboard is global when it doesn't display information from a projet but rather more general information.
- setHandler(RequestHandler) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- setHash(String) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setHeader(String, String) - Method in interface org.sonar.api.server.ws.Response
-
- setHidden(boolean) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets whether the metric should be hidden in Web UI (e.g.
- setHidden(Boolean) - Method in class org.sonar.api.measures.Metric
-
- setHits(int, int) - Method in class org.sonar.api.measures.CoverageMeasuresBuilder
-
Deprecated.
- setHtmlDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setHtmlDescription(URL) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
Load description from a file available in classpath.
- setIconPath(String) - Method in class org.sonar.api.resources.ResourceType.Builder
-
Relative path of the icon used to represent the resource type.
- setId(Integer) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
-
- setId(Integer) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setId(Integer) - Method in class org.sonar.api.database.BaseIdentifiable
-
- setId(Long) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
Internal use only.
- setId(Long) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
since 4.4 not used
- setId(Integer) - Method in class org.sonar.api.measures.Metric
-
For internal use only
- setId(Integer) - Method in class org.sonar.api.resources.Resource
-
Internal use only
- setId(Integer) - Method in class org.sonar.api.rules.ActiveRule
-
Deprecated.
visibility should be decreased to protected or package
- setId(Integer) - Method in class org.sonar.api.rules.Rule
-
Deprecated.
since 2.3. visibility should be decreased to protected or package
- setId(Integer) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
-
- setId(Integer) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- setId(Integer) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- setId(Integer) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- setInheritance(String) - Method in class org.sonar.api.rules.ActiveRule
-
For internal use only.
- setInputMetrics(String...) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition.Builder
-
List of metric keys of the measures that will be loaded by this computer.
- setInputMetrics(String...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition.MeasureComputerDefinitionBuilderImpl
-
- setInternal(boolean) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- setInternalKey(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setInternalKey(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setInternalKey(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
Optional key that can be used by the rule engine.
- setIntValue(String, int, int) - Method in interface org.sonar.api.measures.FileLinesContext
-
- setIntValue(Integer) - Method in class org.sonar.api.measures.Measure
-
Sets the measure value as an int
- setIssues(boolean) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester.MockAnalysisMode
-
- setIssues(List<Issue>) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerContext
-
- setIsTemplate(boolean) - Method in class org.sonar.api.rules.Rule
-
- setKey(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setKey(String) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
-
- setKey(String) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setKey(String) - Method in class org.sonar.api.component.mock.MockSourceFile
-
- setKey(String) - Method in class org.sonar.api.measures.Metric
-
Sets the metric key
- setKey(String) - Method in class org.sonar.api.profiles.ProfileExporter
-
- setKey(String) - Method in class org.sonar.api.profiles.ProfileImporter
-
- setKey(String) - Method in class org.sonar.api.resources.Resource
-
Internal use only
- setKey(String) - Method in class org.sonar.api.rules.Rule
-
Sets the rule key
- setKey(String) - Method in class org.sonar.api.rules.RuleParam
-
- setKey(String) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
-
- setKey(String) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- setKey(String) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- setLanguage(String) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setLanguage(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setLanguage(String) - Method in class org.sonar.api.component.mock.MockSourceFile
-
- setLanguage(String) - Method in class org.sonar.api.profiles.RulesProfile
-
Set the profile language
- setLanguage(Language) - Method in class org.sonar.api.resources.File
-
Sets the language of the file
- setLanguage(Language) - Method in class org.sonar.api.resources.Project
-
Internal use
- setLanguage(String) - Method in class org.sonar.api.rules.Rule
-
For internal use only.
- setLastValidOffset(int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setLatestAnalysis(boolean) - Method in class org.sonar.api.resources.Project
-
Deprecated.
in 3.6. It's not possible to analyze a project before the latest known quality snapshot.
See http://jira.sonarsource.com/browse/SONAR-4334
- setLayout(DashboardLayout) - Method in class org.sonar.api.web.Dashboard
-
- setLevel(LoggerLevel) - Method in interface org.sonar.api.utils.log.Logger
-
Attempt to change logger level.
- setLevel(LoggerLevel) - Method in class org.sonar.api.utils.log.Loggers
-
- setLevel(LoggerLevel) - Method in class org.sonar.api.utils.log.LogTester
-
Enable/disable debug logs.
- setLevelToDebug() - Method in class org.sonar.api.utils.TimeProfiler
-
Deprecated.
- setLine(Integer) - Method in interface org.sonar.api.issue.IssueHandler.Context
-
- setLines(int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setLocked(boolean) - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- setLockedAt(Date) - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- setLogger(Logger) - Method in class org.sonar.api.utils.TimeProfiler
-
Deprecated.
- setLogin(String) - Method in class org.sonar.api.database.model.User
-
- setLogin(String) - Method in class org.sonar.api.platform.NewUserHandler.Context.Builder
-
- setLongName(String) - Method in class org.sonar.api.component.mock.MockSourceFile
-
- setMarkdownDescription(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setMarkdownDescription(URL) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
Load description from a file available in classpath.
- setMediaType(String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- setMediaType(String) - Method in interface org.sonar.api.server.ws.Response.Stream
-
- setMessage(String) - Method in interface org.sonar.api.issue.IssueHandler.Context
-
- setMessage(String) - Method in interface org.sonar.api.test.MutableTestCase
-
- setMessage(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- setMessageId(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- setMetric(Metric) - Method in class org.sonar.api.batch.DefaultFormulaContext
-
- setMetric(Metric<G>) - Method in class org.sonar.api.measures.Measure
-
Set the underlying metric
- setMetric(Metric) - Method in class org.sonar.api.measures.PropertiesBuilder
-
- setMimeType(String) - Method in class org.sonar.api.profiles.ProfileExporter
-
- setMinimumScopeToPersist(String) - Method in class org.sonar.api.measures.SumChildDistributionFormula
-
Deprecated.
- setModuleBaseDir(Path) - Method in class org.sonar.api.batch.fs.internal.DefaultInputDir
-
For testing purpose.
- setModuleBaseDir(Path) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
For testing purpose.
- setName(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setName(String) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
-
- setName(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setName(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setName(String) - Method in class org.sonar.api.component.mock.MockSourceFile
-
- setName(String) - Method in class org.sonar.api.database.model.User
-
- setName(String) - Method in class org.sonar.api.measures.Metric
-
Sets the metric name
- setName(String) - Method in class org.sonar.api.platform.NewUserHandler.Context.Builder
-
- setName(String) - Method in class org.sonar.api.profiles.ProfileExporter
-
- setName(String) - Method in class org.sonar.api.profiles.ProfileImporter
-
- setName(String) - Method in class org.sonar.api.profiles.RulesProfile
-
Set the profile name.
- setName(String) - Method in class org.sonar.api.resources.AbstractLanguage
-
Sets the language name
- setName(String) - Method in class org.sonar.api.resources.Library
-
Deprecated.
- setName(String) - Method in class org.sonar.api.resources.Project
-
For internal use only.
- setName(String) - Method in class org.sonar.api.rules.Rule
-
Sets the rule name
- setName(String) - Method in class org.sonar.api.rules.RuleRepository
-
Deprecated.
- setName(String) - Method in class org.sonar.api.security.UserDetails
-
- setName(String) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
-
- setName(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewParam
-
- setName(String) - Method in interface org.sonar.api.server.rule.RulesDefinition.NewRepository
-
- setName(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRepositoryImpl
-
- setName(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
Required rule name
- setName(String) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- setName(String, boolean) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- setName(String) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- setName(String) - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- setNewShell(boolean) - Method in class org.sonar.api.utils.command.Command
-
Set to true
if a new shell should be used to execute the command.
- setNonBlankLines(int) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setNow(long) - Method in class org.sonar.api.utils.internal.TestSystem2
-
- setOffset(WorkUnit) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
- setOffset(WorkUnit) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- setOffsetUnit(WorkDuration.UNIT) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- setOffsetUnit(WorkDuration.UNIT) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- setOffsetValue(int) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- setOffsetValue(Integer) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- setOptimizedBestValue(boolean) - Method in class org.sonar.api.measures.Metric.Builder
-
Specifies whether file-level measures that equal to the defined best value are stored or not.
- setOptimizedBestValue(Boolean) - Method in class org.sonar.api.measures.Metric
-
- setOrder(Integer) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
-
- setOrder(Integer) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
-
- setOrder(Integer) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- setOrder(Integer) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- setOriginalLineOffsets(int[]) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setOriginBlock(Duplication.Block) - Method in class org.sonar.api.batch.sensor.duplication.internal.DefaultDuplication
-
- setOutputMetrics(String...) - Method in interface org.sonar.api.ce.measure.MeasureComputer.MeasureComputerDefinition.Builder
-
List of metric keys of the measures that can be added by this computer.
- setOutputMetrics(String...) - Method in class org.sonar.api.ce.measure.test.TestMeasureComputerDefinition.MeasureComputerDefinitionBuilderImpl
-
- setPageSize(int) - Method in class org.sonar.api.web.Filter
-
Set the size of a page displayed this
Filter
.
- setParam(String, String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setParam(String, String) - Method in class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- setParameter(String, String) - Method in class org.sonar.api.rules.ActiveRule
-
- setParamKey(String) - Method in class org.sonar.api.rules.ActiveRuleParam
-
- setParams(List<RuleParam>) - Method in class org.sonar.api.rules.Rule
-
Sets the rule parameters
- setParent(Dependency) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- setParent(Project) - Method in class org.sonar.api.resources.Project
-
For internal use only.
- setParent(Rule) - Method in class org.sonar.api.rules.Rule
-
- setParent(DefaultCharacteristic) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- setParentId(Integer) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
-
- setParentId(Integer) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
-
- setParentId(Integer) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- setParentName(String) - Method in class org.sonar.api.profiles.RulesProfile
-
For internal use only.
- setPath(String) - Method in class org.sonar.api.component.mock.MockSourceFile
-
- setPath(String) - Method in class org.sonar.api.resources.Resource
-
- setPathToSecretKey(String) - Method in class org.sonar.api.config.Encryption
-
- setPersistenceMode(PersistenceMode) - Method in class org.sonar.api.measures.Measure
-
Sets the persistence mode of a measure.
- setPersonId(Integer) - Method in class org.sonar.api.measures.Measure
-
- setPossibleValues(Object...) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
Exhaustive list of possible values when it makes sense, for example
list of severities.
- setPossibleValues(Collection<?>) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
Exhaustive list of possible values when it makes sense, for example
list of severities.
- setPost(boolean) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- setPreview(boolean) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester.MockAnalysisMode
-
- setPriority(RulePriority) - Method in class org.sonar.api.rules.ActiveRule
-
- setProperties(Properties) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setProperties(Map<String, String>) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setProperties(Map<String, String>) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setProperty(String, String[]) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, String) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Boolean) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Integer) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Long) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Double) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Float) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Date) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, Date, boolean) - Method in class org.sonar.api.config.Settings
-
- setProperty(String, String) - Method in class org.sonar.api.resources.ResourceType.Builder
-
Sets a property on the resource type.
- setProperty(String, boolean) - Method in class org.sonar.api.resources.ResourceType.Builder
-
- setProperty(String, String) - Method in class org.sonar.api.web.Dashboard.Widget
-
- setQualifier(String) - Method in class org.sonar.api.component.mock.MockSourceFile
-
- setQualifier(String) - Method in class org.sonar.api.resources.File
-
- setQualitative(Boolean) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets whether the metric is qualitative or not.
- setQualitative(Boolean) - Method in class org.sonar.api.measures.Metric
-
Sets whether the metric is qualitative
- setRawValue(Double) - Method in class org.sonar.api.measures.Measure
-
For internal use
- setRepositoryKey(String) - Method in class org.sonar.api.rules.Rule
-
- setRequired(boolean) - Method in class org.sonar.api.server.ws.WebService.NewParam
-
Is the parameter required or optional ? Default value is false (optional).
- setRequirement(Requirement) - Method in class org.sonar.api.measures.Measure
-
- setResolution(String) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setResponseExample(URL) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
Link to the document containing an example of response.
- setRoot(DefaultCharacteristic) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- setRootCharacteristic(DefaultCharacteristic) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- setRootId(Integer) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
Deprecated.
- setRule(Rule) - Method in class org.sonar.api.measures.RuleMeasure
-
- setRule(Rule) - Method in class org.sonar.api.rules.ActiveRule
-
Deprecated.
visibility should be reduced to protected or package
- setRuleKey(RuleKey) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setRuleKey(RuleKey) - Method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- setRuleKey(RuleKey) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- setRuleKey(RuleKey) - Method in class org.sonar.api.technicaldebt.server.internal.DefaultCharacteristic
-
- setRuleParam(RuleParam) - Method in class org.sonar.api.rules.ActiveRuleParam
-
Deprecated.
visibility should be decreased to protected or package
- setRulePriority(RulePriority) - Method in class org.sonar.api.measures.RuleMeasure
-
- setRulesProfile(RulesProfile) - Method in class org.sonar.api.rules.ActiveRule
-
Deprecated.
visibility should be reduced to protected or package
- setSerializeEmptys(boolean) - Method in class org.sonar.api.utils.text.JsonWriter
-
Enable/disable serialization of properties which value is an empty String.
- setSerializeNulls(boolean) - Method in class org.sonar.api.utils.text.JsonWriter
-
- setSettings(Settings) - Method in class org.sonar.api.batch.sensor.internal.SensorContextTester
-
- setSettings(Settings) - Method in class org.sonar.api.resources.Project
-
Internal use
- setSeverity(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setSeverity(String) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setSeverity(String) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setSeverity(String) - Method in interface org.sonar.api.issue.IssueHandler.Context
-
- setSeverity(RulePriority) - Method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- setSeverity(RulePriority) - Method in class org.sonar.api.rules.ActiveRule
-
- setSeverity(RulePriority) - Method in class org.sonar.api.rules.Rule
-
- setSeverity(String) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setSince(String) - Method in class org.sonar.api.server.ws.WebService.NewAction
-
- setSince(String) - Method in class org.sonar.api.server.ws.WebService.NewController
-
Optional version when the controller was created
- setSourceDirs(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setSourceDirs(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setSources(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setSources(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setStackTrace(String) - Method in interface org.sonar.api.test.MutableTestCase
-
- setStatus(InputFile.Status) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setStatus(RuleStatus) - Method in class org.sonar.api.batch.rule.internal.NewRule
-
- setStatus(String) - Method in class org.sonar.api.ce.measure.test.TestIssue.Builder
-
- setStatus(String) - Method in class org.sonar.api.rules.Rule
-
- setStatus(RuleStatus) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setStatus(int) - Method in interface org.sonar.api.server.ws.Response.Stream
-
- setStatus(TestCase.Status) - Method in interface org.sonar.api.test.MutableTestCase
-
- setStringValue(String, int, String) - Method in interface org.sonar.api.measures.FileLinesContext
-
- setSubCharacteristicKey(String) - Method in class org.sonar.api.rules.Rule
-
- setSubject(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- setSupportedLanguages(String...) - Method in class org.sonar.api.profiles.ProfileExporter
-
- setSupportedLanguages(String...) - Method in class org.sonar.api.profiles.ProfileImporter
-
- setSwitchedOff(boolean) - Method in class org.sonar.api.violations.ViolationQuery
-
Deprecated.
Specifies if the query should return only switched-off violations.
- setSwitchMode(ViolationQuery.SwitchMode) - Method in class org.sonar.api.violations.ViolationQuery
-
Deprecated.
- setSymbolTable(Symbolizable.SymbolTable) - Method in interface org.sonar.api.source.Symbolizable
-
- setTags(String[]) - Method in class org.sonar.api.rules.Rule
-
For definition of rule only
- setTags(String...) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setTemplate(Rule) - Method in class org.sonar.api.rules.Rule
-
- setTemplate(boolean) - Method in class org.sonar.api.server.rule.RulesDefinition.NewRule
-
- setTemplateRuleKey(String) - Method in class org.sonar.api.batch.rule.internal.NewActiveRule
-
- setTendency(Integer) - Method in class org.sonar.api.measures.Measure
-
Deprecated.
since 5.2. See https://jira.sonarsource.com/browse/SONAR-6392
- setTestDirs(String...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setTestDirs(File...) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- 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
-
Project settings on batch side, or global settings on server side.
- Settings() - Constructor for class org.sonar.api.config.Settings
-
- Settings(PropertyDefinitions) - Constructor for class org.sonar.api.config.Settings
-
- Settings(Settings) - Constructor for class org.sonar.api.config.Settings
-
Clone settings.
- setTo(Resource) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
For internal use only
- setTo(String) - Method in class org.sonar.plugins.emailnotifications.api.EmailMessage
-
- setType(InputFile.Type) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- setType(Metric.ValueType) - Method in class org.sonar.api.measures.Metric
-
Sets the metric type
- setType(String) - Method in class org.sonar.api.rules.RuleParam
-
- setType(RuleParamType) - Method in class org.sonar.api.server.rule.RulesDefinition.NewParam
-
- setType(String) - Method in interface org.sonar.api.test.MutableTestCase
-
Deprecated.
since 5.2 not used
- setUniqueKey(String, String) - Method in class org.sonar.api.rules.Rule
-
- setUpdatedAt(Date) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtCharacteristic
-
- setUpdatedAt(Date) - Method in class org.sonar.api.rules.Rule
-
- setUpdatedAt(Date) - Method in class org.sonar.api.server.debt.internal.DefaultDebtCharacteristic
-
- setUpdatedAt(Date) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic
-
Deprecated.
- setUpdatedAt(Date) - Method in class org.sonar.api.technicaldebt.batch.internal.DefaultRequirement
-
Deprecated.
- setUpdatedAt(Date) - Method in class org.sonar.api.utils.Semaphores.Semaphore
-
Deprecated.
- setUrl(String) - Method in class org.sonar.api.measures.Measure
-
Sets the URL of the measure
- setUsage(String) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- setUsed(Boolean) - Method in class org.sonar.api.profiles.RulesProfile
-
Deprecated.
profile versioning is dropped in 4.4. Always returns -1.
- setUserId(String) - Method in class org.sonar.api.security.UserDetails
-
- setUserManaged(boolean) - Method in class org.sonar.api.measures.Metric.Builder
-
Specifies whether this metric can be edited online in the "Manual measures" page.
- setUserManaged(Boolean) - Method in class org.sonar.api.measures.Metric
-
Sets whether the metric is managed by users ("manual metric")
- setUuid(String) - Method in class org.sonar.api.resources.Resource
-
Internal use only
- setValue(String, String) - Method in class org.sonar.api.ce.measure.test.TestSettings
-
- setValue(Double) - Method in class org.sonar.api.measures.Measure
-
Sets the measure value with the default precision of 1
- setValue(Double, int) - Method in class org.sonar.api.measures.Measure
-
Sets the measure value with a given precision
- setValue(Double) - Method in class org.sonar.api.measures.RuleMeasure
-
Deprecated.
- setValue(String) - Method in class org.sonar.api.rules.ActiveRuleParam
-
- setVariation(int, Double) - Method in class org.sonar.api.measures.Measure
-
Internal use only
- setVariation1(Double) - Method in class org.sonar.api.measures.Measure
-
Internal use only
- setVariation2(Double) - Method in class org.sonar.api.measures.Measure
-
Internal use only
- setVariation3(Double) - Method in class org.sonar.api.measures.Measure
-
Internal use only
- setVariation4(Double) - Method in class org.sonar.api.measures.Measure
-
Internal use only
- setVariation5(Double) - Method in class org.sonar.api.measures.Measure
-
Internal use only
- setVersion(String) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setVersion(int) - Method in class org.sonar.api.profiles.RulesProfile
-
Deprecated.
profile versioning is dropped in 4.4. Always returns -1.
- setWeight(int) - Method in class org.sonar.api.design.Dependency
-
Deprecated.
- setWorkDir(File) - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- setWorkDir(File) - Method in class org.sonar.api.batch.fs.internal.DefaultFileSystem
-
- setWorstValue(Double) - Method in class org.sonar.api.measures.Metric.Builder
-
Sets the worst value that the metric can get (example: 0.0 for code coverage).
- setWorstValue(Double) - Method in class org.sonar.api.measures.Metric
-
- severity() - Method in interface org.sonar.api.batch.postjob.issue.Issue
-
Severity.
- severity() - Method in interface org.sonar.api.batch.rule.ActiveRule
-
Non-null severity.
- severity() - Method in class org.sonar.api.batch.rule.internal.DefaultActiveRule
-
- severity() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- severity() - Method in interface org.sonar.api.batch.rule.Rule
-
- Severity - Enum in org.sonar.api.batch.rule
-
- severity() - Method in interface org.sonar.api.ce.measure.Issue
-
- 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 class org.sonar.api.server.rule.RulesDefinition.Rule
-
- shouldDecorateResource(Resource) - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
-
Deprecated.
- shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractSourceImporter
-
Deprecated.
- shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
-
Deprecated.
- shouldExecuteOnProject(Project) - Method in interface org.sonar.api.batch.CheckProject
-
- shouldExecuteOnProject(Project) - Method in class org.sonar.api.batch.Initializer
-
- shouldSaveZeroIfNoChildMeasures() - Method in class org.sonar.api.batch.AbstractSumChildrenDecorator
-
Deprecated.
- SimpleGetRequest - Class in org.sonar.api.server.ws.internal
-
Fake implementation of
Request
used
for testing.
- SimpleGetRequest() - Constructor for class org.sonar.api.server.ws.internal.SimpleGetRequest
-
- since() - Method in class org.sonar.api.server.ws.WebService.Action
-
Set if different than controller.
- since() - Method in class org.sonar.api.server.ws.WebService.Controller
-
- singleListOfValues(String...) - Static method in class org.sonar.api.server.rule.RuleParamType
-
- SIZE_METRIC - Static variable in interface org.sonar.api.CoreProperties
-
Deprecated.
no used anymore since 5.2
- SKIPPED_TESTS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SKIPPED_TESTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SMTP_HOST - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_HOST_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_PASSWORD - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_PASSWORD_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_PORT - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_PORT_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_SECURE_CONNECTION - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_SECURE_CONNECTION_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_USERNAME - Static variable in class org.sonar.api.config.EmailSettings
-
- SMTP_USERNAME_DEFAULT - Static variable in class org.sonar.api.config.EmailSettings
-
- SOFTWARE_RELATED_PORTABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic PORTABILITY
- SONAR_HOME - Static variable in interface org.sonar.api.CoreProperties
-
- SONAR_WAY_FINDBUGS_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
-
Deprecated.
in 4.2. Use your own constant.
- SONAR_WAY_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
-
Deprecated.
in 4.2. Use your own constant.
- SonarException - Exception in org.sonar.api.utils
-
- SonarException() - Constructor for exception org.sonar.api.utils.SonarException
-
Deprecated.
- SonarException(String) - Constructor for exception org.sonar.api.utils.SonarException
-
Deprecated.
- SonarException(String, Throwable) - Constructor for exception org.sonar.api.utils.SonarException
-
Deprecated.
- SonarException(Throwable) - Constructor for exception org.sonar.api.utils.SonarException
-
Deprecated.
- SonarIndex - Class in org.sonar.api.batch
-
Deprecated.
since 4.5.2 should not be used by plugins. Everything should be accessed using SensorContext
.
- SonarIndex() - Constructor for class org.sonar.api.batch.SonarIndex
-
Deprecated.
- SonarPlugin - Class in org.sonar.api
-
Plugin entry-point used to declare its extensions (see
Extension
.
- SonarPlugin() - Constructor for class org.sonar.api.SonarPlugin
-
- SORT - Static variable in class org.sonar.api.server.ws.WebService.Param
-
- sort() - Method in class org.sonar.api.utils.dag.DirectAcyclicGraph
-
- SORTED_SCOPES - Static variable in class org.sonar.api.resources.Scopes
-
- SOURCE_DIRS_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- SOURCE_FILES_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- sourceCharset() - Method in interface org.sonar.api.scan.filesystem.ModuleFileSystem
-
Deprecated.
Default charset for files of the module.
- sourceDirs() - Method in interface org.sonar.api.scan.filesystem.ModuleFileSystem
-
- sourceExclusions() - Method in class org.sonar.api.scan.filesystem.FileExclusions
-
- SourceFile - Interface in org.sonar.api.component
-
- sourceInclusions() - Method in class org.sonar.api.scan.filesystem.FileExclusions
-
- sources() - Method in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- SOURCES_PROPERTY - Static variable in class org.sonar.api.batch.bootstrap.ProjectDefinition
-
- SQALE_DEBT_RATIO - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SQALE_DEBT_RATIO_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SQALE_RATING - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SQALE_RATING_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- SquidUtils - Class in org.sonar.api.batch
-
- stackTrace() - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
- start() - Method in class org.sonar.api.batch.fs.internal.DefaultTextRange
-
- start() - Method in interface org.sonar.api.batch.fs.TextRange
-
Start position of the range
- start() - Method in class org.sonar.api.utils.internal.TempFolderCleaner
-
This method should not be renamed.
- start() - Method in class org.sonar.api.utils.log.Profiler
-
- start(String) - Method in class org.sonar.api.utils.TimeProfiler
-
Deprecated.
- START_VIOLATION_PERSISTENCE - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
Deprecated.
in 3.6. Issues are persisted at the end of analysis.
- START_VIOLATION_TRACKING - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
Deprecated.
in 3.6. Not required anymore.
- START_VIOLATIONS_GENERATION - Static variable in interface org.sonar.api.batch.DecoratorBarriers
-
Deprecated.
in 3.6. Not required anymore.
- startDebug(String) - Method in class org.sonar.api.utils.log.Profiler
-
- startInfo(String) - Method in class org.sonar.api.utils.log.Profiler
-
- startLine() - Method in class org.sonar.api.batch.sensor.duplication.Duplication.Block
-
- startTrace(String) - Method in class org.sonar.api.utils.log.Profiler
-
- STATEMENTS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- STATEMENTS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
- status() - Method in interface org.sonar.api.batch.fs.InputFile
-
Status regarding previous analysis
- status() - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- status() - Method in class org.sonar.api.batch.rule.internal.DefaultRule
-
- status() - Method in interface org.sonar.api.batch.rule.Rule
-
- status() - Method in interface org.sonar.api.ce.measure.Issue
-
- status() - Method in class org.sonar.api.ce.measure.test.TestIssue
-
- status() - Method in interface org.sonar.api.issue.ActionPlan
-
- status() - Method in interface org.sonar.api.issue.Issue
-
See constant values in
Issue
.
- status() - Method in class org.sonar.api.server.rule.RulesDefinition.Rule
-
- status() - Method in interface org.sonar.api.test.TestCase
-
Deprecated.
- STATUS_BETA - Static variable in class org.sonar.api.rules.Rule
-
- STATUS_CLOSED - Static variable in interface org.sonar.api.issue.ActionPlan
-
- STATUS_CLOSED - Static variable in interface org.sonar.api.issue.Issue
-
- STATUS_CONFIRMED - Static variable in interface org.sonar.api.issue.Issue
-
- STATUS_DEPRECATED - Static variable in class org.sonar.api.rules.Rule
-
- STATUS_OPEN - Static variable in interface org.sonar.api.issue.ActionPlan
-
- STATUS_OPEN - Static variable in interface org.sonar.api.issue.Issue
-
Default status when creating an issue.
- STATUS_READY - Static variable in class org.sonar.api.rules.Rule
-
- STATUS_REMOVED - Static variable in class org.sonar.api.rules.Rule
-
For internal use only.
- STATUS_REOPENED - Static variable in interface org.sonar.api.issue.Issue
-
- STATUS_RESOLVED - Static variable in interface org.sonar.api.issue.Issue
-
- STATUSES - Static variable in interface org.sonar.api.issue.Issue
-
Return all available statuses
- StaxParser - Class in org.sonar.api.utils
-
- StaxParser(StaxParser.XmlStreamHandler) - Constructor for class org.sonar.api.utils.StaxParser
-
Stax parser for a given stream handler and iso control chars set awarness to off
- StaxParser(StaxParser.XmlStreamHandler, boolean) - Constructor for class org.sonar.api.utils.StaxParser
-
Stax parser for a given stream handler and iso control chars set awarness to on.
- StaxParser.XmlStreamHandler - Interface in org.sonar.api.utils
-
Simple interface for handling XML stream to parse
- stop() - Method in class org.sonar.api.utils.internal.DefaultTempFolder
-
- stop() - Method in class org.sonar.api.utils.internal.TempFolderCleaner
-
This method should not be renamed.
- stop() - Method in class org.sonar.api.utils.TimeProfiler
-
Deprecated.
- stopDebug() - Method in class org.sonar.api.utils.log.Profiler
-
- stopDebug(String) - Method in class org.sonar.api.utils.log.Profiler
-
- stopInfo() - Method in class org.sonar.api.utils.log.Profiler
-
- stopInfo(boolean) - Method in class org.sonar.api.utils.log.Profiler
-
- stopInfo(String) - Method in class org.sonar.api.utils.log.Profiler
-
- stopTrace() - Method in class org.sonar.api.utils.log.Profiler
-
Works only if a message have been set in startXXX() methods.
- stopTrace(String) - Method in class org.sonar.api.utils.log.Profiler
-
- storage - Variable in class org.sonar.api.batch.sensor.internal.DefaultStorable
-
- store(Measure) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
- store(Issue) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
- store(Duplication) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
- store(DefaultHighlighting) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
- store(DefaultCoverage) - Method in interface org.sonar.api.batch.sensor.internal.SensorStorage
-
- stream() - Method in interface org.sonar.api.server.ws.Response
-
- stream(SMHierarchicCursor) - Method in interface org.sonar.api.utils.StaxParser.XmlStreamHandler
-
- StreamConsumer - Interface in org.sonar.api.utils.command
-
- STRING - Static variable in class org.sonar.api.server.rule.RuleParamType
-
- StringStreamConsumer - Class in org.sonar.api.utils.command
-
- StringStreamConsumer() - Constructor for class org.sonar.api.utils.command.StringStreamConsumer
-
- subCategory(String) - Method in class org.sonar.api.config.PropertyDefinition.Builder
-
- subCategory() - Method in class org.sonar.api.config.PropertyDefinition
-
Sub-category where property appears in settings pages.
- SubCategory - Class in org.sonar.api.config
-
- SUBCATEGORY_COVERAGE_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_DATABASE_CLEANER - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_DIFFERENTIAL_VIEWS - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_DUPLICATIONS - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_DUPLICATIONS_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_FILES_EXCLUSIONS - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_ISSUES - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_L10N - Static variable in interface org.sonar.api.CoreProperties
-
- SUBCATEGORY_LOOKNFEEL - Static variable in interface org.sonar.api.CoreProperties
-
- subCharacteristics(String) - Method in interface org.sonar.api.batch.debt.DebtModel
-
Deprecated.
Return sub-characteristics of a characteristic
- subCharacteristics(String) - Method in class org.sonar.api.batch.debt.internal.DefaultDebtModel
-
- subtract(Duration) - Method in class org.sonar.api.utils.Duration
-
Subtract the given duration to the current one.
- subtract(WorkDuration) - Method in class org.sonar.api.utils.internal.WorkDuration
-
- SUBVIEW - Static variable in class org.sonar.api.resources.Qualifiers
-
Sub-views, defined in root views.
- SUFFIXES - Static variable in class org.sonar.api.resources.Java
-
Deprecated.
Java files knows suffixes
- sum(boolean, Collection<Measure>) - Static method in class org.sonar.api.measures.MeasureUtils
-
Sums a series of measures
- sum(boolean, Measure...) - Static method in class org.sonar.api.measures.MeasureUtils
-
Sums a series of measures
- SumChildDistributionFormula - Class in org.sonar.api.measures
-
Deprecated.
since 5.2 decorators are no more executed on batch side
- SumChildDistributionFormula() - Constructor for class org.sonar.api.measures.SumChildDistributionFormula
-
Deprecated.
- SumChildValuesFormula - Class in org.sonar.api.measures
-
Deprecated.
since 5.2 decorators are no more executed on batch side
- SumChildValuesFormula(boolean) - Constructor for class org.sonar.api.measures.SumChildValuesFormula
-
Deprecated.
- sumOnVariation(boolean, int, Collection<Measure>) - Static method in class org.sonar.api.measures.MeasureUtils
-
Sums a series of measures for the given variation index
- SUN_CONVENTIONS_NAME - Static variable in class org.sonar.api.profiles.RulesProfile
-
Deprecated.
in 4.2. Use your own constant.
- SupportedEnvironment - Annotation Type in org.sonar.api.batch
-
This annotation allows to specify in which environments
BatchSide
components would be active.
- supports(File) - Method in class org.sonar.api.batch.scm.ScmProvider
-
Does this provider able to manage files located in this directory.
- supports(Issue) - Method in class org.sonar.api.issue.action.Action
-
- SUSPECT_LCOM4_DENSITY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
- SUSPECT_LCOM4_DENSITY_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-
Deprecated.
in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
- Symbol - Interface in org.sonar.api.source
-
- Symbolizable - Interface in org.sonar.api.source
-
Use this perspective to save symbol references on files.
- Symbolizable.SymbolTable - Interface in org.sonar.api.source
-
- Symbolizable.SymbolTableBuilder - Interface in org.sonar.api.source
-
- symbols() - Method in interface org.sonar.api.source.Symbolizable.SymbolTable
-
- SYNCHRONIZATION_RELIABILITY - Static variable in class org.sonar.api.server.rule.RulesDefinition.SubCharacteristics
-
Related to characteristic RELIABILITY
- SyntaxHighlightingRule - Class in org.sonar.api.batch.sensor.highlighting.internal
-
- System2 - Class in org.sonar.api.utils
-
- System2() - Constructor for class org.sonar.api.utils.System2
-
- validate(TextRange) - Method in class org.sonar.api.batch.fs.internal.DefaultInputFile
-
- validate(PropertyType, String, List<String>) - Static method in class org.sonar.api.config.PropertyDefinition
-
- validate(String) - Method in class org.sonar.api.config.PropertyDefinition
-
- validate(String) - Method in class org.sonar.api.config.PropertyFieldDefinition
-
- validate(String) - Static method in class org.sonar.api.server.rule.RuleTagFormat
-
- validateLineArgument(InputFile, int, String) - Method in class org.sonar.api.batch.sensor.internal.DefaultStorable
-
- ValidatingRequest - Class in org.sonar.api.server.ws.internal
-
- ValidatingRequest() - Constructor for class org.sonar.api.server.ws.internal.ValidatingRequest
-
- ValidationMessages - Class in org.sonar.api.utils
-
- validKey(String) - Method in class org.sonar.api.config.PropertyDefinitions
-
- value() - Method in class org.sonar.api.batch.sensor.measure.internal.DefaultMeasure
-
- value() - Method in interface org.sonar.api.batch.sensor.measure.Measure
-
Value of the measure.
- value - Variable in class org.sonar.api.measures.Measure
-
- value() - Method in class org.sonar.api.measures.Measure
-
For internal use.
- value() - Method in enum org.sonar.api.server.ws.WebService.SelectionMode
-
- value(boolean) - Method in class org.sonar.api.utils.text.JsonWriter
-
Encodes value
.
- value(double) - Method in class org.sonar.api.utils.text.JsonWriter
-
- value(String) - Method in class org.sonar.api.utils.text.JsonWriter
-
- value(long) - Method in class org.sonar.api.utils.text.JsonWriter
-
- value(Number) - Method in class org.sonar.api.utils.text.JsonWriter
-
- valueDate(Date) - Method in class org.sonar.api.utils.text.JsonWriter
-
- valueDateTime(Date) - Method in class org.sonar.api.utils.text.JsonWriter
-
- valueObject(Object) - Method in class org.sonar.api.utils.text.JsonWriter
-
- valueOf(String) - Static method in enum org.sonar.api.batch.debt.DebtRemediationFunction.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.batch.fs.InputFile.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.batch.fs.InputFile.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.batch.Phase.Name
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.batch.rule.Severity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.batch.sensor.coverage.CoverageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.batch.sensor.highlighting.TypeOfText
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.ce.measure.Component.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.measures.Metric.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.measures.Metric.ValueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.measures.PersistenceMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.PropertyType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.resources.Project.AnalysisType
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.rule.RuleStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.rules.RulePriority
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.scan.filesystem.FileType
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.server.debt.DebtRemediationFunction.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.server.ws.WebService.SelectionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.test.TestCase.Status
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.utils.Durations.DurationFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.utils.internal.WorkDuration.UNIT
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.utils.log.LoggerLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.violations.ViolationQuery.SwitchMode
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.web.DashboardLayout
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.web.Section
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.web.WidgetLayoutType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.sonar.api.web.WidgetPropertyType
-
Returns the enum constant of this type with the specified name.
- valueOfInt(int) - Static method in enum org.sonar.api.rules.RulePriority
-
Deprecated.
- valueOfString(String) - Static method in enum org.sonar.api.rules.RulePriority
-
- values() - Static method in enum org.sonar.api.batch.debt.DebtRemediationFunction.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.batch.fs.InputFile.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.batch.fs.InputFile.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.batch.Phase.Name
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.batch.rule.Severity
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.batch.sensor.coverage.CoverageType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.batch.sensor.highlighting.TypeOfText
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.ce.measure.Component.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.measures.Metric.Level
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.measures.Metric.ValueType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.measures.PersistenceMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.PropertyType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.resources.Project.AnalysisType
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.rule.RuleStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.rules.RulePriority
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.scan.filesystem.FileType
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.server.debt.DebtRemediationFunction.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class org.sonar.api.server.rule.RuleParamType
-
- values() - Static method in enum org.sonar.api.server.ws.WebService.SelectionMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.test.TestCase.Status
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.utils.Durations.DurationFormat
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.utils.internal.WorkDuration.UNIT
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.utils.log.LoggerLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values(String...) - Method in class org.sonar.api.utils.text.CsvWriter
-
- values(Iterable<String>) - Method in class org.sonar.api.utils.text.JsonWriter
-
Write a list of values in an array, for example:
- values() - Static method in enum org.sonar.api.violations.ViolationQuery.SwitchMode
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.web.DashboardLayout
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.web.Section
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.web.WidgetLayoutType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.sonar.api.web.WidgetPropertyType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valueType() - Method in interface org.sonar.api.batch.measure.Metric
-
- valueType() - Method in class org.sonar.api.measures.Metric
-
- variation1 - Variable in class org.sonar.api.measures.Measure
-
- variation2 - Variable in class org.sonar.api.measures.Measure
-
- variation3 - Variable in class org.sonar.api.measures.Measure
-
- variation4 - Variable in class org.sonar.api.measures.Measure
-
- variation5 - Variable in class org.sonar.api.measures.Measure
-
- VIEW - Static variable in class org.sonar.api.resources.Qualifiers
-
Root views.
- View - Interface in org.sonar.api.web
-
- VIEWER - Static variable in annotation type org.sonar.api.web.UserRole
-
Deprecated.
use the constant USER since 1.12.
- ViolationQuery - Class in org.sonar.api.violations
-
Deprecated.
in 3.6 for the merge of violations and reviews into issues.
- ViolationQuery.SwitchMode - Enum in org.sonar.api.violations
-
Deprecated.
- VIOLATIONS - Static variable in class org.sonar.api.measures.CoreMetrics
-
- VIOLATIONS_KEY - Static variable in class org.sonar.api.measures.CoreMetrics
-