Interface GTask


public interface GTask
Interface for tasks to be run by GTaskManager.
See Also:
  • Method Summary

    Change
    Modifier and Type
    Method
    Description
    Returns the name of this task.
    NEW
    void
    run(DomainObject domainObject, TaskMonitor monitor)
    the run method where work can be performed on the given domain object.
    REMOVED
    void
    run(UndoableDomainObject domainObject, TaskMonitor monitor)
    Removed
  • Method Details

    • getName

      String getName()
      Returns the name of this task.
      Returns:
      the name of this task.
    • run NEW

      void run(DomainObject domainObject, TaskMonitor monitor) throws CancelledException
      the run method where work can be performed on the given domain object.
      Parameters:
      domainObject - the object to affect.
      monitor - the taskMonitor to be used to cancel and report progress.
      Throws:
      CancelledException - if the user cancelled the task.