Class AjdeCoreBuildNotifierAdapter

java.lang.Object
org.aspectj.ajde.core.internal.AjdeCoreBuildNotifierAdapter
All Implemented Interfaces:
IProgressListener

public class AjdeCoreBuildNotifierAdapter extends Object implements IProgressListener
Enables the compiler/weaver progres to be related to the user via the IBuildProgressMonitor as well as relating whether or not the user has cancelled the build progress back to the compiler/weaver.
  • Constructor Details

    • AjdeCoreBuildNotifierAdapter

      public AjdeCoreBuildNotifierAdapter(IBuildProgressMonitor progressMonitor)
  • Method Details

    • setProgress

      public void setProgress(double percentDone)
      Specified by:
      setProgress in interface IProgressListener
      Parameters:
      percentDone - how much work is completed so far
    • setText

      public void setText(String text)
      Specified by:
      setText in interface IProgressListener
      Parameters:
      text - the current phase of processing
    • isCancelledRequested

      public boolean isCancelledRequested()
      Specified by:
      isCancelledRequested in interface IProgressListener
      Returns:
      true if the consumer of the progress info would like the compileation to stop
    • setCancelledRequested

      public void setCancelledRequested(boolean cancelRequested)
      Specified by:
      setCancelledRequested in interface IProgressListener
      Parameters:
      cancelRequested - true if the caller wants the current compilation to stop asap