|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
DefaultInputFile.setFile(java.io.File)
previously.
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
.
Analyzer
is doing.Analyzer
AnalyzerIssue
.Analyzer
.AnalyzerMeasure
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
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.
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 Analyzer
work on.
WebService.NewAction.createParam(String paramKey)
instead.
Filter
.DebtRemediationFunction
FilePredicate
Metric
this Analyzer
depends on.
Initializers
, Sensors
and
PostJobs
.AnalyzerDescriptor
of this analyzer.
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()
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)
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.
RuleFinder.findByKey(org.sonar.api.rule.RuleKey)
}
java
findbugs
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.
Rule.isTemplate()
Rule.getCharacteristicKey()
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
.
Rule.getDefaultCharacteristicKey()
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
.
Rule.getTemplate()
ActiveRule.getRepositoryKey()
instead
Rule.getRepositoryKey()
instead
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
PropertyDefinitions.propertiesByCategory(String)
PropertyDefinitions.propertiesByCategory(String)
Settings
.
DefaultInputFile.relativePath()
RuleMeasure.ruleKey()
RuleMeasure.getSeverity()
instead. See 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
InputFile
this issue belongs to.
InputFile
this measure belongs to.
File
adds information for code analyzers.InputFile
ResourceUtils.isSpace(Resource)
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)
AnalyzerIssue
.
Issue
s on batch side, preventing them from being persisted.DecoratorBarriers.ISSUES_TRACKED
.
DecoratorBarriers.ISSUES_ADDED
.
ServerUpgradeStatus.isFreshInstall()
is true.
KeyValueFormat.newDateConverter()
KeyValueFormat.newDateTimeConverter()
DefaultInputFile.setLanguage(String)
previously.
java
CoverageMeasuresBuilder
to build measure for this metric.
AnalyzerMeasure
.
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.
FileSystem
Analyzer
.
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.
InputFile
the issue belongs to.
Initializer
.
Initializers
s.
PostJob
.
PostJob
s.
Sensor
.
Sensor
s.
Qualifiers.DIRECTORY
instead.
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
.
SonarPlugin
instead.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.ModuleFileSystem
IssueQueryResult.issues()
.
System.getProperties()
org.sonar.api.resources.Project
(see method getConfiguration()
).System.getProperty(String)
Metric
this Analyzer
provides.
ResourceType
objects.ResourceType.Builder
org.sonar.api.web.ws.WebService
Rule.create()
Rule.create()
RuleKey
of this issue.
RuleKey
of the issue.
RuleMeasure.RuleMeasure(Metric, RuleKey, RulePriority, Integer)
IssueQueryResult.issues()
.
DebtRemediationFunction
.Rule.setIsTemplate(boolean)
#setCharacteristicKey(@Nullable String characteristicKey)
#setDefaultCharacteristicKey(@Nullable String defaultCharacteristicKey)
Filter
.
Rule.setStatus(String status)
.
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.setTemplate(Rule)
}
Rule.setRepositoryKey(String)
instead
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
#setRuleKey()
RuleMeasure.setSeverity(org.sonar.api.rules.RulePriority)
instead. See SONAR-1829.
RuleStatus.READY
.
Severity
.
Request
used
for testing.IllegalArgumentException
or IllegalStateException
. Use MessageException
for raising errors to end-users without displaying stackstrace.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
.
TimeoutException
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
.
JsonWriter.valueDateTime(java.util.Date)
Map
.
Issue
.IssueFilter
.org.sonar.api.web.ws.WebService
(value = "PROJECT")
,
global dashboards (value = "GLOBAL")
or both (value = {"PROJECT", "GLOBAL"})
.InputFile.Type
this Analyzer
work on.
Analyzer
work on.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |