Package | Description |
---|---|
org.springframework.batch.core |
Core domain context for Spring Batch covering jobs, steps,
configuration and execution abstractions.
|
org.springframework.batch.core.explore |
Interfaces and related classes to support meta data browsing.
|
org.springframework.batch.core.explore.support |
Specific implementations of explorer concerns.
|
org.springframework.batch.core.repository |
Interfaces and generic implementations of repository concerns.
|
org.springframework.batch.core.repository.dao |
Specific implementations of dao concerns.
|
org.springframework.batch.core.repository.support |
Specific implementations of repository concerns.
|
org.springframework.batch.test |
Modifier and Type | Method and Description |
---|---|
JobInstance |
JobExecution.getJobInstance() |
Modifier and Type | Method and Description |
---|---|
void |
JobExecution.setJobInstance(JobInstance jobInstance) |
Constructor and Description |
---|
JobExecution(JobInstance job,
JobParameters jobParameters)
Constructor for transient (unsaved) instances.
|
JobExecution(JobInstance job,
Long id,
JobParameters jobParameters)
Because a JobExecution isn't valid unless the job is set, this
constructor is the only valid one from a modeling point of view.
|
Modifier and Type | Method and Description |
---|---|
JobInstance |
JobExplorer.getJobInstance(Long instanceId) |
Modifier and Type | Method and Description |
---|---|
List<JobInstance> |
JobExplorer.getJobInstances(String jobName,
int start,
int count)
Fetch
JobInstance values in descending order of creation (and
therefore usually of first execution). |
Modifier and Type | Method and Description |
---|---|
List<JobExecution> |
JobExplorer.getJobExecutions(JobInstance jobInstance)
Retrieve job executions by their job instance.
|
Modifier and Type | Method and Description |
---|---|
JobInstance |
SimpleJobExplorer.getJobInstance(Long instanceId) |
Modifier and Type | Method and Description |
---|---|
List<JobInstance> |
SimpleJobExplorer.getJobInstances(String jobName,
int start,
int count) |
Modifier and Type | Method and Description |
---|---|
List<JobExecution> |
SimpleJobExplorer.getJobExecutions(JobInstance jobInstance) |
Modifier and Type | Method and Description |
---|---|
StepExecution |
JobRepository.getLastStepExecution(JobInstance jobInstance,
String stepName) |
int |
JobRepository.getStepExecutionCount(JobInstance jobInstance,
String stepName) |
Modifier and Type | Method and Description |
---|---|
JobInstance |
MapJobInstanceDao.createJobInstance(String jobName,
JobParameters jobParameters) |
JobInstance |
JobInstanceDao.createJobInstance(String jobName,
JobParameters jobParameters)
Create a JobInstance with given name and parameters.
|
JobInstance |
JdbcJobInstanceDao.createJobInstance(String jobName,
JobParameters jobParameters)
In this jdbc implementation a job id is obtained by asking the
jobIncrementer (which is likely a sequence) for the next long value, and
then passing the Id and parameter values into an INSERT statement.
|
JobInstance |
MapJobInstanceDao.getJobInstance(JobExecution jobExecution) |
JobInstance |
JobInstanceDao.getJobInstance(JobExecution jobExecution)
Fetch the JobInstance for the provided JobExecution.
|
JobInstance |
JdbcJobInstanceDao.getJobInstance(JobExecution jobExecution) |
JobInstance |
MapJobInstanceDao.getJobInstance(Long instanceId) |
JobInstance |
JobInstanceDao.getJobInstance(Long instanceId)
Fetch the job instance with the provided identifier.
|
JobInstance |
JdbcJobInstanceDao.getJobInstance(Long instanceId) |
JobInstance |
MapJobInstanceDao.getJobInstance(String jobName,
JobParameters jobParameters) |
JobInstance |
JobInstanceDao.getJobInstance(String jobName,
JobParameters jobParameters)
Find the job instance that matches the given name and parameters.
|
JobInstance |
JdbcJobInstanceDao.getJobInstance(String jobName,
JobParameters jobParameters)
The job table is queried for any jobs that match the
given identifier, adding them to a list via the RowMapper callback.
|
Modifier and Type | Method and Description |
---|---|
List<JobInstance> |
MapJobInstanceDao.getJobInstances(String jobName,
int start,
int count) |
List<JobInstance> |
JobInstanceDao.getJobInstances(String jobName,
int start,
int count)
Fetch the last job instances with the provided name, sorted backwards by
primary key.
|
List<JobInstance> |
JdbcJobInstanceDao.getJobInstances(String jobName,
int start,
int count) |
Modifier and Type | Method and Description |
---|---|
List<JobExecution> |
MapJobExecutionDao.findJobExecutions(JobInstance jobInstance) |
List<JobExecution> |
JobExecutionDao.findJobExecutions(JobInstance jobInstance)
Return all
JobExecution for given JobInstance , sorted
backwards by creation order (so the first element is the most recent). |
List<JobExecution> |
JdbcJobExecutionDao.findJobExecutions(JobInstance job) |
JobExecution |
MapJobExecutionDao.getLastJobExecution(JobInstance jobInstance) |
JobExecution |
JobExecutionDao.getLastJobExecution(JobInstance jobInstance)
Find the last
JobExecution to have been created for a given
JobInstance . |
JobExecution |
JdbcJobExecutionDao.getLastJobExecution(JobInstance jobInstance) |
Modifier and Type | Method and Description |
---|---|
StepExecution |
SimpleJobRepository.getLastStepExecution(JobInstance jobInstance,
String stepName) |
int |
SimpleJobRepository.getStepExecutionCount(JobInstance jobInstance,
String stepName) |
Modifier and Type | Method and Description |
---|---|
static JobInstance |
MetaDataInstanceFactory.createJobInstance()
Create a
JobInstance with default parameters. |
static JobInstance |
MetaDataInstanceFactory.createJobInstance(String jobName,
Long instanceId)
Create a
JobInstance with the parameters provided. |
Copyright © 2014 Pivotal. All rights reserved.