Class CoverageTool.CoverageToolDescriptor
java.lang.Object
hudson.model.Descriptor<CoverageTool>
io.jenkins.plugins.coverage.metrics.steps.CoverageTool.CoverageToolDescriptor
- Enclosing class:
CoverageTool
Descriptor for
CoverageTool
.-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckId
(BuildableItem project, String id) Performs on-the-fly validation of the ID.Returns a model with allSourceCodeRetention
strategies.getHelp()
Returns an optional help text that can provide useful hints on how to configure the coverage tool so that Jenkins could parse the report files.getUrl()
Returns an optional URL to the homepage of the coverage tool.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
CoverageToolDescriptor
public CoverageToolDescriptor()
-
-
Method Details
-
doFillParserItems
Returns a model with allSourceCodeRetention
strategies.- Returns:
- a model with all
SourceCodeRetention
strategies.
-
doCheckId
@POST public FormValidation doCheckId(@AncestorInPath BuildableItem project, @QueryParameter String id) Performs on-the-fly validation of the ID.- Parameters:
project
- the project that is configuredid
- the ID of the tool- Returns:
- the validation result
-
getHelp
Returns an optional help text that can provide useful hints on how to configure the coverage tool so that Jenkins could parse the report files. This help can be a plain text message or an HTML snippet.- Returns:
- the help
-
getUrl
Returns an optional URL to the homepage of the coverage tool.- Returns:
- the help
-