Class AjBuildNotifier

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.BuildNotifier
org.aspectj.ajdt.internal.core.builder.AjBuildNotifier
All Implemented Interfaces:
IProgressListener

public class AjBuildNotifier extends BuildNotifier implements IProgressListener
Author:
colyer Build progress notification inside Eclipse
  • Constructor Details

    • AjBuildNotifier

      public AjBuildNotifier(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.resources.IProject project)
      Parameters:
      monitor -
      project -
  • Method Details

    • setText

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

      public void setProgress(double percentDone)
      Specified by:
      setProgress in interface IProgressListener
      Parameters:
      percentDone - how much work is completed so far
    • 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
    • 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