public class DefaultCaseDefinitionAutoDeployer extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
autoDeployTenants |
protected org.flowable.cmmn.api.CmmnEngineConfigurationApi |
cmmnEngineConfiguration |
protected org.springframework.core.io.Resource[] |
cmmnResources |
static String |
DEFAULT_DEPLOYMENT_NAME |
static int |
DEFAULT_ORDER |
protected String |
deploymentName |
protected int |
order |
Constructor and Description |
---|
DefaultCaseDefinitionAutoDeployer(org.springframework.core.io.Resource[] cmmnResources,
org.flowable.cmmn.api.CmmnEngineConfigurationApi cmmnEngineConfiguration,
Set<String> autoDeployTenants) |
DefaultCaseDefinitionAutoDeployer(org.springframework.core.io.Resource[] cmmnResources,
org.flowable.cmmn.api.CmmnEngineConfigurationApi cmmnEngineConfiguration,
String deploymentName,
Set<String> autoDeployTenants) |
Modifier and Type | Method and Description |
---|---|
protected void |
addResources(org.springframework.core.io.Resource[] resources,
org.flowable.cmmn.api.repository.CmmnDeploymentBuilder deploymentBuilder) |
protected void |
deploy(String tenantId) |
int |
getOrder() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
void |
setOrder(int order) |
public static final String DEFAULT_DEPLOYMENT_NAME
public static final int DEFAULT_ORDER
protected org.springframework.core.io.Resource[] cmmnResources
protected org.flowable.cmmn.api.CmmnEngineConfigurationApi cmmnEngineConfiguration
protected String deploymentName
protected int order
public DefaultCaseDefinitionAutoDeployer(org.springframework.core.io.Resource[] cmmnResources, org.flowable.cmmn.api.CmmnEngineConfigurationApi cmmnEngineConfiguration, Set<String> autoDeployTenants)
cmmnResources
- the resources that should be deployedcmmnEngineConfiguration
- the engine configurationautoDeployTenants
- the tenants to which the auto deployment should be done (if empty then a single deployment is done without using tenant)public DefaultCaseDefinitionAutoDeployer(org.springframework.core.io.Resource[] cmmnResources, org.flowable.cmmn.api.CmmnEngineConfigurationApi cmmnEngineConfiguration, String deploymentName, Set<String> autoDeployTenants)
cmmnResources
- the resources that should be deployedcmmnEngineConfiguration
- the engine configurationdeploymentName
- the name of the deploymentautoDeployTenants
- the tenants to which the auto deployment should be done (if empty then a single deployment is done without using tenant)public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setOrder(int order)
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
protected void deploy(String tenantId)
Copyright © 2019. All rights reserved.