Class ProgressCallbackImpl

java.lang.Object
dotty.tools.xsbt.ProgressCallbackImpl
All Implemented Interfaces:
dotty.tools.dotc.sbt.interfaces.ProgressCallback

public final class ProgressCallbackImpl extends Object implements dotty.tools.dotc.sbt.interfaces.ProgressCallback
  • Constructor Details

    • ProgressCallbackImpl

      public ProgressCallbackImpl(xsbti.compile.CompileProgress progress)
  • Method Details

    • cancel

      public void cancel()
      Specified by:
      cancel in interface dotty.tools.dotc.sbt.interfaces.ProgressCallback
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface dotty.tools.dotc.sbt.interfaces.ProgressCallback
    • informUnitStarting

      public void informUnitStarting(String phase, dotty.tools.dotc.CompilationUnit unit)
      Specified by:
      informUnitStarting in interface dotty.tools.dotc.sbt.interfaces.ProgressCallback
    • progress

      public boolean progress(int current, int total, String currPhase, String nextPhase)
      Specified by:
      progress in interface dotty.tools.dotc.sbt.interfaces.ProgressCallback