org.camunda.bpm.engine.impl.persistence.deploy
Class DeploymentCache
java.lang.Object
org.camunda.bpm.engine.impl.persistence.deploy.DeploymentCache
public class DeploymentCache
- extends Object
- Author:
- Tom Baeyens, Falko Menge
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
processDefinitionCache
protected Map<String,ProcessDefinitionEntity> processDefinitionCache
knowledgeBaseCache
protected Map<String,Object> knowledgeBaseCache
deployers
protected List<Deployer> deployers
DeploymentCache
public DeploymentCache()
deploy
public void deploy(DeploymentEntity deployment)
findDeployedProcessDefinitionById
public ProcessDefinitionEntity findDeployedProcessDefinitionById(String processDefinitionId)
findDeployedLatestProcessDefinitionByKey
public ProcessDefinitionEntity findDeployedLatestProcessDefinitionByKey(String processDefinitionKey)
findDeployedProcessDefinitionByKeyAndVersion
public ProcessDefinitionEntity findDeployedProcessDefinitionByKeyAndVersion(String processDefinitionKey,
Integer processDefinitionVersion)
findDeployedProcessDefinitionByDeploymentAndKey
public ProcessDefinitionEntity findDeployedProcessDefinitionByDeploymentAndKey(String deploymentId,
String processDefinitionKey)
resolveProcessDefinition
public ProcessDefinitionEntity resolveProcessDefinition(ProcessDefinitionEntity processDefinition)
addProcessDefinition
public void addProcessDefinition(ProcessDefinitionEntity processDefinition)
removeProcessDefinition
public void removeProcessDefinition(String processDefinitionId)
addKnowledgeBase
public void addKnowledgeBase(String knowledgeBaseId,
Object knowledgeBase)
removeKnowledgeBase
public void removeKnowledgeBase(String knowledgeBaseId)
discardProcessDefinitionCache
public void discardProcessDefinitionCache()
discardKnowledgeBaseCache
public void discardKnowledgeBaseCache()
getProcessDefinitionCache
public Map<String,ProcessDefinitionEntity> getProcessDefinitionCache()
setProcessDefinitionCache
public void setProcessDefinitionCache(Map<String,ProcessDefinitionEntity> processDefinitionCache)
getKnowledgeBaseCache
public Map<String,Object> getKnowledgeBaseCache()
setKnowledgeBaseCache
public void setKnowledgeBaseCache(Map<String,Object> knowledgeBaseCache)
getDeployers
public List<Deployer> getDeployers()
setDeployers
public void setDeployers(List<Deployer> deployers)
removeDeployment
public void removeDeployment(String deploymentId)
Copyright © 2014 camunda services GmbH. All Rights Reserved.