Interface BasicProgressObserver.IProgressMonitor

Enclosing class:
BasicProgressObserver

public static interface BasicProgressObserver.IProgressMonitor
Simple progress monitor interface.
Author:
Holger Eichelberger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    beginTask(String name, int max)
    Begins the task with the given name.
    void
    Sets the name of the current main task.
    void
    Informs about executing a sub-task.
    void
    worked(int step)
    Informs that the given step within the maximum number of steps of the actual task has been completed.
  • Method Details

    • setTaskName

      void setTaskName(String name)
      Sets the name of the current main task.
      Parameters:
      name - the name
    • beginTask

      void beginTask(String name, int max)
      Begins the task with the given name.
      Parameters:
      name - the name
      max - the maximum number of steps
    • worked

      void worked(int step)
      Informs that the given step within the maximum number of steps of the actual task has been completed.
      Parameters:
      step - the step number
    • subTask

      void subTask(String name)
      Informs about executing a sub-task.
      Parameters:
      name - the name of the sub-task