org.camunda.bpm.engine.rest.impl
Class AbstractRestProcessEngineAware

java.lang.Object
  extended by org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
      extended by org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
Direct Known Subclasses:
AbstractAuthorizedRestResource, BatchRestServiceImpl, CaseDefinitionRestServiceImpl, CaseExecutionRestServiceImpl, CaseInstanceRestServiceImpl, DecisionDefinitionRestServiceImpl, DecisionRequirementsDefinitionRestServiceImpl, DeploymentResourceImpl, DeploymentRestServiceImpl, ExecutionRestServiceImpl, ExternalTaskRestServiceImpl, HistoryRestServiceImpl, IdentityRestServiceImpl, IncidentRestServiceImpl, JobDefinitionRestServiceImpl, JobRestServiceImpl, MessageRestServiceImpl, MetricsRestServiceImpl, MigrationRestServiceImpl, ProcessDefinitionRestServiceImpl, ProcessInstanceRestServiceImpl, TaskRestServiceImpl, VariableInstanceRestServiceImpl

public abstract class AbstractRestProcessEngineAware
extends AbstractProcessEngineAware


Field Summary
protected  com.fasterxml.jackson.databind.ObjectMapper objectMapper
           
protected  String relativeRootResourcePath
           
 
Fields inherited from class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
 
Constructor Summary
AbstractRestProcessEngineAware(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Method Summary
protected  com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
           
protected  ProcessEngine getProcessEngine()
           
 void setRelativeRootResourceUri(String relativeRootResourcePath)
          Override the root resource path, if this resource is a sub-resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectMapper

protected com.fasterxml.jackson.databind.ObjectMapper objectMapper

relativeRootResourcePath

protected String relativeRootResourcePath
Constructor Detail

AbstractRestProcessEngineAware

public AbstractRestProcessEngineAware(String engineName,
                                      com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Method Detail

getProcessEngine

protected ProcessEngine getProcessEngine()

setRelativeRootResourceUri

public void setRelativeRootResourceUri(String relativeRootResourcePath)
Override the root resource path, if this resource is a sub-resource. The relative root resource path is used for generation of links to resources in results.

Parameters:
relativeRootResourcePath -

getObjectMapper

protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()


Copyright © 2016 camunda services GmbH. All rights reserved.