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) |
init
JobStatus createJobStatus(long jobInstanceId) throws BatchContainerServiceException
BatchContainerServiceException
void updateJobStatus(JobStatus jobStatus)
JobStatus getJobStatus(long jobInstanceId) throws BatchContainerServiceException
jobInstanceId
- BatchContainerServiceException
JobStatus getJobStatusFromExecutionId(long executionId) throws BatchContainerServiceException
BatchContainerServiceException
void updateJobBatchStatus(long jobInstanceId, javax.batch.runtime.BatchStatus batchStatus) throws BatchContainerServiceException
BatchContainerServiceException
void updateJobExecutionStatus(long jobInstanceId, javax.batch.runtime.BatchStatus batchStatus, String exitStatus) throws BatchContainerServiceException
BatchContainerServiceException
void updateJobStatusFromJSLStop(long jobInstanceId, String restartOn) throws BatchContainerServiceException
BatchContainerServiceException
void updateJobStatusWithNewExecution(long jobInstanceId, long newExecutionId) throws BatchContainerServiceException
BatchContainerServiceException
void updateJobCurrentStep(long jobInstanceId, String currentStepName) throws BatchContainerServiceException
BatchContainerServiceException
StepStatus createStepStatus(long stepExecutionId) throws BatchContainerServiceException
stepExecutionId
- BatchContainerServiceException
void updateStepStatus(long stepExecutionId, StepStatus newStepStatus) throws BatchContainerServiceException
BatchContainerServiceException
StepStatus getStepStatus(long jobInstanceId, String stepId) throws BatchContainerServiceException
BatchContainerServiceException
Copyright © 2017 The Apache Software Foundation. All rights reserved.