public class DeploymentResourceImpl extends AbstractRestProcessEngineAware implements DeploymentResource
| Modifier and Type | Field and Description |
|---|---|
protected String |
deploymentId |
objectMapper, relativeRootResourcePathprocessEngineCASCADE| Constructor and Description |
|---|
DeploymentResourceImpl(String processEngineName,
String deploymentId,
String rootResourcePath,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
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 DeploymentWithDefinitions |
tryToRedeploy(RedeploymentDto redeployment) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUriprotected String deploymentId
public DeploymentDto getDeployment()
getDeployment in interface DeploymentResourcepublic DeploymentResourcesResource getDeploymentResources()
getDeploymentResources in interface DeploymentResourcepublic DeploymentDto redeploy(javax.ws.rs.core.UriInfo uriInfo, RedeploymentDto redeployment)
redeploy in interface DeploymentResourceprotected DeploymentWithDefinitions tryToRedeploy(RedeploymentDto redeployment)
protected DeploymentBuilder addRedeploymentResources(DeploymentBuilder builder, RedeploymentDto redeployment)
public void deleteDeployment(String deploymentId, javax.ws.rs.core.UriInfo uriInfo)
deleteDeployment in interface DeploymentResourceprotected boolean isQueryPropertyEnabled(javax.ws.rs.core.UriInfo uriInfo,
String property)
protected InvalidRequestException createInvalidRequestException(String action, javax.ws.rs.core.Response.Status status, ProcessEngineException cause)
Copyright © 2013–2021 camunda services GmbH. All rights reserved.