Interface ProgressStatusService

    • Method Detail

      • addEmailAlert

        void addEmailAlert​(String taskId)
        Set up an email alert for this job; an email will be sent when it has finished (or failed).
        Parameters:
        taskId - task id
      • cancelJob

        boolean cancelJob​(String taskId)
        Attempt to cancel the job.
        Parameters:
        taskId - tak id
        Returns:
        true if cancelling was error-free, false otherwise.
      • getProgressStatus

        List<ProgressData> getProgressStatus​(String taskId)
        Get the latest information about how a job is doing.
        Parameters:
        taskId - id
        Returns:
        progress data