Package javax.batch.runtime
Interface JobExecution
-
public interface JobExecution
Provides a view of a job execution to the JobOperator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchStatus
getBatchStatus()
Get batch status of this execution.java.util.Date
getCreateTime()
Get time execution was created.java.util.Date
getEndTime()
Get time execution entered end status: COMPLETED, STOPPED, FAILED.long
getExecutionId()
Get unique id for this JobExecution.java.lang.String
getExitStatus()
Get execution exit status.java.lang.String
getJobName()
Get job name.java.util.Properties
getJobParameters()
Get job parameters for this execution.java.util.Date
getLastUpdatedTime()
Get time execution was last updated updated.java.util.Date
getStartTime()
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
-
-