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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String createWithStepBlock​(org.springframework.security.core.Authentication owner, java.lang.String description, java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> steps, java.util.Map<java.lang.String,​java.lang.String> metadata)
      Create and register a task with given steps and metadata.
    • Method Detail

      • createWithStepBlock

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