Class AnalysisTask

  • All Implemented Interfaces:
    GTask

    public class AnalysisTask
    extends java.lang.Object
    implements GTask
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: GTask
        Returns the name of this task.
        Specified by:
        getName in interface GTask
        Returns:
        the name of this task.
      • run

        public void run​(UndoableDomainObject domainObject,
                        TaskMonitor monitor)
                 throws CancelledException
        Description copied from interface: GTask
        the run method where work can be performed on the given domain object.
        Specified by:
        run in interface GTask
        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.
      • getPriority

        public int getPriority()