Class CommandChain.MonitorThread

  • All Implemented Interfaces:
    Runnable
    Enclosing class:
    CommandChain

    protected static class CommandChain.MonitorThread
    extends Thread
    • Constructor Detail

      • MonitorThread

        public MonitorThread​(Process process,
                             long timeout)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread
      • setFinished

        public void setFinished​(boolean finished)
        Parameters:
        finished - The finished to set.
      • isTeminated

        public boolean isTeminated()
        Returns:
        Returns the teminated.