Class ToolSelection.ToolSelectionDescriptor

java.lang.Object
hudson.model.Descriptor<ToolSelection>
io.jenkins.plugins.analysis.core.model.ToolSelection.ToolSelectionDescriptor
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
ToolSelection

@Extension public static class ToolSelection.ToolSelectionDescriptor extends Descriptor<ToolSelection>
Descriptor for ToolSelection.
  • Constructor Details

    • ToolSelectionDescriptor

      public ToolSelectionDescriptor()
  • Method Details

    • doFillIdItems

      @POST public ComboBoxModel doFillIdItems(@AncestorInPath BuildableItem 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 BuildableItem project, @QueryParameter String id)
      Performs on-the-fly validation of the ID.
      Parameters:
      project - the project that is configured
      id - the ID of the tool
      Returns:
      the validation result