Class AppDeployer
java.lang.Object
com.flowable.app.engine.impl.deployer.AppDeployer
- All Implemented Interfaces:
EngineDeployer
- Author:
- Tijs Rademakers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AppDefinitionEntity
createNewAppDefinition
(String resourceName, CoreAppModel appResourceModel, EngineDeployment deployment, AppEngineConfiguration appEngineConfiguration) protected void
createNewPageDefinitions
(AppDefinitionEntity appDefinition, CoreAppModel appResourceModel, EngineDeployment deployment, AppEngineConfiguration appEngineConfiguration) protected void
createVariableValue
(String name, VariableType type, Object value, AppDefinitionEntity appDefinition, AppVariableEntityManager appVariableEntityManager) void
deploy
(EngineDeployment deployment, Map<String, Object> deploymentSettings) protected AppDefinitionEntity
getMostRecentVersionOfAppDefinition
(AppModel appModel, String tenantId) protected Map<String,
PageDefinitionEntity> getPageDefinitions
(String appDefinitionKey, String tenantId) protected AppDefinitionEntity
getPersistedInstanceOfAppDefinition
(String key, String deploymentId, String tenantId) protected void
processAppVariableNode
(com.fasterxml.jackson.databind.JsonNode variableNode, AppVariableEntity appVariableEntity, AppDefinitionEntity appDefinition, VariableTypes variableTypes, AppVariableEntityManager appVariableEntityManager) protected void
processAppVariableNodeForType
(String variableName, Object value, String typeName, AppVariableEntity appVariableEntity, AppDefinitionEntity appDefinition, VariableTypes variableTypes, AppVariableEntityManager appVariableEntityManager) protected void
processAppVariables
(AppDefinitionEntity appDefinition, CoreAppModel appResourceModel, AppEngineConfiguration appEngineConfiguration) protected void
updateCachingAndArtifacts
(AppDefinitionEntity appDefinition, CoreAppModel appResourceModel, AppDeploymentEntity deployment) protected void
updatePageDefinitionsInCache
(AppDefinitionEntity appDefinition, CoreAppModel appResourceModel, AppEngineConfiguration appEngineConfiguration) protected void
updateVariableValue
(AppVariableEntity appVariableEntity, Object value, AppDefinitionEntity appDefinition, AppVariableEntityManager appVariableEntityManager)
-
Constructor Details
-
AppDeployer
public AppDeployer()
-
-
Method Details
-
deploy
- Specified by:
deploy
in interfaceEngineDeployer
-
createNewAppDefinition
protected AppDefinitionEntity createNewAppDefinition(String resourceName, CoreAppModel appResourceModel, EngineDeployment deployment, AppEngineConfiguration appEngineConfiguration) -
createNewPageDefinitions
protected void createNewPageDefinitions(AppDefinitionEntity appDefinition, CoreAppModel appResourceModel, EngineDeployment deployment, AppEngineConfiguration appEngineConfiguration) -
updatePageDefinitionsInCache
protected void updatePageDefinitionsInCache(AppDefinitionEntity appDefinition, CoreAppModel appResourceModel, AppEngineConfiguration appEngineConfiguration) -
processAppVariables
protected void processAppVariables(AppDefinitionEntity appDefinition, CoreAppModel appResourceModel, AppEngineConfiguration appEngineConfiguration) -
processAppVariableNode
protected void processAppVariableNode(com.fasterxml.jackson.databind.JsonNode variableNode, AppVariableEntity appVariableEntity, AppDefinitionEntity appDefinition, VariableTypes variableTypes, AppVariableEntityManager appVariableEntityManager) -
processAppVariableNodeForType
protected void processAppVariableNodeForType(String variableName, Object value, String typeName, AppVariableEntity appVariableEntity, AppDefinitionEntity appDefinition, VariableTypes variableTypes, AppVariableEntityManager appVariableEntityManager) -
createVariableValue
protected void createVariableValue(String name, VariableType type, Object value, AppDefinitionEntity appDefinition, AppVariableEntityManager appVariableEntityManager) -
updateVariableValue
protected void updateVariableValue(AppVariableEntity appVariableEntity, Object value, AppDefinitionEntity appDefinition, AppVariableEntityManager appVariableEntityManager) -
getMostRecentVersionOfAppDefinition
protected AppDefinitionEntity getMostRecentVersionOfAppDefinition(AppModel appModel, String tenantId) -
getPersistedInstanceOfAppDefinition
protected AppDefinitionEntity getPersistedInstanceOfAppDefinition(String key, String deploymentId, String tenantId) -
updateCachingAndArtifacts
protected void updateCachingAndArtifacts(AppDefinitionEntity appDefinition, CoreAppModel appResourceModel, AppDeploymentEntity deployment) -
getPageDefinitions
protected Map<String,PageDefinitionEntity> getPageDefinitions(String appDefinitionKey, String tenantId)
-