Class PolicyDefinitionDeployer
java.lang.Object
com.flowable.policy.engine.impl.deployer.PolicyDefinitionDeployer
- All Implemented Interfaces:
EngineDeployer
- Author:
- Tijs Rademakers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deploy
(EngineDeployment deployment, Map<String, Object> deploymentSettings) protected PolicyDefinitionEntity
getMostRecentVersionOfPolicyDefinition
(PolicyModel policyModel, String tenantId) protected PolicyDefinitionEntity
getPersistedInstanceOfPolicyDefinition
(String key, String deploymentId, String tenantId) protected void
updateCachingAndArtifacts
(PolicyDefinitionEntity policyDefinition, PolicyModel policyResourceModel, PolicyDeploymentEntity deployment)
-
Constructor Details
-
PolicyDefinitionDeployer
public PolicyDefinitionDeployer()
-
-
Method Details
-
deploy
- Specified by:
deploy
in interfaceEngineDeployer
-
getMostRecentVersionOfPolicyDefinition
protected PolicyDefinitionEntity getMostRecentVersionOfPolicyDefinition(PolicyModel policyModel, String tenantId) -
getPersistedInstanceOfPolicyDefinition
protected PolicyDefinitionEntity getPersistedInstanceOfPolicyDefinition(String key, String deploymentId, String tenantId) -
updateCachingAndArtifacts
protected void updateCachingAndArtifacts(PolicyDefinitionEntity policyDefinition, PolicyModel policyResourceModel, PolicyDeploymentEntity deployment)
-