Package org.springframework.batch.core.repository

Examples of org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException


              + jobInstance);
        }

        BatchStatus status = execution.getStatus();
        if (execution.getJobParameters().getParameters().size() > 0 && (status == BatchStatus.COMPLETED || status == BatchStatus.ABANDONED)) {
          throw new JobInstanceAlreadyCompleteException(
              "A job instance already exists and is complete for parameters=" + jobParameters
              + ".  If you want to run this job again, change the parameters.");
        }
      }
      executionContext = ecDao.getExecutionContext(jobExecutionDao.getLastJobExecution(jobInstance));
View Full Code Here

TOP

Related Classes of org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.