public class JobExecutionImpl extends Object implements InternalJobExecution
| Constructor and Description |
|---|
JobExecutionImpl(long executionId,
long instanceId,
PersistenceManagerService persistenceManagerService) |
| Modifier and Type | Method and Description |
|---|---|
javax.batch.runtime.BatchStatus |
getBatchStatus() |
Date |
getCreateTime() |
Date |
getEndTime() |
long |
getExecutionId() |
String |
getExitStatus() |
long |
getInstanceId() |
String |
getJobName() |
Properties |
getJobParameters() |
Date |
getLastUpdatedTime() |
Date |
getStartTime() |
void |
setBatchStatus(String status) |
void |
setCreateTime(Timestamp ts) |
void |
setEndTime(Timestamp ts) |
void |
setExecutionId(long id) |
void |
setExitStatus(String status) |
void |
setInstanceId(long id) |
void |
setJobContext(JobContextImpl jobContext) |
void |
setJobInstanceId(long jobInstanceID) |
void |
setJobName(String jobName) |
void |
setJobParameters(Properties jProps) |
void |
setLastUpdateTime(Timestamp ts) |
void |
setStartTime(Timestamp ts) |
String |
toString() |
public JobExecutionImpl(long executionId,
long instanceId,
PersistenceManagerService persistenceManagerService)
public void setJobName(String jobName)
public void setJobContext(JobContextImpl jobContext)
setJobContext in interface InternalJobExecutionpublic javax.batch.runtime.BatchStatus getBatchStatus()
getBatchStatus in interface javax.batch.runtime.JobExecutionpublic Date getCreateTime()
getCreateTime in interface javax.batch.runtime.JobExecutionpublic Date getEndTime()
getEndTime in interface javax.batch.runtime.JobExecutionpublic long getExecutionId()
getExecutionId in interface javax.batch.runtime.JobExecutionpublic String getExitStatus()
getExitStatus in interface javax.batch.runtime.JobExecutionpublic Date getLastUpdatedTime()
getLastUpdatedTime in interface javax.batch.runtime.JobExecutionpublic Date getStartTime()
getStartTime in interface javax.batch.runtime.JobExecutionpublic Properties getJobParameters()
getJobParameters in interface javax.batch.runtime.JobExecutionpublic void setBatchStatus(String status)
setBatchStatus in interface InternalJobExecutionpublic void setCreateTime(Timestamp ts)
setCreateTime in interface InternalJobExecutionpublic void setEndTime(Timestamp ts)
setEndTime in interface InternalJobExecutionpublic void setExecutionId(long id)
public void setJobInstanceId(long jobInstanceID)
public void setExitStatus(String status)
setExitStatus in interface InternalJobExecutionpublic void setInstanceId(long id)
public void setLastUpdateTime(Timestamp ts)
setLastUpdateTime in interface InternalJobExecutionpublic void setStartTime(Timestamp ts)
setStartTime in interface InternalJobExecutionpublic void setJobParameters(Properties jProps)
setJobParameters in interface InternalJobExecutionpublic String getJobName()
getJobName in interface javax.batch.runtime.JobExecutionpublic long getInstanceId()
getInstanceId in interface InternalJobExecutionCopyright © 2023 The Apache Software Foundation. All rights reserved.