Class BuildProcessAdapter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void interrupt()
      enforce build to stop.
      boolean isFinished()  
      boolean isInterrupted()
      true iff build is finished and build was interrupted
      void start()
      This method is called to start runner.
      BuildFinishedStatus waitFor()
      Wait for Runner to finish or to interrupt
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BuildProcessAdapter

        public BuildProcessAdapter()
    • Method Detail

      • start

        public void start()
                   throws RunBuildException
        Description copied from interface: BuildProcess
        This method is called to start runner. Method could start either synchronously or asynchronously It is guaranteed that this method will be called prior to {@link @waitFor } method.
        Specified by:
        start in interface BuildProcess
        Throws:
        RunBuildException - to stop the build with error
      • isInterrupted

        public boolean isInterrupted()
        Description copied from interface: BuildProcess
        true iff build is finished and build was interrupted
        Specified by:
        isInterrupted in interface BuildProcess
        Returns:
        true iff build is finished and build was interrupted
      • isFinished

        public boolean isFinished()
        Specified by:
        isFinished in interface BuildProcess
        Returns:
        true iff build was finished
      • interrupt

        public void interrupt()
        Description copied from interface: BuildProcess
        enforce build to stop. This operation is non-blocking.
        Specified by:
        interrupt in interface BuildProcess