public final class JobExecutionImpl extends AbstractExecution implements javax.batch.runtime.JobExecution, Cloneable
Modifier and Type | Field and Description |
---|---|
protected long |
createTime |
static long |
JOB_EXECUTION_TIMEOUT_SECONDS_DEFAULT |
static String |
JOB_EXECUTION_TIMEOUT_SECONDS_KEY |
protected long |
lastUpdatedTime |
batchStatus, endTime, exitStatus, startTime
Constructor and Description |
---|
JobExecutionImpl(JobInstanceImpl jobInstance,
Properties jobParameters) |
Modifier and Type | Method and Description |
---|---|
void |
addStepExecution(javax.batch.runtime.StepExecution stepExecution) |
void |
awaitStop(long timeout,
TimeUnit timeUnit) |
void |
awaitTerminatioin(long timeout,
TimeUnit timeUnit) |
void |
cleanUp() |
JobExecutionImpl |
clone() |
boolean |
equals(Object o) |
Date |
getCreateTime() |
long |
getExecutionId() |
List<StepExecutionImpl> |
getInactiveStepExecutions() |
JobInstanceImpl |
getJobInstance() |
String |
getJobName() |
Properties |
getJobParameters() |
Date |
getLastUpdatedTime() |
String |
getRestartPoint() |
List<javax.batch.runtime.StepExecution> |
getStepExecutions() |
Job |
getSubstitutedJob() |
int |
hashCode() |
boolean |
isStopRequested() |
void |
setBatchStatus(javax.batch.runtime.BatchStatus batchStatus) |
void |
setId(long id) |
void |
setRestartPoint(String restartPoint) |
void |
stop() |
getBatchStatus, getEndTime, getExitStatus, getStartTime, setExitStatus
public static final String JOB_EXECUTION_TIMEOUT_SECONDS_KEY
public static final long JOB_EXECUTION_TIMEOUT_SECONDS_DEFAULT
protected long createTime
protected long lastUpdatedTime
public JobExecutionImpl(JobInstanceImpl jobInstance, Properties jobParameters) throws javax.batch.operations.JobStartException
javax.batch.operations.JobStartException
public void setId(long id)
public JobExecutionImpl clone()
clone
in class AbstractExecution
public void awaitTerminatioin(long timeout, TimeUnit timeUnit) throws InterruptedException
InterruptedException
public void awaitStop(long timeout, TimeUnit timeUnit) throws InterruptedException
InterruptedException
public Job getSubstitutedJob()
public void setBatchStatus(javax.batch.runtime.BatchStatus batchStatus)
setBatchStatus
in class AbstractExecution
public long getExecutionId()
getExecutionId
in interface javax.batch.runtime.JobExecution
public String getJobName()
getJobName
in interface javax.batch.runtime.JobExecution
public Date getCreateTime()
getCreateTime
in interface javax.batch.runtime.JobExecution
public Date getLastUpdatedTime()
getLastUpdatedTime
in interface javax.batch.runtime.JobExecution
public JobInstanceImpl getJobInstance()
public Properties getJobParameters()
getJobParameters
in interface javax.batch.runtime.JobExecution
public List<javax.batch.runtime.StepExecution> getStepExecutions()
public void addStepExecution(javax.batch.runtime.StepExecution stepExecution)
public List<StepExecutionImpl> getInactiveStepExecutions()
public void setRestartPoint(String restartPoint)
public String getRestartPoint()
public boolean isStopRequested()
public void stop()
public void cleanUp()
Copyright © 2013 JBoss by Red Hat. All rights reserved.