Class DeploymentManager
java.lang.Object
org.flowable.dmn.engine.impl.persistence.deploy.DeploymentManager
- Author:
- Tijs Rademakers, Joram Barrez, Yvo Swillens
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DeploymentCache<DecisionCacheEntry>
protected DecisionEntityManager
protected DmnDeploymentEntityManager
protected DmnEngineConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionDeploymentManager
(DeploymentCache<DecisionCacheEntry> decisionCache, DmnEngineConfiguration engineConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deploy
(DmnDeploymentEntity deployment) void
deploy
(DmnDeploymentEntity deployment, Map<String, Object> deploymentSettings) findDeployedDecisionById
(String decisionId) findDeployedDefinitionByKeyAndVersionAndTenantId
(String definitionKey, int definitionVersion, String tenantId) findDeployedLatestDecisionByKeyAndDeploymentId
(String definitionKey, String deploymentId) findDeployedLatestDecisionByKeyDeploymentIdAndTenantId
(String definitionKey, String deploymentId, String tenantId) findDeployedLatestDefinitionByKey
(String definitionKey) findDeployedLatestDefinitionByKeyAndTenantId
(String definitionKey, String tenantId) void
removeDeployment
(String deploymentId) resolveDecision
(DmnDecision decision) Resolving the decision will fetch the DMN, parse it and store theDmnDefinition
in memory.void
setDecisionCache
(DeploymentCache<DecisionCacheEntry> decisionCache) void
setDecisionEntityManager
(DecisionEntityManager decisionEntityManager) void
setDeployers
(List<Deployer> deployers) void
setDeploymentEntityManager
(DmnDeploymentEntityManager deploymentEntityManager)
-
Field Details
-
engineConfig
-
decisionCache
-
deployers
-
decisionEntityManager
-
deploymentEntityManager
-
-
Constructor Details
-
DeploymentManager
public DeploymentManager(DeploymentCache<DecisionCacheEntry> decisionCache, DmnEngineConfiguration engineConfig)
-
-
Method Details
-
deploy
-
deploy
-
findDeployedDecisionById
-
findDeployedLatestDefinitionByKey
-
findDeployedLatestDefinitionByKeyAndTenantId
public DecisionEntity findDeployedLatestDefinitionByKeyAndTenantId(String definitionKey, String tenantId) -
findDeployedLatestDecisionByKeyAndDeploymentId
public DecisionEntity findDeployedLatestDecisionByKeyAndDeploymentId(String definitionKey, String deploymentId) -
findDeployedLatestDecisionByKeyDeploymentIdAndTenantId
public DecisionEntity findDeployedLatestDecisionByKeyDeploymentIdAndTenantId(String definitionKey, String deploymentId, String tenantId) -
findDeployedDefinitionByKeyAndVersionAndTenantId
public DecisionEntity findDeployedDefinitionByKeyAndVersionAndTenantId(String definitionKey, int definitionVersion, String tenantId) -
resolveDecision
Resolving the decision will fetch the DMN, parse it and store theDmnDefinition
in memory. -
removeDeployment
-
getDeployers
-
setDeployers
-
getDecisionCache
-
setDecisionCache
-
getDecisionEntityManager
-
setDecisionEntityManager
-
getDeploymentEntityManager
-
setDeploymentEntityManager
-