Class DeploymentTaskServiceImpl
java.lang.Object
com.xebialabs.deployit.core.rest.secured.AbstractSecuredResource
com.xebialabs.deployit.core.rest.api.AbstractTaskRestrictedResource
com.xebialabs.deployit.core.rest.api.AbstractTaskResource
com.xebialabs.deployit.core.rest.api.DeploymentTaskServiceImpl
- All Implemented Interfaces:
com.xebialabs.deployit.service.deployment.DeploymentTaskService
@Service
public class DeploymentTaskServiceImpl
extends AbstractTaskResource
implements com.xebialabs.deployit.service.deployment.DeploymentTaskService
-
Nested Class Summary
Nested classes/interfaces inherited from class com.xebialabs.deployit.core.rest.api.AbstractTaskResource
AbstractTaskResource.NotModifiedException -
Field Summary
Fields inherited from class com.xebialabs.deployit.core.rest.api.AbstractTaskResource
controlTaskService, pendingTaskRepository, stepLogRetriever, taskQueueService, taskRepositoryFields inherited from class com.xebialabs.deployit.core.rest.api.AbstractTaskRestrictedResource
paginationService, reportGenerator, taskArchive, taskArchiveQueue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTask(com.xebialabs.deployit.engine.api.dto.Deployment deployment) effectiveDictionary(String environment, String applicationVersion, String application, String container) com.xebialabs.deployit.engine.api.dto.DeploymentgenerateSelectedDeployeds(com.xebialabs.deployit.engine.api.dto.SelectedDeployment selectedDeployment) com.xebialabs.deployit.engine.api.dto.DeploymentgenerateSingleDeployed(String deployableId, String containerId, com.xebialabs.deployit.plugin.api.reflect.Type deployedType, com.xebialabs.deployit.engine.api.dto.Deployment deployment) booleanisDeployed(String applicationId, String environmentId) com.xebialabs.deployit.engine.api.dto.DeploymentprepareAutoDeployeds(com.xebialabs.deployit.engine.api.dto.Deployment deployment) com.xebialabs.deployit.engine.api.dto.DeploymentprepareInitial(String versionId, String environmentId) com.xebialabs.deployit.engine.api.dto.DeploymentprepareUndeploy(String deployedApplicationId) com.xebialabs.deployit.engine.api.dto.DeploymentprepareUpdate(String versionId, String deployedApplicationId) voidstartDeploymentTask(String taskId) com.xebialabs.deployit.engine.api.execution.TaskPreviewBlocktaskPreviewBlock(com.xebialabs.deployit.engine.api.dto.Deployment deployment) com.xebialabs.deployit.engine.api.execution.StepStatetaskPreviewBlock(com.xebialabs.deployit.engine.api.dto.Deployment deployment, String blockId, int stepNr) com.xebialabs.deployit.engine.api.dto.Deploymentvalidate(com.xebialabs.deployit.engine.api.dto.Deployment deployment) Methods inherited from class com.xebialabs.deployit.core.rest.api.AbstractTaskResource
abort, addLogs, archive, calledByOwner, cancel, checkForMissingPermission, checkOwnership, checkPermission, doAssign, doTakeover, forceCancel, forceCancelTasks, getSerializableTask, hasBeenModifiedSince, isNotCalledByOwner, pendingOrActiveOrArchivedTask, pendingOrLiveOrArchivedTask, purge, schedule, search, searchList, setEngine, setPendingTaskRepository, setTaskArchive, setTaskArchiveQueue, setTaskRepository, start, stop, toSearchParameters, viewAbleTaskMethods inherited from class com.xebialabs.deployit.core.rest.api.AbstractTaskRestrictedResource
checkAccessTo, hasTaskPermission, setPaginationService, setReportGeneratorMethods inherited from class com.xebialabs.deployit.core.rest.secured.AbstractSecuredResource
checkPermission, checkPermission, checkPermissions, checkPermissions, checkReadPermission, hasPermission, hasPermission, hasReadPermission, setRoleService
-
Constructor Details
-
DeploymentTaskServiceImpl
public DeploymentTaskServiceImpl()
-
-
Method Details
-
isDeployed
- Specified by:
isDeployedin interfacecom.xebialabs.deployit.service.deployment.DeploymentTaskService
-
prepareInitial
public com.xebialabs.deployit.engine.api.dto.Deployment prepareInitial(String versionId, String environmentId) - Specified by:
prepareInitialin interfacecom.xebialabs.deployit.service.deployment.DeploymentTaskService
-
prepareUpdate
public com.xebialabs.deployit.engine.api.dto.Deployment prepareUpdate(String versionId, String deployedApplicationId) - Specified by:
prepareUpdatein interfacecom.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:
prepareAutoDeployedsin interfacecom.xebialabs.deployit.service.deployment.DeploymentTaskService
-
createTask
- Specified by:
createTaskin interfacecom.xebialabs.deployit.service.deployment.DeploymentTaskService
-
startDeploymentTask
- Specified by:
startDeploymentTaskin interfacecom.xebialabs.deployit.service.deployment.DeploymentTaskService
-
prepareUndeploy
public com.xebialabs.deployit.engine.api.dto.Deployment prepareUndeploy(String deployedApplicationId) - Specified by:
prepareUndeployin interfacecom.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:
generateSelectedDeployedsin interfacecom.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:
generateSingleDeployedin interfacecom.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:
taskPreviewBlockin interfacecom.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:
taskPreviewBlockin interfacecom.xebialabs.deployit.service.deployment.DeploymentTaskService
-
rollback
- Specified by:
rollbackin interfacecom.xebialabs.deployit.service.deployment.DeploymentTaskService
-
effectiveDictionary
public Map<String,String> effectiveDictionary(String environment, String applicationVersion, String application, String container) - Specified by:
effectiveDictionaryin interfacecom.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:
validatein interfacecom.xebialabs.deployit.service.deployment.DeploymentTaskService
-