Class DeploymentTaskServiceImpl

  • All Implemented Interfaces:
    com.xebialabs.deployit.service.deployment.DeploymentTaskService

    @Service
    public class DeploymentTaskServiceImpl
    extends AbstractTaskResource
    implements com.xebialabs.deployit.service.deployment.DeploymentTaskService
    • Constructor Detail

      • DeploymentTaskServiceImpl

        public DeploymentTaskServiceImpl()
    • Method Detail

      • isDeployed

        public boolean isDeployed​(java.lang.String applicationId,
                                  java.lang.String environmentId)
        Specified by:
        isDeployed in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • prepareInitial

        public com.xebialabs.deployit.engine.api.dto.Deployment prepareInitial​(java.lang.String versionId,
                                                                               java.lang.String environmentId)
        Specified by:
        prepareInitial in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • prepareUpdate

        public com.xebialabs.deployit.engine.api.dto.Deployment prepareUpdate​(java.lang.String versionId,
                                                                              java.lang.String deployedApplicationId)
        Specified by:
        prepareUpdate in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • prepareAutoDeployeds

        public com.xebialabs.deployit.engine.api.dto.Deployment prepareAutoDeployeds​(com.xebialabs.deployit.engine.api.dto.Deployment deployment)
        Specified by:
        prepareAutoDeployeds in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • createTask

        public java.lang.String createTask​(com.xebialabs.deployit.engine.api.dto.Deployment deployment)
        Specified by:
        createTask in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • startDeploymentTask

        public void startDeploymentTask​(java.lang.String taskId)
        Specified by:
        startDeploymentTask in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • prepareUndeploy

        public com.xebialabs.deployit.engine.api.dto.Deployment prepareUndeploy​(java.lang.String deployedApplicationId)
        Specified by:
        prepareUndeploy in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • generateSelectedDeployeds

        public com.xebialabs.deployit.engine.api.dto.Deployment generateSelectedDeployeds​(com.xebialabs.deployit.engine.api.dto.SelectedDeployment selectedDeployment)
        Specified by:
        generateSelectedDeployeds in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • generateSingleDeployed

        public com.xebialabs.deployit.engine.api.dto.Deployment generateSingleDeployed​(java.lang.String deployableId,
                                                                                       java.lang.String containerId,
                                                                                       com.xebialabs.deployit.plugin.api.reflect.Type deployedType,
                                                                                       com.xebialabs.deployit.engine.api.dto.Deployment deployment)
        Specified by:
        generateSingleDeployed in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • taskPreviewBlock

        public com.xebialabs.deployit.engine.api.execution.TaskPreviewBlock taskPreviewBlock​(com.xebialabs.deployit.engine.api.dto.Deployment deployment)
        Specified by:
        taskPreviewBlock in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • taskPreviewBlock

        public com.xebialabs.deployit.engine.api.execution.StepState taskPreviewBlock​(com.xebialabs.deployit.engine.api.dto.Deployment deployment,
                                                                                      java.lang.String blockId,
                                                                                      int stepNr)
        Specified by:
        taskPreviewBlock in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • rollback

        public java.lang.String rollback​(java.lang.String taskid)
        Specified by:
        rollback in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • effectiveDictionary

        public java.util.Map<java.lang.String,​java.lang.String> effectiveDictionary​(java.lang.String environment,
                                                                                          java.lang.String applicationVersion,
                                                                                          java.lang.String application,
                                                                                          java.lang.String container)
        Specified by:
        effectiveDictionary in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
      • validate

        public com.xebialabs.deployit.engine.api.dto.Deployment validate​(com.xebialabs.deployit.engine.api.dto.Deployment deployment)
        Specified by:
        validate in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService