RestartFailedJob

Group

Custom Classes Phase 6

Class Name

com.ebd.hub.datawizard.customresp.RestartFailedJob

Function

This class is able to restart one or more error jobs.

Configuration File

Not directly.

Description


The class RestartFailedJob is able to restart one or more error jobs, which are currently shown in the error overview of the Control Center. It expects a list of job numbers of jobs to be restarted from the destination structure of a management profile (i.e. the profile using the class RestartFailedJob in its response route). The class does not need a configuration file.

If the list of job numbers contains numbers that are not in the list of error jobs in the Control Center, they will be ignored. The class can only restart error jobs. By activating the logging for phase 6 (Custom) of the management profile, it is possible to get detailed information about the restarted jobs. Successfully restarted jobs will be removed from the error list in the Control Center. The job log of the restarted error job will contain an entry indicating the restart by another profile. An additional entry with timestamp will be left for the removal of the original job from the list of error jobs.