Class ToolSelection.ToolSelectionDescriptor
java.lang.Object
hudson.model.Descriptor<ToolSelection>
io.jenkins.plugins.analysis.core.model.ToolSelection.ToolSelectionDescriptor
- Enclosing class:
ToolSelection
@Extension
public static class ToolSelection.ToolSelectionDescriptor
extends Descriptor<ToolSelection>
Descriptor for
ToolSelection
.-
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
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckId
(BuildableItem project, String id) Performs on-the-fly validation of the ID.doFillIdItems
(BuildableItem project) Returns a model that contains all static analysis tool IDs of all jobs.Methods inherited from class 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
ToolSelectionDescriptor
public ToolSelectionDescriptor()
-
-
Method Details
-
doFillIdItems
Returns a model that contains all static analysis tool IDs of all jobs.- Parameters:
project
- the project that is configured- Returns:
- a model with all static analysis tool IDs of all jobs
-
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
-