Class DeploymentTaskServiceImpl

java.lang.Object
com.xebialabs.deployit.core.rest.secured.AbstractSecuredResource
All Implemented Interfaces:
com.xebialabs.deployit.service.deployment.DeploymentTaskService

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

    • DeploymentTaskServiceImpl

      public DeploymentTaskServiceImpl()
  • Method Details

    • isDeployed

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

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

      public com.xebialabs.deployit.engine.api.dto.Deployment prepareUpdate(String versionId, 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 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(String taskId)
      Specified by:
      startDeploymentTask in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
    • prepareUndeploy

      public com.xebialabs.deployit.engine.api.dto.Deployment prepareUndeploy(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(String deployableId, 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, String blockId, int stepNr)
      Specified by:
      taskPreviewBlock in interface com.xebialabs.deployit.service.deployment.DeploymentTaskService
    • rollback

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

      public Map<String,String> effectiveDictionary(String environment, String applicationVersion, String application, 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