|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
accept method is called for each Issue created during analysis, to check if it has to be persisted.
ActiveRules.Criterion to the list used to narrow down the results of this Filter.
FilterColumn to the list of columns displayed by this Filter.
NoSonarFilter.noSonarInFile(InputFile, Set)
Issuable.newIssueBuilder().
ProjectDefinition.addSources(String...)
ProjectDefinition.addSources(File...)
ProjectDefinition.addSources(File...)
ProjectDefinition.addSources(File...)
ProjectDefinition.addTests(String...)
ProjectDefinition.addTests(File...)
ProjectDefinition.addTests(String...)
ProjectDefinition.addTests(File...)
NotificationDispatcher.Context.addUser(String, NotificationChannel) instead.
Dashboard.Widget object if one wants to add parameters to it.
Severity.INFO to Severity.BLOCKER.
ChecksRulesDefinitionAnnotationLoaderInputPath.
ResourceType.Builder.setProperty(String, String) with "supportsMeasureFilters" set to "true".
ProjectBuilder.build(Context) instead
build(true)
build(true)
ResourceType based on all information given to the builder.
ResourceType.Builder
SonarClients.
Checks.CheckFactoryQualifiers.FILE instead.
Issue.STATUS_CLOSED, else null.
HighlightableDebtRemediationFunction.Type.LINEAR and DebtRemediationFunction.Type.LINEAR_OFFSET, else it's null.
Issue.componentKey() instead
CoverageMeasuresBuilder to build measure for this metric.
CoverageMeasuresBuilder to build measure for this metric.
CoreProperties.CORE_AUTHENTICATOR_REALM.
CoverageMeasuresBuilder to build measure for this metric.
ProjectDefinition.create() with combination of other methods like ProjectDefinition.setProperties(Properties) and ProjectDefinition.setProperty(String, String).
AverageFormula class.
ViolationQuery object.
Criterion with a numerical value.
Criterion with a text value.
Dashboard.
Filter.
FilterColumn.
Dashboard object that represents the dashboard to use.
Filter object that represents the filter to use.
FileLinesContextFactory.createFor(InputFile)
Criterion on a metric, with a numerical value.
Criterion on a metric, with a text value.
Criterion on a qualifier.
RuleMeasure.createForRule(Metric, RuleKey, Double)
InputFile.Type this Sensor work on.
WebService.NewAction.createParam(String paramKey) instead.
Filter.DebtRemediationFunction
SonarClient.actionPlanClient().FilePredicateSonarClient.issueClient().SonarClient.projectClient().SonarClient.userClient().Metric this Sensor depends on.
Initializers, Sensors and
PostJobs.SensorDescriptor of this sensor.
Directory.fromIOFile(java.io.File, Project)
Directory.fromIOFile(java.io.File, Project)
ExternalUsersProvider.doGetUserDetails(org.sonar.api.security.ExternalUsersProvider.Context) since v. 3.1
WebService.Context.controllers()
CoreProperties.PREVIEW_EXCLUDE_PLUGINS
CoreProperties.PREVIEW_EXCLUDE_PLUGINS_DEFAULT_VALUE
CoreProperties.PREVIEW_INCLUDE_PLUGINS
CoreProperties.PREVIEW_INCLUDE_PLUGINS_DEFAULT_VALUE
CoreProperties.PREVIEW_READ_TIMEOUT_SEC
ProjectFileSystem.getSourceCharset().
XmlWriter.end().
DecoratorBarriers.ISSUES_TRACKED
DecoratorBarriers.ISSUES_ADDED
System.getenv(String)
System.getenv()
File
File
File.fromIOFile(java.io.File, Project)
File.fromIOFile(java.io.File, Project)
File.fromIOFile(java.io.File, Project)
File.fromIOFile(java.io.File, Project)
FilePredicateFileSystem and
FilePredicateFileSystem manages all the source files to be analyzed.InputFileFilterFilter column.ActiveRule by the associated rule key.
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.
RuleFinder.findByKey(org.sonar.api.rule.RuleKey)}
ActiveRule by the associated internal key.
java
findbugs
Directory from an absolute File and a module.
File.fromIOFile(java.io.File, Project)
FileSystem.inputFile(org.sonar.api.batch.fs.FilePredicate)
InetAddress.getLoopbackAddress() which was introduced in Java 7.
SonarClient.get(String, java.util.Map) but parameters are defined as an array
of even number of elements (key1, value1, key, value2, ...).
MetricUpdateQuery.description transmitted through request body as content may exceed URL size allowed by the server.
Rule.isTemplate()
Rule.getCharacteristicKey()
DecoratorBarriers.END_OF_VIOLATION_TRACKING
AnnotationUtils.getAnnotation(Object,Class)
FilterColumn displayed by this Filter.
Criterion used to narrow down the results of this Filter.
Rule.getDefaultCharacteristicKey()
Filter.
Field breaking scope if requested.
DefaultInputFile.file()
FileSystem.baseDir()
ModuleFileSystem in 3.5
InputStream that reads from the file.
ProjectFileSystem.mainFiles(String...) instead.
See http://jira.codehaus.org/browse/SONAR-2126
FileSystem.languages()
FileSystem.languages()
Filter.
Rule.getTemplate()
ActiveRule.getRepositoryKey() instead
ActiveRule.getSeverity() instead. See http://jira.codehaus.org/browse/SONAR-1829
Violation.getSeverity() instead. See http://jira.codehaus.org/browse/SONAR-1829
ProjectDefinition.properties()
DefaultInputFile.relativePath()
Resource corresponding to provided InputPath.
RuleMeasure.ruleKey()
ResourceQuery.getRuleSeverities() instead. See http://jira.codehaus.org/browse/SONAR-1829
RuleMeasure.getSeverity() instead. See SONAR-1829.
Measure.getRuleSeverity() instead. See http://jira.codehaus.org/browse/SONAR-1829
InputFile.file() to read file content from disk.
ProjectDefinition.sources()
ProjectDefinition.sources()
ProjectFileSystem.mainFiles(String...) instead.
See http://jira.codehaus.org/browse/SONAR-2126
ProjectDefinition.tests()
ProjectDefinition.tests()
ProjectFileSystem.testFiles(String...) instead.
See http://jira.codehaus.org/browse/SONAR-2126
Issuable
Issuable
InputFile matches
the given predicate.
FilePredicates.hasAbsolutePath(String), else FilePredicates.hasRelativePath(String)
SecurityRealm, otherwise has no effect and not invoked
InputDir matching the current File.
File for directories.File adds information for code analyzers.InputFileInputFile is deprecatedFile for files or directories.InputPath this issue belongs to.
ResourceUtils.isSpace(Resource)
DuplicationBuilder.originBlock(int, int).
ResourceQuery.isExcludeRuleSeverities() instead. See http://jira.codehaus.org/browse/SONAR-1829
Filter can be configured to return only favourites.
ResourceUtils.isEntity(Resource)
true if a new shell should be used to execute the command.
Qualifiers.isDirectory(Resource)
ResourceUtils.isDirectory(Resource)
Sensor.Issues on batch side, preventing them from being persisted.DecoratorBarriers.ISSUES_TRACKED.
DecoratorBarriers.ISSUES_ADDED.
ServerUpgradeStatus.isFreshInstall() is true.
File. See
http://docs.codehaus.org/display/SONAR/API+Changes for more detailsDirectory insteadjava
CoverageMeasuresBuilder to build measure for this metric.
TestCaseExecution.Status.ERROR or TestCaseExecution.Status.FAILURE).
TestCaseExecution.Status.ERROR or TestCaseExecution.Status.FAILURE).
key for the locale in the list of available bundles.
Metric.Builder factory.
Metric.Builder factory.
Metric.Builder factory.
Metric.Builder factory.
Metric.Builder object.
FileSystemSensor.
Issue.
Issuable.addIssue(Issue)
Measure.
Symbol is referenced at another location in the same file.
NoSonarFilterNotification of the given type.
NotificationDispatcher) can define their own metadata class in order
to tell more about them.System.currentTimeMillis()
DebtRemediationFunction.Type.LINEAR_OFFSET and DebtRemediationFunction.Type.CONSTANT_ISSUE, else it's null.
Decorator.
Decorators.
InputDir the issue belongs to.
InputFile the issue belongs to.
Initializer.
Initializerss.
PostJob.
PostJobs.
Sensor.
Sensors.
org.sonar.api.batch.fsQualifiers.DIRECTORY instead.
CoreMetrics.DIRECTORY_CYCLES
CoreMetrics.DIRECTORY_CYCLES_KEY
CoreMetrics.DIRECTORY_EDGES_WEIGHT
CoreMetrics.DIRECTORY_EDGES_WEIGHT_KEY
CoreMetrics.DIRECTORY_FEEDBACK_EDGES
CoreMetrics.DIRECTORY_FEEDBACK_EDGES_KEY
CoreMetrics.DIRECTORY_TANGLE_INDEX
CoreMetrics.DIRECTORY_TANGLE_INDEX_KEY
CoreMetrics.DIRECTORY_TANGLES
CoreMetrics.DIRECTORY_TANGLES_KEY
WebService then
this method can be replaced by Request.mandatoryParamAsBoolean(String).
WebService then
this method can be replaced by Request.mandatoryParamAsInt(String).
WebService then
this method can be replaced by Request.mandatoryParamAsLong(String).
RuleKey.toString().
DateUtils.DATE_FORMAT.
DateUtils.DATETIME_FORMAT.
SonarClient.Builder.login(String), for example "admin"
SonarPlugin instead.SonarClient.post(String, java.util.Map) but parameters are defined as an array
of even number of elements (key1, value1, key, value2, ...).
FilePredicate
CoreMetrics.QUALITY_PROFILES_KEY
CoreMetrics.QUALITY_PROFILES_KEY
CoreMetrics.QUALITY_PROFILES_KEY
CoreMetrics.QUALITY_PROFILES_KEY
ProjectBuilder.ProjectBuilder()
ProjectBuilderContext
for their unit tests.ProjectBuilder as parameter.ModuleFileSystemSystem.getProperties()
System.getProperty(String)
Metric this Sensor provides.
ProjectDefinition.resetSources()
ProjectDefinition.resetTests()
FileSystem.resolvePath(String)
org.sonar.api.scan.filesystem.InputFileFilterInputPath
Only on batch-side.ResourceType objects.ResourceType.Builder
org.sonar.api.web.ws.WebServiceRule.create()
Rule.create()
RuleKey of the issue.
RuleKey of this issue.
RuleMeasure.RuleMeasure(Metric, RuleKey, RulePriority, Integer)
DebtRemediationFunction.InputFile.
InputFile
InputFile
Issuable
Issuable
Issuable
Issuable
Issuable
CoreProperties.LINKS_SOURCES_DEV to get old Maven URL format.Sensor.execute(SensorContext)Sensor is doing.BatchComponent but for server-side components.Rule.setIsTemplate(boolean)
Rule.setCharacteristicKey(String)
Rule.setDefaultCharacteristicKey(String)
Filter.
ResourceQuery.setExcludeRuleSeverities(boolean) instead. See http://jira.codehaus.org/browse/SONAR-1829
Filter can be configured to return only favourites.
true if a new shell should be used to execute the command.
Filter.
Rule.setTemplate(Rule)}
ActiveRule.setSeverity(RulePriority) instead. See http://jira.codehaus.org/browse/SONAR-1829
Violation.setSeverity(RulePriority) instead. See http://jira.codehaus.org/browse/SONAR-1829
ProjectDefinition.setProperties(Map)
RuleMeasure.setRuleKey(org.sonar.api.rule.RuleKey)
ResourceQuery.setRuleSeverities(String...) instead. See http://jira.codehaus.org/browse/SONAR-1829
RuleMeasure.setSeverity(org.sonar.api.rules.RulePriority) instead. See SONAR-1829.
Measure.setRuleSeverity(String) instead. See http://jira.codehaus.org/browse/SONAR-1829
ProjectDefinition.setSources(String...)
ProjectDefinition.setSources(File...)
RuleStatus.READY.
ProjectDefinition.setTests(String...)
ProjectDefinition.setTests(File...)
Severity.
Request used
for testing.IllegalArgumentException
or IllegalStateException. Use MessageException
for raising errors to end-users without displaying stackstrace.SensorContext.Extension.ProjectDefinition.SOURCES_PROPERTY
ProjectDefinition.SOURCES_PROPERTY
FileSystem.files(org.sonar.api.batch.fs.FilePredicate) to get all files with type InputFile.Type#MAIN.
TestCaseExecution.Status.ERROR).
TestCaseExecution.Status.ERROR).
Lifecycle.State.STARTED.
DefaultInputFile.setStatus(org.sonar.api.batch.fs.InputFile.Status)
Issue.
BatchExtension would be active.System.System.exit(int) except from shutdown hooks, to prevent
deadlocks.TaskExtension.TaskExtension.TempFolderProjectDefinition.TESTS_PROPERTY
ProjectDefinition.TESTS_PROPERTY
FileSystem.files(org.sonar.api.batch.fs.FilePredicate) to get all files with type InputFile.Type#TEST.
TimeoutExceptionCoverageMeasuresBuilder to build measure for this metric.
CoverageMeasuresBuilder to build measure for this metric.
value.
JsonWriter.valueDateTime(java.util.Date)
Map.
Issue.IssueFilter.WebService(value = "PROJECT"),
global dashboards (value = "GLOBAL") or both (value = {"PROJECT", "GLOBAL"}).InputFile.Type this Sensor work on.
Sensor work on.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||