Class DefaultPlatformAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<PlatformEngine>
com.flowable.platform.engine.autodeployment.AbstractPlatformAutoDeploymentStrategy
com.flowable.platform.engine.autodeployment.DefaultPlatformAutoDeploymentStrategy
- All Implemented Interfaces:
AutoDeploymentStrategy<PlatformEngine>
- Author:
- Yvo Swillens
-
Field Summary
Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger
-
Constructor Summary
ConstructorDescriptionDefaultPlatformAutoDeploymentStrategy
(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
collectDeploymentResources
(QueryResourceConverter queryResourceConverter, VariableExtractorResourceConverter variableExtractorResourceConverter, DashboardComponentResourceConverter dashboardComponentResourceConverter, Resource[] resources, Map<String, Resource> queryKeyMap, Map<String, Resource> variableExtractorKeyMap, Map<String, Resource> dashboardComponentMap, Map<String, Resource> legacyQueryKeyMap, Map<String, Resource> legacyVariableExtractorKeyMap, com.fasterxml.jackson.databind.ObjectMapper objectMapper) protected void
deploy
(String deploymentName, Collection<Resource> queryResources, Collection<Resource> variableExtractorResources, Collection<Resource> dashboardComponentResources, Collection<Resource> legacyQueryResources, Collection<Resource> legacyVariableExtractorResources, PlatformRepositoryService platformRepositoryService, String tenantId) protected void
deployResourcesInternal
(String deploymentNameHint, Resource[] resources, PlatformEngine engine) protected String
protected boolean
isDashboardComponentDefinitionResource
(String resourceName) protected boolean
isLegacyResource
(String resourceName) protected boolean
isQueryDefinitionResource
(String resourceName) protected boolean
isVariableExtractorDefinitionResource
(String resourceName) transformLegacyQueryResourceName
(Resource legacyResource) transformLegacyVariableExtractorResourceName
(Resource legacyResource) Methods inherited from class com.flowable.platform.engine.autodeployment.AbstractPlatformAutoDeploymentStrategy
addResource, addResource, getLockManager
Methods inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentProperties
-
Field Details
-
DEPLOYMENT_MODE
The deployment mode this strategy handles.- See Also:
-
autoDeployTenants
-
-
Constructor Details
-
DefaultPlatformAutoDeploymentStrategy
public DefaultPlatformAutoDeploymentStrategy() -
DefaultPlatformAutoDeploymentStrategy
public DefaultPlatformAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
-
-
Method Details
-
getDeploymentMode
- Specified by:
getDeploymentMode
in classCommonAutoDeploymentStrategy<PlatformEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, PlatformEngine engine) - Specified by:
deployResourcesInternal
in classCommonAutoDeploymentStrategy<PlatformEngine>
-
deploy
protected void deploy(String deploymentName, Collection<Resource> queryResources, Collection<Resource> variableExtractorResources, Collection<Resource> dashboardComponentResources, Collection<Resource> legacyQueryResources, Collection<Resource> legacyVariableExtractorResources, PlatformRepositoryService platformRepositoryService, String tenantId) -
collectDeploymentResources
protected void collectDeploymentResources(QueryResourceConverter queryResourceConverter, VariableExtractorResourceConverter variableExtractorResourceConverter, DashboardComponentResourceConverter dashboardComponentResourceConverter, Resource[] resources, Map<String, Resource> queryKeyMap, Map<String, Resource> variableExtractorKeyMap, Map<String, Resource> dashboardComponentMap, Map<String, Resource> legacyQueryKeyMap, Map<String, Resource> legacyVariableExtractorKeyMap, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
transformLegacyQueryResourceName
-
transformLegacyVariableExtractorResourceName
-
isQueryDefinitionResource
-
isVariableExtractorDefinitionResource
-
isDashboardComponentDefinitionResource
-
isLegacyResource
-