Package org.springframework.xd.dirt.job

Examples of org.springframework.xd.dirt.job.NoSuchJobExecutionException


    try {
      jobExecution = jobService.getJobExecution(executionId);
    }
    catch (org.springframework.batch.core.launch.NoSuchJobExecutionException e) {
      throw new NoSuchJobExecutionException(executionId);
    }

    final Set<String> restartableJobs = new HashSet<String>(jobLocator.getAllRestartableJobs());
    final Set<String> deployedJobs = new HashSet<String>(jobLocator.getJobNames());
    final Set<String> jobDefinitionNames = new HashSet<String>(getJobDefinitionNames());
View Full Code Here


    }
    catch (org.springframework.batch.core.launch.JobExecutionNotRunningException e) {
      throw new JobExecutionNotRunningException(jobExecutionId);
    }
    catch (org.springframework.batch.core.launch.NoSuchJobExecutionException e) {
      throw new NoSuchJobExecutionException(jobExecutionId);
    }
  }
View Full Code Here

    final JobExecution jobExecution;
    try {
      jobExecution = jobService.getJobExecution(jobExecutionId);
    }
    catch (org.springframework.batch.core.launch.NoSuchJobExecutionException e) {
      throw new NoSuchJobExecutionException(jobExecutionId);
    }

    if (jobExecution.isRunning()) {
      throw new org.springframework.xd.dirt.job.JobExecutionAlreadyRunningException(
          "Job Execution for this job is already running: " + jobExecution.getJobInstance());
View Full Code Here

    try {
      stepExecutions = jobService.getStepExecutions(jobExecutionId);
    }
    catch (org.springframework.batch.core.launch.NoSuchJobExecutionException e) {
      throw new NoSuchJobExecutionException(jobExecutionId);
    }

    final Collection<StepExecutionInfoResource> result = new ArrayList<StepExecutionInfoResource>();

    for (StepExecution stepExecution : stepExecutions) {
View Full Code Here

    }
    catch (org.springframework.batch.admin.service.NoSuchStepExecutionException e) {
      throw new NoSuchStepExecutionException(stepExecutionId);
    }
    catch (org.springframework.batch.core.launch.NoSuchJobExecutionException e) {
      throw new NoSuchJobExecutionException(jobExecutionId);
    }
  }
View Full Code Here

    }
    catch (org.springframework.batch.admin.service.NoSuchStepExecutionException e) {
      throw new NoSuchStepExecutionException(stepExecutionId);
    }
    catch (org.springframework.batch.core.launch.NoSuchJobExecutionException e) {
      throw new NoSuchJobExecutionException(jobExecutionId);
    }
  }
View Full Code Here

TOP

Related Classes of org.springframework.xd.dirt.job.NoSuchJobExecutionException

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.