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 InternalJobExecution
public javax.batch.runtime.BatchStatus getBatchStatus()
getBatchStatus
in interface javax.batch.runtime.JobExecution
public Date getCreateTime()
getCreateTime
in interface javax.batch.runtime.JobExecution
public Date getEndTime()
getEndTime
in interface javax.batch.runtime.JobExecution
public long getExecutionId()
getExecutionId
in interface javax.batch.runtime.JobExecution
public String getExitStatus()
getExitStatus
in interface javax.batch.runtime.JobExecution
public Date getLastUpdatedTime()
getLastUpdatedTime
in interface javax.batch.runtime.JobExecution
public Date getStartTime()
getStartTime
in interface javax.batch.runtime.JobExecution
public Properties getJobParameters()
getJobParameters
in interface javax.batch.runtime.JobExecution
public void setBatchStatus(String status)
setBatchStatus
in interface InternalJobExecution
public void setCreateTime(Timestamp ts)
setCreateTime
in interface InternalJobExecution
public void setEndTime(Timestamp ts)
setEndTime
in interface InternalJobExecution
public void setExecutionId(long id)
public void setJobInstanceId(long jobInstanceID)
public void setExitStatus(String status)
setExitStatus
in interface InternalJobExecution
public void setInstanceId(long id)
public void setLastUpdateTime(Timestamp ts)
setLastUpdateTime
in interface InternalJobExecution
public void setStartTime(Timestamp ts)
setStartTime
in interface InternalJobExecution
public void setJobParameters(Properties jProps)
setJobParameters
in interface InternalJobExecution
public String getJobName()
getJobName
in interface javax.batch.runtime.JobExecution
public long getInstanceId()
getInstanceId
in interface InternalJobExecution
Copyright © 2017 The Apache Software Foundation. All rights reserved.