TaskService
@Service
Constructors
Link copied to clipboard
constructor(config: TaskControllerConfig, transactionTemplate: TransactionTemplate, taskRepo: TaskRepo, taskTypeRepo: TaskTypeRepo, pipelineTaskTypeRepo: PipelineTaskTypeRepo, errorsRepo: ErrorRepo, executorRepo: ExecutorRepo, executorTypeRepo: TaskExecutorTypeRepo, authorizer: Authorizer, @Lazy tasksActorApi: TasksActorApi, executionEngine: ExecutionEngine? = null)
Functions
Link copied to clipboard
Link copied to clipboard
open override fun createTask(authData: AuthData?, request: TaskRequest, pipelineTaskId: TaskId?): Task
Link copied to clipboard
Link copied to clipboard
fun getPipelineTasksResults(authData: AuthData?, pipelineTaskId: TaskId, taskTypeHids: List<String>?, pageable: Pageable): Page<PipelineTaskResult>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getTasks(authData: AuthData?, pageable: Pageable, tenantId: Int, runningStatuses: List<Task.RunningStatus> = emptyList(), taskTypeHids: List<String> = emptyList(), taskTypeCategory: TaskTypeCategory? = null, extId: String? = null, pipelineTaskId: TaskId? = null): Page<TaskWithProgress>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun takeTaskForExecution(httpHeaders: HttpHeaders, executorTypeHid: String, executorHid: String): TaskEntity?
Link copied to clipboard
fun takeTaskForExecutionWaiting(httpHeaders: HttpHeaders, executorTypeHid: String, executorHid: String): TaskTakeForExecutionResult