com.xebialabs.deployit.core.rest.api
Class DeploymentResource

java.lang.Object
  extended by com.xebialabs.deployit.core.rest.secured.AbstractSecuredResource
      extended by com.xebialabs.deployit.core.rest.api.DeploymentResource
All Implemented Interfaces:
com.xebialabs.deployit.core.api.DeploymentProxy

@Controller
public class DeploymentResource
extends AbstractSecuredResource
implements com.xebialabs.deployit.core.api.DeploymentProxy


Constructor Summary
DeploymentResource()
           
 
Method Summary
 javax.ws.rs.core.Response deploy(com.xebialabs.deployit.core.api.dto.Deployment deployment)
           
 javax.ws.rs.core.Response generateAllDeployeds(com.xebialabs.deployit.core.api.dto.Deployment deployment)
           
 javax.ws.rs.core.Response generateSelectedDeployeds(java.util.List<java.lang.String> deployableIds, com.xebialabs.deployit.core.api.dto.Deployment deployment)
           
 javax.ws.rs.core.Response generateSingleDeployed(java.lang.String deployableId, java.lang.String containerId, java.lang.String deployedType, com.xebialabs.deployit.core.api.dto.Deployment deployment)
           
 javax.ws.rs.core.Response prepareInitial(java.lang.String versionId, java.lang.String environmentId)
           
 javax.ws.rs.core.Response prepareUpgrade(java.lang.String newVersionId, java.lang.String deployedApplicationId)
           
 javax.ws.rs.core.Response undeploy(java.lang.String deployedApplicationId)
           
 javax.ws.rs.core.Response validate(com.xebialabs.deployit.core.api.dto.Deployment deployment)
           
 
Methods inherited from class com.xebialabs.deployit.core.rest.secured.AbstractSecuredResource
checkPermission, checkPermission, hasPermission
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentResource

public DeploymentResource()
Method Detail

prepareInitial

public javax.ws.rs.core.Response prepareInitial(java.lang.String versionId,
                                                java.lang.String environmentId)
Specified by:
prepareInitial in interface com.xebialabs.deployit.core.api.DeploymentProxy

prepareUpgrade

public javax.ws.rs.core.Response prepareUpgrade(java.lang.String newVersionId,
                                                java.lang.String deployedApplicationId)
Specified by:
prepareUpgrade in interface com.xebialabs.deployit.core.api.DeploymentProxy

generateAllDeployeds

public javax.ws.rs.core.Response generateAllDeployeds(com.xebialabs.deployit.core.api.dto.Deployment deployment)
Specified by:
generateAllDeployeds in interface com.xebialabs.deployit.core.api.DeploymentProxy

generateSelectedDeployeds

public javax.ws.rs.core.Response generateSelectedDeployeds(java.util.List<java.lang.String> deployableIds,
                                                           com.xebialabs.deployit.core.api.dto.Deployment deployment)
Specified by:
generateSelectedDeployeds in interface com.xebialabs.deployit.core.api.DeploymentProxy

generateSingleDeployed

public javax.ws.rs.core.Response generateSingleDeployed(java.lang.String deployableId,
                                                        java.lang.String containerId,
                                                        java.lang.String deployedType,
                                                        com.xebialabs.deployit.core.api.dto.Deployment deployment)
Specified by:
generateSingleDeployed in interface com.xebialabs.deployit.core.api.DeploymentProxy

validate

public javax.ws.rs.core.Response validate(com.xebialabs.deployit.core.api.dto.Deployment deployment)
Specified by:
validate in interface com.xebialabs.deployit.core.api.DeploymentProxy

deploy

public javax.ws.rs.core.Response deploy(com.xebialabs.deployit.core.api.dto.Deployment deployment)
Specified by:
deploy in interface com.xebialabs.deployit.core.api.DeploymentProxy

undeploy

public javax.ws.rs.core.Response undeploy(java.lang.String deployedApplicationId)
Specified by:
undeploy in interface com.xebialabs.deployit.core.api.DeploymentProxy