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 simple implementations of launch concerns.
Support classes for use in bootstrap and launch implementations or configurations.
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 JobInstanceModifier and TypeMethodDescriptionvoidJobExecution.setJobInstance(JobInstance jobInstance) Set theJobInstanceused by theJobExecution.Constructors in org.springframework.batch.core with parameters of type JobInstanceModifierConstructorDescriptionJobExecution(JobInstance job, Long id, JobParameters jobParameters) Because a JobExecution is not 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.getJobInstance(String jobName, JobParameters jobParameters) 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, therefore, usually of first execution) with a 'like' or 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.getJobInstance(String jobName, JobParameters jobParameters) 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.launch
Methods in org.springframework.batch.core.launch that return JobInstanceModifier and TypeMethodDescriptiondefault JobInstanceJobOperator.getJobInstance(String jobName, JobParameters jobParameters) -
Uses of JobInstance in org.springframework.batch.core.launch.support
Methods in org.springframework.batch.core.launch.support that return JobInstanceModifier and TypeMethodDescriptionSimpleJobOperator.getJobInstance(String jobName, JobParameters jobParameters) -
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.default JobInstanceJobRepository.getJobInstance(String jobName, JobParameters jobParameters) Methods in org.springframework.batch.core.repository that return types with arguments of type JobInstanceModifier and TypeMethodDescriptiondefault List<JobInstance>JobRepository.findJobInstancesByName(String jobName, int start, int count) Fetch the last job instances with the provided name, sorted backwards by primary key, using a 'like' criteriaMethods in org.springframework.batch.core.repository with parameters of type JobInstanceModifier and TypeMethodDescriptiondefault voidJobRepository.deleteJobInstance(JobInstance jobInstance) Delete the job instance object graph (ie the job instance with all associated job executions along with their respective object graphs as specified inJobRepository.deleteJobExecution(JobExecution)).default List<JobExecution>JobRepository.findJobExecutions(JobInstance jobInstance) Return allJobExecutions for givenJobInstance, sorted backwards by creation order (so the first element is the most recent).JobRepository.getLastStepExecution(JobInstance jobInstance, String stepName) longJobRepository.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 TypeMethodDescriptionlongJdbcStepExecutionDao.countStepExecutions(JobInstance jobInstance, String stepName) default longStepExecutionDao.countStepExecutions(JobInstance jobInstance, String stepName) Counts all theStepExecutionfor a given step name.voidJdbcJobInstanceDao.deleteJobInstance(JobInstance jobInstance) Delete the job instance.default voidJobInstanceDao.deleteJobInstance(JobInstance jobInstance) Delete the job instance.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 creation 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) SimpleJobRepository.getJobInstance(String jobName, JobParameters jobParameters) Methods in org.springframework.batch.core.repository.support that return types with arguments of type JobInstanceModifier and TypeMethodDescriptionSimpleJobRepository.findJobInstancesByName(String jobName, int start, int count) Methods in org.springframework.batch.core.repository.support with parameters of type JobInstanceModifier and TypeMethodDescriptionvoidSimpleJobRepository.deleteJobInstance(JobInstance jobInstance) SimpleJobRepository.findJobExecutions(JobInstance jobInstance) SimpleJobRepository.getLastStepExecution(JobInstance jobInstance, String stepName) longSimpleJobRepository.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.