Interface Executable

All Known Subinterfaces:
Task

public interface Executable
Represents code that can be executed.
Author:
Kohsuke Kawaguchi
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Executable
    No-op implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(Reactor reactor)
    Executes a task.
  • Field Details

    • NOOP

      static final Executable NOOP
      No-op implementation.
  • Method Details

    • run

      void run(Reactor reactor) throws Exception
      Executes a task. Any exception thrown will abort the session.
      Parameters:
      reactor - Reactor to be executed
      Throws:
      Exception - Execution error