org.camunda.bpm.engine.rest.sub.repository.impl
Class DeploymentResourceImpl

java.lang.Object
  extended by org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
      extended by org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
          extended by org.camunda.bpm.engine.rest.sub.repository.impl.DeploymentResourceImpl
All Implemented Interfaces:
DeploymentResource

public class DeploymentResourceImpl
extends AbstractRestProcessEngineAware
implements DeploymentResource


Field Summary
protected  String deploymentId
           
 
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
 
Fields inherited from class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
 
Fields inherited from interface org.camunda.bpm.engine.rest.sub.repository.DeploymentResource
CASCADE
 
Constructor Summary
DeploymentResourceImpl(String processEngineName, String deploymentId, String rootResourcePath, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Method Summary
protected  DeploymentBuilder addRedeploymentResources(DeploymentBuilder builder, RedeploymentDto redeployment)
           
protected  InvalidRequestException createInvalidRequestException(String action, javax.ws.rs.core.Response.Status status, ProcessEngineException cause)
           
 void deleteDeployment(String deploymentId, javax.ws.rs.core.UriInfo uriInfo)
           
 DeploymentDto getDeployment()
           
 DeploymentResourcesResource getDeploymentResources()
           
protected  boolean isQueryPropertyEnabled(javax.ws.rs.core.UriInfo uriInfo, String property)
           
 DeploymentDto redeploy(javax.ws.rs.core.UriInfo uriInfo, RedeploymentDto redeployment)
           
protected  Deployment tryToRedeploy(RedeploymentDto redeployment)
           
 
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deploymentId

protected String deploymentId
Constructor Detail

DeploymentResourceImpl

public DeploymentResourceImpl(String processEngineName,
                              String deploymentId,
                              String rootResourcePath,
                              com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Method Detail

getDeployment

public DeploymentDto getDeployment()
Specified by:
getDeployment in interface DeploymentResource

getDeploymentResources

public DeploymentResourcesResource getDeploymentResources()
Specified by:
getDeploymentResources in interface DeploymentResource

redeploy

public DeploymentDto redeploy(javax.ws.rs.core.UriInfo uriInfo,
                              RedeploymentDto redeployment)
Specified by:
redeploy in interface DeploymentResource

tryToRedeploy

protected Deployment tryToRedeploy(RedeploymentDto redeployment)

addRedeploymentResources

protected DeploymentBuilder addRedeploymentResources(DeploymentBuilder builder,
                                                     RedeploymentDto redeployment)

deleteDeployment

public void deleteDeployment(String deploymentId,
                             javax.ws.rs.core.UriInfo uriInfo)
Specified by:
deleteDeployment in interface DeploymentResource

isQueryPropertyEnabled

protected boolean isQueryPropertyEnabled(javax.ws.rs.core.UriInfo uriInfo,
                                         String property)

createInvalidRequestException

protected InvalidRequestException createInvalidRequestException(String action,
                                                                javax.ws.rs.core.Response.Status status,
                                                                ProcessEngineException cause)


Copyright © 2016 camunda services GmbH. All rights reserved.