public class DeploymentManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<org.flowable.bpmn.model.BpmnModel> |
bpmnModelCache |
protected List<Deployer> |
deployers |
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<Object> |
knowledgeBaseCache |
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<ProcessDefinitionCacheEntry> |
processDefinitionCache |
protected ProcessDefinitionInfoCache |
processDefinitionInfoCache |
| Constructor and Description |
|---|
DeploymentManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(DeploymentEntity deployment) |
void |
deploy(DeploymentEntity deployment,
Map<String,Object> deploymentSettings) |
ProcessDefinition |
findDeployedLatestProcessDefinitionByKey(String processDefinitionKey) |
ProcessDefinition |
findDeployedLatestProcessDefinitionByKeyAndTenantId(String processDefinitionKey,
String tenantId) |
ProcessDefinition |
findDeployedProcessDefinitionById(String processDefinitionId) |
ProcessDefinition |
findDeployedProcessDefinitionByKeyAndVersion(String processDefinitionKey,
Integer processDefinitionVersion) |
ProcessDefinitionEntity |
findProcessDefinitionByIdFromDatabase(String processDefinitionId) |
org.flowable.bpmn.model.BpmnModel |
getBpmnModelById(String processDefinitionId) |
org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<org.flowable.bpmn.model.BpmnModel> |
getBpmnModelCache() |
List<Deployer> |
getDeployers() |
org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<Object> |
getKnowledgeBaseCache() |
org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<ProcessDefinitionCacheEntry> |
getProcessDefinitionCache() |
ProcessDefinitionInfoCache |
getProcessDefinitionInfoCache() |
boolean |
isProcessDefinitionSuspended(String processDefinitionId) |
void |
removeDeployment(String deploymentId,
boolean cascade) |
ProcessDefinitionCacheEntry |
resolveProcessDefinition(ProcessDefinition processDefinition) |
void |
setBpmnModelCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<org.flowable.bpmn.model.BpmnModel> bpmnModelCache) |
void |
setDeployers(List<Deployer> deployers) |
void |
setKnowledgeBaseCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<Object> knowledgeBaseCache) |
void |
setProcessDefinitionCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<ProcessDefinitionCacheEntry> processDefinitionCache) |
void |
setProcessDefinitionInfoCache(ProcessDefinitionInfoCache processDefinitionInfoCache) |
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<ProcessDefinitionCacheEntry> processDefinitionCache
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<org.flowable.bpmn.model.BpmnModel> bpmnModelCache
protected ProcessDefinitionInfoCache processDefinitionInfoCache
protected org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<Object> knowledgeBaseCache
public void deploy(DeploymentEntity deployment)
public void deploy(DeploymentEntity deployment, Map<String,Object> deploymentSettings)
public ProcessDefinition findDeployedProcessDefinitionById(String processDefinitionId)
public ProcessDefinitionEntity findProcessDefinitionByIdFromDatabase(String processDefinitionId)
public boolean isProcessDefinitionSuspended(String processDefinitionId)
public org.flowable.bpmn.model.BpmnModel getBpmnModelById(String processDefinitionId)
public ProcessDefinition findDeployedLatestProcessDefinitionByKey(String processDefinitionKey)
public ProcessDefinition findDeployedLatestProcessDefinitionByKeyAndTenantId(String processDefinitionKey, String tenantId)
public ProcessDefinition findDeployedProcessDefinitionByKeyAndVersion(String processDefinitionKey, Integer processDefinitionVersion)
public ProcessDefinitionCacheEntry resolveProcessDefinition(ProcessDefinition processDefinition)
public void removeDeployment(String deploymentId, boolean cascade)
public org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<ProcessDefinitionCacheEntry> getProcessDefinitionCache()
public void setProcessDefinitionCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<ProcessDefinitionCacheEntry> processDefinitionCache)
public org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<org.flowable.bpmn.model.BpmnModel> getBpmnModelCache()
public void setBpmnModelCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<org.flowable.bpmn.model.BpmnModel> bpmnModelCache)
public ProcessDefinitionInfoCache getProcessDefinitionInfoCache()
public void setProcessDefinitionInfoCache(ProcessDefinitionInfoCache processDefinitionInfoCache)
public org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<Object> getKnowledgeBaseCache()
public void setKnowledgeBaseCache(org.flowable.common.engine.impl.persistence.deploy.DeploymentCache<Object> knowledgeBaseCache)
Copyright © 2018 Flowable. All rights reserved.