public class DeploymentCache extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,BpmnModelInstance> |
bpmnModelInstanceCache |
protected List<Deployer> |
deployers |
protected Map<String,Object> |
knowledgeBaseCache |
protected Map<String,ProcessDefinitionEntity> |
processDefinitionCache |
Constructor and Description |
---|
DeploymentCache() |
protected Map<String,ProcessDefinitionEntity> processDefinitionCache
protected Map<String,BpmnModelInstance> bpmnModelInstanceCache
public void deploy(DeploymentEntity deployment)
public ProcessDefinitionEntity findDeployedProcessDefinitionById(String processDefinitionId)
public ProcessDefinitionEntity findDeployedLatestProcessDefinitionByKey(String processDefinitionKey)
public ProcessDefinitionEntity findDeployedProcessDefinitionByKeyAndVersion(String processDefinitionKey, Integer processDefinitionVersion)
public ProcessDefinitionEntity findDeployedProcessDefinitionByDeploymentAndKey(String deploymentId, String processDefinitionKey)
public ProcessDefinitionEntity resolveProcessDefinition(ProcessDefinitionEntity processDefinition)
public BpmnModelInstance findBpmnModelInstanceForProcessDefinition(ProcessDefinitionEntity processDefinitionEntity)
public BpmnModelInstance findBpmnModelInstanceForProcessDefinition(String processDefinitionId)
protected BpmnModelInstance loadAndCacheBpmnModelInstance(ProcessDefinitionEntity processDefinitionEntity)
public void addProcessDefinition(ProcessDefinitionEntity processDefinition)
public void removeProcessDefinition(String processDefinitionId)
public void removeKnowledgeBase(String knowledgeBaseId)
public void discardProcessDefinitionCache()
public void discardKnowledgeBaseCache()
public Map<String,BpmnModelInstance> getBpmnModelInstanceCache()
public Map<String,ProcessDefinitionEntity> getProcessDefinitionCache()
public void setProcessDefinitionCache(Map<String,ProcessDefinitionEntity> processDefinitionCache)
public void removeDeployment(String deploymentId)
Copyright © 2015. All rights reserved.