Interface IJob

    • Method Detail

      • cleanup

        void cleanup​(IProgressMonitor monitor)
              throws CleanupFailedException
        Clean up all temporary side effects of this job. This method will always be called after executing this job to remove automatically created files and to leave the environment in a state in which the whole workflow run can be started again with the same results (i.e. in which executed can be called again). Usually, cleanup is called after the whole workflow is completed to allow other jobs to use intermediate results. In some cases, cleanup can be called earlier. However, in those cases, later jobs might not be able to access the intermediate data anymore.
        Parameters:
        monitor - the monitor
        Throws:
        CleanupFailedException - Thrown if a critical error occurred during clean up so that the whole workflow should abort cleaning up further jobs.
      • getName

        String getName()
        Supply a name of this job. This could be used for a progress monitor.
        Returns:
        the name of the job