Interface TaskCreationService


public interface TaskCreationService
Service which allows you to create tasks in the standard task execution context of the server. Using this service it is possible to create tasks from the platform.
  • Method Summary

    Modifier and Type
    Method
    Description
    createWithStepBlock(org.springframework.security.core.Authentication owner, String description, List<com.xebialabs.deployit.plugin.api.flow.Step> steps, Map<String,String> metadata)
    Create and register a task with given steps and metadata.
  • Method Details

    • createWithStepBlock

      String createWithStepBlock(org.springframework.security.core.Authentication owner, String description, List<com.xebialabs.deployit.plugin.api.flow.Step> steps, Map<String,String> metadata)
      Create and register a task with given steps and metadata. The task ID is returned. Note that task is not started automatically.