|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DeploymentService
Deployment management
| Method Summary | |
|---|---|
java.lang.String |
createTask(Deployment deployment)
Creates the deployment task. |
Deployment |
generateAllDeployeds(Deployment deployment)
Generates all deployeds for the given deployment. |
Deployment |
generateSelectedDeployeds(java.util.List<java.lang.String> deployableIds,
Deployment deployment)
Generates only the deployeds for the given deployables in the deployment. |
Deployment |
generateSingleDeployed(java.lang.String deployableId,
java.lang.String containerId,
com.xebialabs.deployit.plugin.api.reflect.Type deployedType,
Deployment deployment)
Generates a deployed for the given deployable to the given container in the deployment. |
Deployment |
prepareInitial(java.lang.String versionId,
java.lang.String environmentId)
Prepares an initial deployment. |
Deployment |
prepareUndeploy(java.lang.String deployedApplicationId)
Prepares an undeployment. |
Deployment |
prepareUpdate(java.lang.String versionId,
java.lang.String deployedApplicationId)
Prepares an update deployment. |
java.lang.String |
rollback(java.lang.String taskId)
Rollback a STOPPED or EXECUTED task. |
Deployment |
validate(Deployment deployment)
Validates the generated deployment. |
| Method Detail |
|---|
Deployment prepareInitial(java.lang.String versionId,
java.lang.String environmentId)
versionId - The ID of the udm.Version that is the source of the deployment.environmentId - The ID of the udm.Environment that is the target of the deployment.
Deployment object to which you can add deployeds.
Deployment prepareUpdate(java.lang.String versionId,
java.lang.String deployedApplicationId)
versionId - The ID of the new udm.Version that is the source of the deployment.deployedApplicationId - The ID of the udm.DeployedApplication that is to be updated.
Deployment object which contains the updated deployeds.Deployment prepareUndeploy(java.lang.String deployedApplicationId)
deployedApplicationId - The ID of the udm.DeployedApplication that is to be undeployed.
Deployment object which contains no deployeds (ie. all deployeds of the previous deployment will be deleted).Deployment generateAllDeployeds(Deployment deployment)
deployment - The prepared Deployment parameter object.
Deployment generateSelectedDeployeds(java.util.List<java.lang.String> deployableIds,
Deployment deployment)
Containers
in the Environment of the Deployment parameter object.
deployableIds - The list of IDs of deployables to generate the deployeds for.deployment - The prepared Deployment parameter object
Deployment generateSingleDeployed(java.lang.String deployableId,
java.lang.String containerId,
com.xebialabs.deployit.plugin.api.reflect.Type deployedType,
Deployment deployment)
deployableId - The ID of the deployable to generate a deployed forcontainerId - The ID of the container to generate a deployed todeployedType - (Optional) The type of the deployed to generatedeployment - The prepared Deployment parameter object
Deployment validate(Deployment deployment)
deployment - The deployment to validate.
java.lang.String createTask(Deployment deployment)
deployment - The fully prepared Deployment parameter object.
TaskService.java.lang.String rollback(java.lang.String taskId)
STOPPED or EXECUTED task. Reverting the deployment to the previous state. The task
will be set to CANCELLED when it was STOPPED, and DONE when it was EXECUTED.
taskId - the ID of the task
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||