public class DeploymentCache extends Object
Modifier and Type | Field and Description |
---|---|
protected List<Deployer> |
deployers |
protected Map<String,Object> |
knowledgeBaseCache |
protected Map<String,ProcessDefinitionEntity> |
processDefinitionCache |
Constructor and Description |
---|
DeploymentCache() |
protected Map<String,ProcessDefinitionEntity> processDefinitionCache
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 void addProcessDefinition(ProcessDefinitionEntity processDefinition)
public void removeProcessDefinition(String processDefinitionId)
public void removeKnowledgeBase(String knowledgeBaseId)
public void discardProcessDefinitionCache()
public void discardKnowledgeBaseCache()
public Map<String,ProcessDefinitionEntity> getProcessDefinitionCache()
public void setProcessDefinitionCache(Map<String,ProcessDefinitionEntity> processDefinitionCache)
public void removeDeployment(String deploymentId)
Copyright © 2015. All rights reserved.