|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
DefaultInputFile.setFile(java.io.File)
previously.
CoverageExtension
accept
method is called for each Issue
created during analysis, to check if it has to be persisted.
IssueQueryResult.issues()
.
ActiveRules
.Criterion
to the list used to narrow down the results of this Filter
.
FilterColumn
to the list of columns displayed by this Filter
.
Issuable.newIssueBuilder()
.
NotificationDispatcher.Context.addUser(String, NotificationChannel)
instead.
Dashboard.Widget
object if one wants to add parameters to it.
Severity.INFO
to Severity.BLOCKER
.
ResourceType.Builder.setProperty(String, String)
with "supportsMeasureFilters" set to "true".
AverageFormula
instead.CoreMetrics.CONDITIONS_BY_LINE
and CoreMetrics.COVERED_CONDITIONS_BY_LINE
CoreMetrics.CONDITIONS_BY_LINE_KEY
and CoreMetrics.COVERED_CONDITIONS_BY_LINE_KEY
ProjectBuilder.build(Context)
instead
build(true)
build(true)
ResourceType
based on all information given to the builder.
ResourceType.Builder
SonarClient
s.
Checks
.Qualifiers.FILE
instead.
Issue.STATUS_CLOSED
, else null.
DebtRemediationFunction.Type.LINEAR
and DebtRemediationFunction.Type.LINEAR_OFFSET
, else it's null.
IssueQueryResult.issues()
.
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.
Criterion
on a metric, with a numerical value.
Criterion
on a metric, with a text value.
Criterion
on a qualifier.
Filter
.Settings
DebtRemediationFunction
SonarClient.actionPlanClient()
.FilePredicate
SonarClient.issueClient()
.SonarClient.projectClient()
.ModuleFileSystem
and PathResolver
in 3.5SonarClient.ruleClient()
.SonarClient.ruleTagClient()
.SonarClient.userClient()
.Initializers
, Sensors
and
PostJobs
.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()
.
DecoratorBarriers.ISSUES_TRACKED
DecoratorBarriers.ISSUES_ADDED
System.getenv(String)
System.getenv()
CoreMetrics.FALSE_POSITIVE_ISSUES
.
CoreMetrics.FALSE_POSITIVE_ISSUES_KEY
.
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)
FileSystemFilter
FilePredicate
FileSystem
and
FilePredicate
FileSystem
manages all the source files to be analyzed.InputFileFilter
Filter
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.
Directory
from an absolute File
and a module.
File.fromIOFile(java.io.File, Project)
File
from an absolute File
and a module.
RulesProfile.getActiveRulesByRepository(String)
instead.
MetricUpdateQuery.description
transmitted through request body as content may exceed URL size allowed by the server.
DecoratorBarriers.END_OF_VIOLATION_TRACKING
AnnotationUtils.getAnnotation(Object,Class)
FilterColumn
displayed by this Filter
.
Settings
.
Settings
.
Criterion
used to narrow down the results of this Filter
.
Filter
.
FileExclusions
in version 3.5
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
.
ActiveRule.getRepositoryKey()
instead
Rule.getRepositoryKey()
instead
ViolationQuery.getSeverities()
instead. See http://jira.codehaus.org/browse/SONAR-1829
ActiveRule.getSeverity()
instead. See http://jira.codehaus.org/browse/SONAR-1829
Rule.getSeverity()
instead. See http://jira.codehaus.org/browse/SONAR-1829
Violation.getSeverity()
instead. See http://jira.codehaus.org/browse/SONAR-1829
Violation.getSeverity()
instead. See http://jira.codehaus.org/browse/SONAR-1829
PropertyDefinitions.propertiesByCategory(String)
PropertyDefinitions.propertiesByCategory(String)
Settings
.
DefaultInputFile.relativePath()
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
ProjectFileSystem.mainFiles(String...)
instead.
See http://jira.codehaus.org/browse/SONAR-2126
FileExclusions
in version 3.5
ProjectFileSystem.testFiles(String...)
instead.
See http://jira.codehaus.org/browse/SONAR-2126
ViolationQuery
parameters.
InputFile
matches
the given predicate.
SecurityRealm
, otherwise has no effect and not invoked
File
adds information for code analyzers.InputFile
ResourceUtils.isSpace(Resource)
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)
Issue
s 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
insteadKeyValueFormat.newDateConverter()
KeyValueFormat.newDateTimeConverter()
DefaultInputFile.setLanguage(String)
previously.
CoverageMeasuresBuilder
to build measure for this metric.
key
for the locale
in the list of available bundles.
Metric.Builder
factory.
Metric.Builder
factory.
Metric.Builder
factory.
Metric.Builder
factory.
Metric.Builder
factory.
Metric.Builder
factory.
Metric.Builder
object.
FileSystem
Issuable.addIssue(Issue)
NoSonarFilter
Notification
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
.
Decorator
s.
Initializer
.
Initializers
s.
PostJob
.
PostJob
s.
Sensor
.
Sensor
s.
Qualifiers.DIRECTORY
instead.
RuleKey.toString()
.
DateUtils.DATE_FORMAT
.
DateUtils.DATETIME_FORMAT
.
SonarClient.Builder.login(String)
, for example "admin"
SonarPlugin
instead.FilePredicate
ProjectBuilder.ProjectBuilder()
ProjectBuilderContext
for their unit tests.ProjectBuilder
as parameter.ModuleFileSystem
in 3.5IssueQueryResult.issues()
.
System.getProperties()
org.sonar.api.resources.Project
(see method getConfiguration()
).System.getProperty(String)
org.sonar.api.scan.filesystem.InputFileFilter
ResourceType
objects.ResourceType.Builder
org.sonar.api.web.ws.WebService
Rule.create()
Rule.create()
IssueQueryResult.issues()
.
DebtRemediationFunction
.Settings
Filter
.
Rule.setStatus(String status)
.
ResourceQuery.setExcludeRuleSeverities(boolean)
instead. See http://jira.codehaus.org/browse/SONAR-1829
FileExclusions
in version 3.5
Filter
can be configured to return only favourites.
true
if a new shell should be used to execute the command.
Filter
.
Rule.setRepositoryKey(String)
instead
ViolationQuery.setSeverities(String...)
instead. See http://jira.codehaus.org/browse/SONAR-1829
ActiveRule.setSeverity(RulePriority)
instead. See http://jira.codehaus.org/browse/SONAR-1829
Rule.setSeverity(RulePriority)
instead. See http://jira.codehaus.org/browse/SONAR-1829
Violation.setSeverity(RulePriority)
instead. See http://jira.codehaus.org/browse/SONAR-1829
Violation.setSeverity(String)
instead. See http://jira.codehaus.org/browse/SONAR-1829
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
RuleStatus.READY
.
Severity
.
FileSystem.files(org.sonar.api.batch.fs.FilePredicate)
to get all files with type InputFile.Type#MAIN
.
DefaultInputFile.setStatus(org.sonar.api.batch.fs.InputFile.Status)
Issue
.
BatchExtension
would be active.System
.TaskExtension
.TaskExtension
.TempFolder
FileSystem.files(org.sonar.api.batch.fs.FilePredicate)
to get all files with type InputFile.Type#TEST
.
CoverageMeasuresBuilder
to build measure for this metric.
CoverageMeasuresBuilder
to build measure for this metric.
ModuleFileSystem.workingDir()
or ServerFileSystem.getTempDir()
IssueQueryResult.issues()
, for example people who added a comment, reported an issue
or are assigned to issues.
value
.
Issue
.IssueFilter
.org.sonar.api.web.ws.WebService
(value = "PROJECT")
,
global dashboards (value = "GLOBAL")
or both (value = {"PROJECT", "GLOBAL"})
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |