public final class JobUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isJobExecutionAbandonable(org.springframework.batch.core.JobExecution jobExecution)
Determine whether the provided
JobExecution is abandonable. |
static boolean |
isJobExecutionRestartable(org.springframework.batch.core.JobExecution jobExecution)
Determine whether the provided
JobExecution is restartable. |
static boolean |
isJobExecutionStoppable(org.springframework.batch.core.JobExecution jobExecution)
Determine whether the provided
JobExecution is stoppable. |
public static boolean isJobExecutionRestartable(org.springframework.batch.core.JobExecution jobExecution)
JobExecution is restartable.jobExecution - Must not be null and its BatchStatus must not be null
either.public static boolean isJobExecutionAbandonable(org.springframework.batch.core.JobExecution jobExecution)
JobExecution is abandonable.jobExecution - Must not be null and its BatchStatus must not be null
either.public static boolean isJobExecutionStoppable(org.springframework.batch.core.JobExecution jobExecution)
JobExecution is stoppable.jobExecution - Must not be null and its BatchStatus must not be null
either.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.