Class DeploymentResourceImpl
- java.lang.Object
-
- 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.String
deploymentId
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
-
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 DeploymentBuilder
addRedeploymentResources(DeploymentBuilder builder, RedeploymentDto redeployment)
protected InvalidRequestException
createInvalidRequestException(java.lang.String action, javax.ws.rs.core.Response.Status status, ProcessEngineException cause)
void
deleteDeployment(java.lang.String deploymentId, javax.ws.rs.core.UriInfo uriInfo)
DeploymentDto
getDeployment()
DeploymentResourcesResource
getDeploymentResources()
protected boolean
isQueryPropertyEnabled(javax.ws.rs.core.UriInfo uriInfo, java.lang.String property)
DeploymentDto
redeploy(javax.ws.rs.core.UriInfo uriInfo, RedeploymentDto redeployment)
protected DeploymentWithDefinitions
tryToRedeploy(RedeploymentDto redeployment)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Method Detail
-
getDeployment
public DeploymentDto getDeployment()
- Specified by:
getDeployment
in interfaceDeploymentResource
-
getDeploymentResources
public DeploymentResourcesResource getDeploymentResources()
- Specified by:
getDeploymentResources
in interfaceDeploymentResource
-
redeploy
public DeploymentDto redeploy(javax.ws.rs.core.UriInfo uriInfo, RedeploymentDto redeployment)
- Specified by:
redeploy
in 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:
deleteDeployment
in 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)
-
-