Class ToolSelection.ToolSelectionDescriptor

    • Constructor Detail

      • ToolSelectionDescriptor

        public ToolSelectionDescriptor()
    • 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 configured
        id - the ID of the tool
        Returns:
        the validation result