Interface GTask


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

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

    • getName

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

      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.