Interface IMonitorableTask

All Superinterfaces:
ICancelableTask, ICancelMonitor, ITask
All Known Subinterfaces:
IPipedTask
All Known Implementing Classes:
AbstractMonitorableTask, MonitorableDecoratorMainFirst, MonitorableTaskQueue, PipeTask

public interface IMonitorableTask extends ICancelableTask, ICancelMonitor
Long time task that could be monitored. The monitorization information that this task could offer is:
  • Defined (number of steps known) or Undefined task
  • Number of steps (for defined tasks)
  • Initial and final step
  • Description of the task (status)
  • Description of subtasks (note)
Author:
azabala
  • Method Details

    • getInitialStep

      int getInitialStep()
    • getFinishStep

      int getFinishStep()
    • getCurrentStep

      int getCurrentStep()
    • getStatusMessage

      String getStatusMessage()
    • getNote

      String getNote()
    • isDefined

      boolean isDefined()
    • finished

      void finished()
      This method is executed from the Event Dispatch Thread when the background task finishes. Any interaction with SWing objects should be placed here.