Klasse CoverageRecorder.Descriptor
java.lang.Object
hudson.model.Descriptor<Publisher>
hudson.tasks.BuildStepDescriptor<Publisher>
io.jenkins.plugins.coverage.metrics.steps.CoverageRecorder.Descriptor
- Umschließende Klasse:
CoverageRecorder
@Extension
@Symbol("recordCoverage")
public static class CoverageRecorder.Descriptor
extends BuildStepDescriptor<Publisher>
Descriptor for this step: defines the context and the UI elements.
-
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
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdoCheckId
(BuildableItem project, String id) Performs on-the-fly validation of the ID.doCheckSourceCodeEncoding
(BuildableItem project, String sourceCodeEncoding) Performs on-the-fly validation on the character encoding.Returns a model with allCoverageRecorder.ChecksAnnotationScope
scopes.Returns a model with all available charsets.Returns a model with allSourceCodeRetention
strategies.boolean
isApplicable
(Class<? extends AbstractProject> jobType) Von Klasse geerbte Methoden hudson.tasks.BuildStepDescriptor
filter
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, 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
-
Descriptor
public Descriptor()
-
-
Methodendetails
-
getDisplayName
- Setzt außer Kraft:
getDisplayName
in KlasseDescriptor<Publisher>
-
isApplicable
- Angegeben von:
isApplicable
in KlasseBuildStepDescriptor<Publisher>
-
doFillSourceCodeRetentionItems
Returns a model with allSourceCodeRetention
strategies.- Gibt zurück:
- a model with all
SourceCodeRetention
strategies.
-
doFillChecksAnnotationScopeItems
Returns a model with allCoverageRecorder.ChecksAnnotationScope
scopes.- Gibt zurück:
- a model with all
CoverageRecorder.ChecksAnnotationScope
scopes.
-
doFillSourceCodeEncodingItems
Returns a model with all available charsets.- Gibt zurück:
- a model with all available charsets
-
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
-
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
-