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 forToolSelection
.
-
-
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 Constructor Description ToolSelectionDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckId(AbstractProject<?,?> project, String id)
Performs on-the-fly validation of the ID.ComboBoxModel
doFillIdItems(AbstractProject<?,?> project)
Returns a model that contains all static analysis tool IDs of all jobs.-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, 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
-
-
-
-
Method Detail
-
doFillIdItems
@POST public ComboBoxModel doFillIdItems(@AncestorInPath AbstractProject<?,?> project)
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 AbstractProject<?,?> 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
-
-