Class PolicyDeploymentManager
java.lang.Object
com.flowable.policy.engine.impl.deployer.PolicyDeploymentManager
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<EngineDeployer>
protected PolicyDeploymentEntityManager
protected DeploymentCache<PolicyDefinitionCacheEntry>
protected PolicyDefinitionEntityManager
protected PolicyEngineConfiguration
protected PolicyResourceEntityManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deploy
(EngineDeployment deployment) void
deploy
(EngineDeployment deployment, Map<String, Object> deploymentSettings) findDeployedLatestPolicyDefinitionByKey
(String policyDefinitionKey) findDeployedLatestPolicyDefinitionByKeyAndTenantId
(String policyDefinitionKey, String tenantId) findDeployedPolicyDefinitionById
(String policyDefinitionId) findDeployedPolicyDefinitionByKeyAndVersionAndTenantId
(String policyDefinitionKey, Integer policyDefinitionVersion, String tenantId) void
removeDeployment
(String deploymentId) void
removeDeployment
(String deploymentId, boolean cascade) resolvePolicyDefinition
(PolicyDefinition policyDefinition) void
setDeployers
(List<EngineDeployer> deployers) void
setDeploymentEntityManager
(PolicyDeploymentEntityManager deploymentEntityManager) void
setPolicyDefinitionCache
(DeploymentCache<PolicyDefinitionCacheEntry> policyDefinitionCache) void
setPolicyDefinitionEntityManager
(PolicyDefinitionEntityManager policyDefinitionEntityManager) void
setPolicyEngineConfiguration
(PolicyEngineConfiguration policyEngineConfiguration) void
setResourceEntityManager
(PolicyResourceEntityManager resourceEntityManager)
-
Field Details
-
policyDefinitionCache
-
deployers
-
policyEngineConfiguration
-
deploymentEntityManager
-
resourceEntityManager
-
policyDefinitionEntityManager
-
-
Constructor Details
-
PolicyDeploymentManager
public PolicyDeploymentManager()
-
-
Method Details
-
deploy
-
deploy
-
findDeployedPolicyDefinitionById
-
findDeployedLatestPolicyDefinitionByKey
-
findDeployedLatestPolicyDefinitionByKeyAndTenantId
public PolicyDefinition findDeployedLatestPolicyDefinitionByKeyAndTenantId(String policyDefinitionKey, String tenantId) -
findDeployedPolicyDefinitionByKeyAndVersionAndTenantId
public PolicyDefinition findDeployedPolicyDefinitionByKeyAndVersionAndTenantId(String policyDefinitionKey, Integer policyDefinitionVersion, String tenantId) -
resolvePolicyDefinition
-
removeDeployment
-
removeDeployment
-
getDeployers
-
setDeployers
-
getPolicyDefinitionCache
-
setPolicyDefinitionCache
public void setPolicyDefinitionCache(DeploymentCache<PolicyDefinitionCacheEntry> policyDefinitionCache) -
getPolicyEngineConfiguration
-
setPolicyEngineConfiguration
-
getPolicyDefinitionEntityManager
-
setPolicyDefinitionEntityManager
public void setPolicyDefinitionEntityManager(PolicyDefinitionEntityManager policyDefinitionEntityManager) -
getDeploymentEntityManager
-
setDeploymentEntityManager
-
getResourceEntityManager
-
setResourceEntityManager
-