Interface TaskExecutionCreationService

All Known Implementing Classes:
DefaultTaskExecutionRepositoryService

public interface TaskExecutionCreationService
Offers features to allow users to create TaskExecutions. Created in order to have the TaskExecution created in a new transaction.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.cloud.task.repository.TaskExecution
    createTaskExecution(String taskName, String version)
    Creates a TaskExecution using the specified taskName
  • Method Details

    • createTaskExecution

      org.springframework.cloud.task.repository.TaskExecution createTaskExecution(String taskName, String version)
      Creates a TaskExecution using the specified taskName
      Parameters:
      taskName - the name to be associated with the TaskExecution
      Returns:
      TaskExecution