Package hudson.cli

Class DeleteBuildsCommand

All Implemented Interfaces:
ExtensionPoint, Cloneable

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension public class DeleteBuildsCommand extends RunRangeCommand
Deletes builds records in a bulk.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • DeleteBuildsCommand

      public DeleteBuildsCommand()
  • Method Details

    • getShortDescription

      public String getShortDescription()
      Description copied from class: CLICommand
      Gets the quick summary of what this command does. Used by the help command to generate the list of commands.
      Specified by:
      getShortDescription in class CLICommand
    • printUsageSummary

      protected void printUsageSummary(PrintStream stderr)
      Description copied from class: CLICommand
      Called while producing usage. This is a good method to override to render the general description of the command that goes beyond a single-line summary.
      Overrides:
      printUsageSummary in class CLICommand
    • act

      protected int act(List<Run<?,?>> builds) throws IOException
      Specified by:
      act in class RunRangeCommand
      Throws:
      IOException