public interface JobStatusManagerService extends BatchService
| Modifier and Type | Method and Description |
|---|---|
JobStatus |
createJobStatus(long jobInstanceId)
This method creates an entry for a new job instance
|
StepStatus |
createStepStatus(long stepExecutionId)
Creates an entry for the step in the stepstatus table during jobsetup
|
JobStatus |
getJobStatus(long jobInstanceId)
Returns the JobStatus for a given jobInstance id
|
JobStatus |
getJobStatusFromExecutionId(long executionId) |
StepStatus |
getStepStatus(long jobInstanceId,
String stepId) |
void |
updateJobBatchStatus(long jobInstanceId,
javax.batch.runtime.BatchStatus batchStatus) |
void |
updateJobCurrentStep(long jobInstanceId,
String currentStepName) |
void |
updateJobExecutionStatus(long jobInstanceId,
javax.batch.runtime.BatchStatus batchStatus,
String exitStatus) |
void |
updateJobStatus(JobStatus jobStatus) |
void |
updateJobStatusFromJSLStop(long jobInstanceId,
String restartOn) |
void |
updateJobStatusWithNewExecution(long jobInstanceId,
long newExecutionId) |
void |
updateStepStatus(long stepExecutionId,
StepStatus newStepStatus) |
initJobStatus createJobStatus(long jobInstanceId) throws BatchContainerServiceException
BatchContainerServiceExceptionvoid updateJobStatus(JobStatus jobStatus)
JobStatus getJobStatus(long jobInstanceId) throws BatchContainerServiceException
jobInstanceId - BatchContainerServiceExceptionJobStatus getJobStatusFromExecutionId(long executionId) throws BatchContainerServiceException
BatchContainerServiceExceptionvoid updateJobBatchStatus(long jobInstanceId,
javax.batch.runtime.BatchStatus batchStatus)
throws BatchContainerServiceException
BatchContainerServiceExceptionvoid updateJobExecutionStatus(long jobInstanceId,
javax.batch.runtime.BatchStatus batchStatus,
String exitStatus)
throws BatchContainerServiceException
BatchContainerServiceExceptionvoid updateJobStatusFromJSLStop(long jobInstanceId,
String restartOn)
throws BatchContainerServiceException
BatchContainerServiceExceptionvoid updateJobStatusWithNewExecution(long jobInstanceId,
long newExecutionId)
throws BatchContainerServiceException
BatchContainerServiceExceptionvoid updateJobCurrentStep(long jobInstanceId,
String currentStepName)
throws BatchContainerServiceException
BatchContainerServiceExceptionStepStatus createStepStatus(long stepExecutionId) throws BatchContainerServiceException
stepExecutionId - BatchContainerServiceExceptionvoid updateStepStatus(long stepExecutionId,
StepStatus newStepStatus)
throws BatchContainerServiceException
BatchContainerServiceExceptionStepStatus getStepStatus(long jobInstanceId, String stepId) throws BatchContainerServiceException
BatchContainerServiceExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.