Package javax.batch.runtime
Interface JobExecution
public interface JobExecution
-
Method Summary
Modifier and TypeMethodDescriptionGet batch status of this execution.Get time execution was created.Get time execution entered end status: COMPLETED, STOPPED, FAILEDlong
Get unique id for this JobExecution.Get execution exit status.Get job name.Get job parameters for this execution.Get time execution was last updated updated.Get time execution entered STARTED status.
-
Method Details
-
getExecutionId
long getExecutionId()Get unique id for this JobExecution.- Returns:
- execution id
-
getJobName
String getJobName()Get job name.- Returns:
- value of 'id' attribute from
-
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
-