Class DeploymentResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.sub.repository.impl.DeploymentResourceImpl
-
- All Implemented Interfaces:
DeploymentResource
public class DeploymentResourceImpl extends AbstractRestProcessEngineAware implements DeploymentResource
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringdeploymentId-
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
Constructors Constructor Description DeploymentResourceImpl(java.lang.String processEngineName, java.lang.String deploymentId, java.lang.String rootResourcePath, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DeploymentBuilderaddRedeploymentResources(DeploymentBuilder builder, RedeploymentDto redeployment)protected InvalidRequestExceptioncreateInvalidRequestException(java.lang.String action, javax.ws.rs.core.Response.Status status, ProcessEngineException cause)voiddeleteDeployment(java.lang.String deploymentId, javax.ws.rs.core.UriInfo uriInfo)DeploymentDtogetDeployment()DeploymentResourcesResourcegetDeploymentResources()protected booleanisQueryPropertyEnabled(javax.ws.rs.core.UriInfo uriInfo, java.lang.String property)DeploymentDtoredeploy(javax.ws.rs.core.UriInfo uriInfo, RedeploymentDto redeployment)protected DeploymentWithDefinitionstryToRedeploy(RedeploymentDto redeployment)-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Method Detail
-
getDeployment
public DeploymentDto getDeployment()
- Specified by:
getDeploymentin interfaceDeploymentResource
-
getDeploymentResources
public DeploymentResourcesResource getDeploymentResources()
- Specified by:
getDeploymentResourcesin interfaceDeploymentResource
-
redeploy
public DeploymentDto redeploy(javax.ws.rs.core.UriInfo uriInfo, RedeploymentDto redeployment)
- Specified by:
redeployin interfaceDeploymentResource
-
tryToRedeploy
protected DeploymentWithDefinitions tryToRedeploy(RedeploymentDto redeployment)
-
addRedeploymentResources
protected DeploymentBuilder addRedeploymentResources(DeploymentBuilder builder, RedeploymentDto redeployment)
-
deleteDeployment
public void deleteDeployment(java.lang.String deploymentId, javax.ws.rs.core.UriInfo uriInfo)- Specified by:
deleteDeploymentin interfaceDeploymentResource
-
isQueryPropertyEnabled
protected boolean isQueryPropertyEnabled(javax.ws.rs.core.UriInfo uriInfo, java.lang.String property)
-
createInvalidRequestException
protected InvalidRequestException createInvalidRequestException(java.lang.String action, javax.ws.rs.core.Response.Status status, ProcessEngineException cause)
-
-