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
FieldsFields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger -
Constructor Summary
ConstructorsConstructorDescriptionDefaultPlatformAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcollectDeploymentResources(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 voiddeploy(String deploymentName, Collection<Resource> queryResources, Collection<Resource> variableExtractorResources, Collection<Resource> dashboardComponentResources, Collection<Resource> legacyQueryResources, Collection<Resource> legacyVariableExtractorResources, PlatformRepositoryService platformRepositoryService, String tenantId) protected voiddeployResourcesInternal(String deploymentNameHint, Resource[] resources, PlatformEngine engine) protected Stringprotected booleanisDashboardComponentDefinitionResource(String resourceName) protected booleanisLegacyResource(String resourceName) protected booleanisQueryDefinitionResource(String resourceName) protected booleanisVariableExtractorDefinitionResource(String resourceName) transformLegacyQueryResourceName(Resource legacyResource) transformLegacyVariableExtractorResourceName(Resource legacyResource) Methods inherited from class com.flowable.platform.engine.autodeployment.AbstractPlatformAutoDeploymentStrategy
addResource, addResource, getLockManagerMethods 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:
getDeploymentModein classCommonAutoDeploymentStrategy<PlatformEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, PlatformEngine engine) - Specified by:
deployResourcesInternalin 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
-