接口 JobExecutionListener

    • 方法详细资料

      • afterJob

        void afterJob​(JobExecution jobExecution)
        Callback after completion of a job. Called after both both successful and failed executions. To perform logic on a particular status, use "if (jobExecution.getStatus() == BatchStatus.X)".
        参数:
        jobExecution - the current JobExecution