public class JobExecutionInfoResource
extends org.springframework.hateoas.ResourceSupport
Modifier and Type | Class and Description |
---|---|
static class |
JobExecutionInfoResource.Page
Dedicated subclass to workaround type erasure.
|
Constructor and Description |
---|
JobExecutionInfoResource() |
JobExecutionInfoResource(JobExecution jobExecution,
TimeZone timeZone) |
Modifier and Type | Method and Description |
---|---|
String |
getCreateDate() |
String |
getEndTime() |
Map<String,Object> |
getExecutionContext() |
Long |
getExecutionId() |
ExitStatus |
getExitStatus() |
List<Throwable> |
getFailureExceptions() |
String |
getJobConfigurationName() |
Long |
getJobId() |
JobParameters |
getJobParameters() |
String |
getLastUpdated() |
String |
getName() |
String |
getStartTime() |
BatchStatus |
getStatus() |
int |
getStepExecutionCount() |
Collection<StepExecutionInfoResource> |
getStepExecutions() |
TimeZone |
getTimeZone() |
Integer |
getVersion() |
boolean |
isAbandonable() |
boolean |
isRestartable() |
boolean |
isStoppable() |
void |
setRestartable(boolean restartable)
Set restartable flag explicitly based on the job executions status of the same job instance.
|
void |
setStepExecutions(Collection<StepExecutionInfoResource> stepExecutions) |
public JobExecutionInfoResource()
public JobExecutionInfoResource(JobExecution jobExecution, TimeZone timeZone)
public void setStepExecutions(Collection<StepExecutionInfoResource> stepExecutions)
public TimeZone getTimeZone()
public String getName()
public Long getExecutionId()
public int getStepExecutionCount()
public Long getJobId()
public String getStartTime()
public boolean isRestartable()
public boolean isAbandonable()
public boolean isStoppable()
public JobParameters getJobParameters()
public String getJobConfigurationName()
public ExitStatus getExitStatus()
public BatchStatus getStatus()
public String getLastUpdated()
public String getCreateDate()
public Collection<StepExecutionInfoResource> getStepExecutions()
public Integer getVersion()
public String getEndTime()
public void setRestartable(boolean restartable)
restartable
- flag to identify if the job execution can be restartedCopyright © 2015. All rights reserved.