-
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.java.util.DategetCreateTime()Get time execution was created.java.util.DategetEndTime()Get time execution entered end status: COMPLETED, STOPPED, FAILED.longgetExecutionId()Get unique id for this JobExecution.java.lang.StringgetExitStatus()Get execution exit status.java.lang.StringgetJobName()Get job name.java.util.PropertiesgetJobParameters()Get job parameters for this execution.java.util.DategetLastUpdatedTime()Get time execution was last updated updated.java.util.DategetStartTime()Get time execution entered STARTED status.
-
-
-
Method Detail
-
getExecutionId
long getExecutionId()
Get unique id for this JobExecution.- Returns:
- execution id
-
getJobName
java.lang.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
java.util.Date getStartTime()
Get time execution entered STARTED status.- Returns:
- date (time)
-
getEndTime
java.util.Date getEndTime()
Get time execution entered end status: COMPLETED, STOPPED, FAILED.- Returns:
- date (time)
-
getExitStatus
java.lang.String getExitStatus()
Get execution exit status.- Returns:
- exit status.
-
getCreateTime
java.util.Date getCreateTime()
Get time execution was created.- Returns:
- date (time)
-
getLastUpdatedTime
java.util.Date getLastUpdatedTime()
Get time execution was last updated updated.- Returns:
- date (time)
-
getJobParameters
java.util.Properties getJobParameters()
Get job parameters for this execution.- Returns:
- job parameters
-
-