Class CordellWalkerRecorder

All Implemented Interfaces:
ExtensionPoint, Describable<Publisher>, BuildStep, SimpleBuildStep

public class CordellWalkerRecorder extends Recorder implements SimpleBuildStep
This class associates a RoundhouseAction to a job or a build. For more info on Cordell Walker, check out http://www.imdb.com/character/ch0038386/.
Author:
cliffano
  • Constructor Details

  • Method Details

    • readResolve

      protected Object readResolve()
      Recreates the transient FactGenerator after the recorder is loaded from a job's config.xml.
      Returns:
      this recorder
    • perform

      public final boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
      Adds RoundhouseAction to the build actions. This is applicable for each build.
      Specified by:
      perform in interface BuildStep
      Overrides:
      perform in class BuildStepCompatibilityLayer
      Parameters:
      build - the build
      launcher - the launcher
      listener - the listener
      Returns:
      true
      Throws:
      InterruptedException - when there's an interruption
      IOException - when there's an IO error
    • perform

      public final void perform(@NonNull Run<?,?> run, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException
      Adds RoundhouseAction to the run actions. This is applicable for each run.
      Specified by:
      perform in interface SimpleBuildStep
      Parameters:
      run - the run
      workspace - the workspace
      launcher - the launcher
      listener - the listener
      Throws:
      InterruptedException - when there's an interruption
      IOException - when there's an IO error
    • getRequiredMonitorService

      public final BuildStepMonitor getRequiredMonitorService()
      Gets the required monitor service.
      Specified by:
      getRequiredMonitorService in interface BuildStep
      Returns:
      the BuildStepMonitor
    • perform

      public void perform(Run<?,?> run)
      Adds RoundhouseAction to the run actions. This is applicable for each run.
      Parameters:
      run - the run
    • perform

      public String perform(Run<?,?> run, TaskListener listener)
      Adds a RoundhouseAction to the run, replacing any earlier one so that calling the step more than once still shows a single fact, and prints the fact to the build log.
      Parameters:
      run - the run
      listener - the listener to print the fact to, may be null
      Returns:
      the fact, in the controller's default locale