Klasse AnalysisStepDescriptor
java.lang.Object
hudson.model.Descriptor<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.StepDescriptor
io.jenkins.plugins.analysis.core.steps.AnalysisStepDescriptor
- Bekannte direkte Unterklassen:
PublishIssuesStep.Descriptor
,RecordIssuesStep.Descriptor
,ScanForIssuesStep.Descriptor
public abstract class AnalysisStepDescriptor
extends org.jenkinsci.plugins.workflow.steps.StepDescriptor
Descriptor base class for all analysis steps. Provides generic validation methods, and list box models for UI select
elements.
- Autor:
- Ullrich Hafner
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Feldübersicht
Von Klasse geerbte Felder hudson.model.Descriptor
clazz
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungargumentsToString
(Map<String, Object> namedArgs) doCheckHealthy
(BuildableItem project, int healthy, int unhealthy) Performs on-the-fly validation of the health report thresholds.doCheckId
(BuildableItem project, String id) Performs on-the-fly validation of the ID.doCheckReportEncoding
(BuildableItem project, String reportEncoding) Performs on-the-fly validation of the character encoding.doCheckSourceCodeEncoding
(BuildableItem project, String sourceCodeEncoding) Performs on-the-fly validation on the character encoding.doCheckUnhealthy
(BuildableItem project, int healthy, int unhealthy) Performs on-the-fly validation of the health report thresholds.Returns a model with allWarningChecksPublisher.ChecksAnnotationScope
scopes.Returns a model with all available severity filters.Returns a model with all available charsets.Returns a model with allSourceCodeRetention
strategies.Returns a model with all aggregation trend chart positions.Von Klasse geerbte Methoden org.jenkinsci.plugins.workflow.steps.StepDescriptor
all, allMeta, byFunctionName, checkContextAvailability, defineArguments, getFunctionName, getMetaStepArgumentType, getProvidedContext, getRequiredContext, isAdvanced, isMetaStep, metaStepsOf, newInstance, takesImplicitBlockArgument, uninstantiate
Von Klasse geerbte Methoden hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Konstruktordetails
-
AnalysisStepDescriptor
public AnalysisStepDescriptor()
-
-
Methodendetails
-
doFillSourceCodeEncodingItems
Returns a model with all available charsets.- Parameter:
project
- the project that is configured- Gibt zurück:
- a model with all available charsets
-
doCheckReportEncoding
@POST public FormValidation doCheckReportEncoding(@AncestorInPath BuildableItem project, @QueryParameter String reportEncoding) Performs on-the-fly validation of the character encoding.- Parameter:
project
- the project that is configuredreportEncoding
- the character encoding- Gibt zurück:
- the validation result
-
doCheckSourceCodeEncoding
@POST public FormValidation doCheckSourceCodeEncoding(@AncestorInPath BuildableItem project, @QueryParameter String sourceCodeEncoding) Performs on-the-fly validation on the character encoding.- Parameter:
project
- the project that is configuredsourceCodeEncoding
- the character encoding- Gibt zurück:
- the validation result
-
doFillSourceCodeRetentionItems
Returns a model with allSourceCodeRetention
strategies.- Gibt zurück:
- a model with all
SourceCodeRetention
strategies.
-
doFillMinimumSeverityItems
Returns a model with all available severity filters.- Gibt zurück:
- a model with all available severity filters
-
doCheckHealthy
@POST public FormValidation doCheckHealthy(@AncestorInPath BuildableItem project, @QueryParameter int healthy, @QueryParameter int unhealthy) Performs on-the-fly validation of the health report thresholds.- Parameter:
project
- the project that is configuredhealthy
- the healthy thresholdunhealthy
- the unhealthy threshold- Gibt zurück:
- the validation result
-
doCheckUnhealthy
@POST public FormValidation doCheckUnhealthy(@AncestorInPath BuildableItem project, @QueryParameter int healthy, @QueryParameter int unhealthy) Performs on-the-fly validation of the health report thresholds.- Parameter:
project
- the project that is configuredhealthy
- the healthy thresholdunhealthy
- the unhealthy threshold- Gibt zurück:
- the validation result
-
doFillTrendChartTypeItems
Returns a model with all aggregation trend chart positions.- Gibt zurück:
- a model with all aggregation trend chart positions
-
doCheckId
@POST public FormValidation doCheckId(@AncestorInPath BuildableItem project, @QueryParameter String id) Performs on-the-fly validation of the ID.- Parameter:
project
- the project that is configuredid
- the ID of the tool- Gibt zurück:
- the validation result
-
doFillChecksAnnotationScopeItems
Returns a model with allWarningChecksPublisher.ChecksAnnotationScope
scopes.- Gibt zurück:
- a model with all
WarningChecksPublisher.ChecksAnnotationScope
scopes.
-
argumentsToString
- Setzt außer Kraft:
argumentsToString
in Klasseorg.jenkinsci.plugins.workflow.steps.StepDescriptor
-