Uses of Class
org.springframework.batch.core.JobInstance
Packages that use JobInstance
Package
Description
Core domain context for Spring Batch covering jobs, steps, configuration and execution abstractions.
Interfaces and related classes to support meta data browsing.
Specific implementations of explorer concerns.
Interfaces and generic implementations of repository concerns.
Specific implementations of dao concerns.
Specific implementations of repository concerns.
Utility classes for batch job/step testing.
-
Uses of JobInstance in org.springframework.batch.core
Methods in org.springframework.batch.core that return JobInstanceMethods in org.springframework.batch.core with parameters of type JobInstanceConstructors in org.springframework.batch.core with parameters of type JobInstanceModifierConstructorDescriptionJobExecution(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.JobExecution(JobInstance job, JobParameters jobParameters) Constructor for transient (unsaved) instances. -
Uses of JobInstance in org.springframework.batch.core.explore
Methods in org.springframework.batch.core.explore that return JobInstanceModifier and TypeMethodDescriptionJobExplorer.getJobInstance(Long instanceId) default JobInstanceJobExplorer.getLastJobInstance(String jobName) Find the last job instance by Id for the given job.Methods in org.springframework.batch.core.explore that return types with arguments of type JobInstanceModifier and TypeMethodDescriptionJobExplorer.findJobInstancesByJobName(String jobName, int start, int count) FetchJobInstancevalues in descending order of creation (and there for usually of first execution) with a 'like'/wildcard criteria.JobExplorer.getJobInstances(String jobName, int start, int count) FetchJobInstancevalues in descending order of creation (and therefore usually of first execution).Methods in org.springframework.batch.core.explore with parameters of type JobInstanceModifier and TypeMethodDescriptionJobExplorer.getJobExecutions(JobInstance jobInstance) Retrieve job executions by their job instance.default JobExecutionJobExplorer.getLastJobExecution(JobInstance jobInstance) Find the lastJobExecutionthat has been created for a givenJobInstance. -
Uses of JobInstance in org.springframework.batch.core.explore.support
Methods in org.springframework.batch.core.explore.support that return JobInstanceModifier and TypeMethodDescriptionSimpleJobExplorer.getJobInstance(Long instanceId) SimpleJobExplorer.getLastJobInstance(String jobName) Methods in org.springframework.batch.core.explore.support that return types with arguments of type JobInstanceModifier and TypeMethodDescriptionSimpleJobExplorer.findJobInstancesByJobName(String jobName, int start, int count) SimpleJobExplorer.getJobInstances(String jobName, int start, int count) Methods in org.springframework.batch.core.explore.support with parameters of type JobInstanceModifier and TypeMethodDescriptionSimpleJobExplorer.getJobExecutions(JobInstance jobInstance) SimpleJobExplorer.getLastJobExecution(JobInstance jobInstance) -
Uses of JobInstance in org.springframework.batch.core.repository
Methods in org.springframework.batch.core.repository that return JobInstanceModifier and TypeMethodDescriptionJobRepository.createJobInstance(String jobName, JobParameters jobParameters) Create a newJobInstancewith the name and job parameters provided.Methods in org.springframework.batch.core.repository with parameters of type JobInstanceModifier and TypeMethodDescriptionJobRepository.getLastStepExecution(JobInstance jobInstance, String stepName) intJobRepository.getStepExecutionCount(JobInstance jobInstance, String stepName) -
Uses of JobInstance in org.springframework.batch.core.repository.dao
Methods in org.springframework.batch.core.repository.dao that return JobInstanceModifier and TypeMethodDescriptionJdbcJobInstanceDao.createJobInstance(String jobName, JobParameters jobParameters) In this JDBC implementation a job instance id is obtained by asking the jobInstanceIncrementer (which is likely a sequence) for the next long value, and then passing the Id and parameter values into an INSERT statement.JobInstanceDao.createJobInstance(String jobName, JobParameters jobParameters) Create a JobInstance with given name and parameters.JdbcJobInstanceDao.getJobInstance(Long instanceId) 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.JdbcJobInstanceDao.getJobInstance(JobExecution jobExecution) JobInstanceDao.getJobInstance(Long instanceId) Fetch the job instance with the provided identifier.JobInstanceDao.getJobInstance(String jobName, JobParameters jobParameters) Find the job instance that matches the given name and parameters.JobInstanceDao.getJobInstance(JobExecution jobExecution) Fetch the JobInstance for the provided JobExecution.JdbcJobInstanceDao.getLastJobInstance(String jobName) default JobInstanceJobInstanceDao.getLastJobInstance(String jobName) Fetch the last job instance by Id for the given job.Methods in org.springframework.batch.core.repository.dao that return types with arguments of type JobInstanceModifier and TypeMethodDescriptionJdbcJobInstanceDao.findJobInstancesByName(String jobName, int start, int count) JobInstanceDao.findJobInstancesByName(String jobName, int start, int count) Fetch the last job instances with the provided name, sorted backwards by primary key, using a 'like' criteriaJdbcJobInstanceDao.getJobInstances(String jobName, int start, int count) JobInstanceDao.getJobInstances(String jobName, int start, int count) Fetch the last job instances with the provided name, sorted backwards by primary key.Methods in org.springframework.batch.core.repository.dao with parameters of type JobInstanceModifier and TypeMethodDescriptionintJdbcStepExecutionDao.countStepExecutions(JobInstance jobInstance, String stepName) default intStepExecutionDao.countStepExecutions(JobInstance jobInstance, String stepName) Counts all theStepExecutionfor a given step name.JdbcJobExecutionDao.findJobExecutions(JobInstance job) JobExecutionDao.findJobExecutions(JobInstance jobInstance) Return allJobExecutions for givenJobInstance, sorted backwards by creation order (so the first element is the most recent).JdbcJobExecutionDao.getLastJobExecution(JobInstance jobInstance) JobExecutionDao.getLastJobExecution(JobInstance jobInstance) Find the lastJobExecutionto have been created for a givenJobInstance.JdbcStepExecutionDao.getLastStepExecution(JobInstance jobInstance, String stepName) default StepExecutionStepExecutionDao.getLastStepExecution(JobInstance jobInstance, String stepName) Retrieve the lastStepExecutionfor a givenJobInstanceordered by starting time and then id. -
Uses of JobInstance in org.springframework.batch.core.repository.support
Methods in org.springframework.batch.core.repository.support that return JobInstanceModifier and TypeMethodDescriptionSimpleJobRepository.createJobInstance(String jobName, JobParameters jobParameters) Methods in org.springframework.batch.core.repository.support with parameters of type JobInstanceModifier and TypeMethodDescriptionSimpleJobRepository.getLastStepExecution(JobInstance jobInstance, String stepName) intSimpleJobRepository.getStepExecutionCount(JobInstance jobInstance, String stepName) -
Uses of JobInstance in org.springframework.batch.test
Methods in org.springframework.batch.test that return JobInstanceModifier and TypeMethodDescriptionstatic JobInstanceMetaDataInstanceFactory.createJobInstance()Create aJobInstancewith default parameters.static JobInstanceMetaDataInstanceFactory.createJobInstance(String jobName, Long instanceId) Create aJobInstancewith the parameters provided.