|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
DefaultInputDir.setFile(java.io.File)
previously.
FilePredicate
.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()
.
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
.
InputPath
.
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.
Highlightable
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 Sensor
work on.
WebService.NewAction.createParam(String paramKey)
instead.
Filter
.DebtRemediationFunction
FilePredicate
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()
CoreMetrics.FALSE_POSITIVE_ISSUES
.
CoreMetrics.FALSE_POSITIVE_ISSUES_KEY
.
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)
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)
}
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)
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()
Resource
corresponding to provided InputPath
.
RuleMeasure.ruleKey()
RuleMeasure.getSeverity()
instead. See SONAR-1829.
ProjectDefinition.sources()
ProjectDefinition.sources()
ProjectFileSystem.mainFiles(String...)
instead.
See http://jira.codehaus.org/browse/SONAR-2126
ProjectDefinition.tests()
FileExclusions
in version 3.5
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.InputFile
this measure belongs to.
InputFile
File
for files or directories.InputPath
this issue belongs to.
ResourceUtils.isSpace(Resource)
DuplicationBuilder.originBlock(int, int)
.
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
Issue
.Issue
.
Issue
s on batch side, preventing them from being persisted.DecoratorBarriers.ISSUES_TRACKED
.
DecoratorBarriers.ISSUES_ADDED
.
ServerUpgradeStatus.isFreshInstall()
is true.
java
CoverageMeasuresBuilder
to build measure for this metric.
Sensor
.Measure
Measure
.
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
Sensor
.
Issuable.addIssue(Issue)
Symbol
is referenced at another location in the same file.
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.
InputDir
the issue belongs to.
InputFile
the issue belongs to.
Initializer
.
Initializers
s.
PostJob
.
PostJob
s.
Sensor
.
Sensor
s.
org.sonar.api.batch.fs
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()
System.getProperty(String)
Metric
this Sensor
provides.
ProjectDefinition.resetSources()
ProjectDefinition.resetTests()
InputPath
Only on batch-side.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
.InputFile
.
InputFile
InputFile
Issuable
Issuable
Issuable
Issuable
Issuable
Sensor
is doing.BatchComponent
but for server-side components.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.
ProjectDefinition.setSources(String...)
ProjectDefinition.setSources(File...)
RuleStatus.READY
.
ProjectDefinition.setTests(String...)
ProjectDefinition.setTests(File...)
Severity
.
Severity
.
Request
used
for testing.IllegalArgumentException
or IllegalStateException
. Use MessageException
for raising errors to end-users without displaying stackstrace.Extension
.ProjectDefinition.SOURCES_PROPERTY
ProjectDefinition.SOURCES_PROPERTY
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
ProjectDefinition.TESTS_PROPERTY
ProjectDefinition.TESTS_PROPERTY
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
.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 |