Class ProgressMonitorImpl

java.lang.Object
org.apache.uima.jcas.jcasgenp.ProgressMonitorImpl
All Implemented Interfaces:
IProgressMonitor

public class ProgressMonitorImpl extends Object implements IProgressMonitor
The Class ProgressMonitorImpl.
  • Method Details

    • done

      public void done()
      Description copied from interface: IProgressMonitor
      Done.
      Specified by:
      done in interface IProgressMonitor
    • beginTask

      public void beginTask(String name, int totalWorked)
      Description copied from interface: IProgressMonitor
      Begin task.
      Specified by:
      beginTask in interface IProgressMonitor
      Parameters:
      name - the name
      totalWorked - the total worked
    • subTask

      public void subTask(String name)
      Description copied from interface: IProgressMonitor
      Sub task.
      Specified by:
      subTask in interface IProgressMonitor
      Parameters:
      name - the name
    • worked

      public void worked(int work)
      Description copied from interface: IProgressMonitor
      Worked.
      Specified by:
      worked in interface IProgressMonitor
      Parameters:
      work - the work
    • internalWorked

      public void internalWorked(double work)
      Internal worked.
      Parameters:
      work - the work
    • isCanceled

      public boolean isCanceled()
      Checks if is canceled.
      Returns:
      true, if is canceled
    • setCanceled

      public void setCanceled(boolean value)
      Sets the canceled.
      Parameters:
      value - the new canceled
    • setTaskName

      public void setTaskName(String name)
      Sets the task name.
      Parameters:
      name - the new task name