Interface Executable

  • All Known Subinterfaces:
    Task

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

      • NOOP

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

      • 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