Interface JobExecutionService

    • Method Detail

      • create

        JobExecution create​(JobExecution jobExecution)
        Create a new job execution
        Parameters:
        jobExecution - the job execution to create
        Returns:
        the created job execution
      • list

        List<? extends JobExecution> list()
        List all job executions
        Returns:
        list of job executions or empty
      • get

        JobExecution get​(String jobExecutionId)
        Get a job execution by ID
        Parameters:
        jobExecutionId - the job execution identifier
        Returns:
        the job execution or null if not found
      • refreshStatus

        JobExecution refreshStatus​(String jobExecutionId)
        Refresh the status of a job execution by ID
        Parameters:
        jobExecutionId - the job execution identifier
        Returns:
        the refreshed job execution or null if not found
      • cancel

        JobExecution cancel​(String jobExecutionId)
        Cancel a job execution by ID
        Parameters:
        jobExecutionId - the job execution identifier
        Returns:
        the canceled job execution or null if not found
      • delete

        ActionResponse delete​(String jobExecutionId)
        Delete a job execution by ID
        Parameters:
        jobExecutionId - the job execution identifier
        Returns:
        the action response