public class DeploymentResourceImpl extends AbstractRestProcessEngineAware implements DeploymentResource
Modifier and Type | Field and Description |
---|---|
protected String |
deploymentId |
objectMapper, relativeRootResourcePath
processEngine
CASCADE
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, setRelativeRootResourceUri
protected String deploymentId
public DeploymentDto getDeployment()
getDeployment
in interface DeploymentResource
public DeploymentResourcesResource getDeploymentResources()
getDeploymentResources
in interface DeploymentResource
public DeploymentDto redeploy(javax.ws.rs.core.UriInfo uriInfo, RedeploymentDto redeployment)
redeploy
in interface DeploymentResource
protected 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 DeploymentResource
protected 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 © 2017. All rights reserved.