Package jakarta.batch.runtime
Interface JobExecution
- 
public interface JobExecutionProvides a view of a job execution to the JobOperator. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchStatusgetBatchStatus()Get batch status of this execution.DategetCreateTime()Get time execution was created.DategetEndTime()Get time execution entered end status: COMPLETED, STOPPED, FAILED.longgetExecutionId()Get unique id for this JobExecution.StringgetExitStatus()Get execution exit status.StringgetJobName()Get job name.PropertiesgetJobParameters()Get job parameters for this execution.DategetLastUpdatedTime()Get time execution was last updated updated.DategetStartTime()Get time execution entered STARTED status. 
 - 
 
- 
- 
Method Detail
- 
getExecutionId
long getExecutionId()
Get unique id for this JobExecution.- Returns:
 - execution id
 
 
- 
getJobName
String getJobName()
Get job name.- Returns:
 - value of 'id' attribute from <job>
 
 
- 
getBatchStatus
BatchStatus getBatchStatus()
Get batch status of this execution.- Returns:
 - batch status value.
 
 
- 
getStartTime
Date getStartTime()
Get time execution entered STARTED status.- Returns:
 - date (time)
 
 
- 
getEndTime
Date getEndTime()
Get time execution entered end status: COMPLETED, STOPPED, FAILED.- Returns:
 - date (time)
 
 
- 
getExitStatus
String getExitStatus()
Get execution exit status.- Returns:
 - exit status.
 
 
- 
getCreateTime
Date getCreateTime()
Get time execution was created.- Returns:
 - date (time)
 
 
- 
getLastUpdatedTime
Date getLastUpdatedTime()
Get time execution was last updated updated.- Returns:
 - date (time)
 
 
- 
getJobParameters
Properties getJobParameters()
Get job parameters for this execution.- Returns:
 - job parameters
 
 
 - 
 
 -