public class JobInstance extends Entity
Job
and JobParameters
.
JobInstance can be restarted multiple times in case of execution failure and
it's lifecycle ends with first successful execution.
Trying to execute an existing JobIntance that has already completed
successfully will result in error. Error will be raised also for an attempt
to restart a failed JobInstance if the Job is not restartable.Job
,
JobParameters
,
JobExecution
,
Serialized FormConstructor and Description |
---|
JobInstance(Long id,
JobParameters jobParameters,
String jobName) |
Modifier and Type | Method and Description |
---|---|
String |
getJobName() |
JobParameters |
getJobParameters() |
String |
toString() |
equals, getId, getVersion, hashCode, incrementVersion, setId, setVersion
public JobInstance(Long id, JobParameters jobParameters, String jobName)
public JobParameters getJobParameters()
JobParameters
public String getJobName()
Copyright © 2013 SpringSource. All rights reserved.