public class DefaultDmnDefinitionAutoDeployer 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  | 
static String | 
DEFAULT_DEPLOYMENT_NAME  | 
static int | 
DEFAULT_ORDER  | 
protected String | 
deploymentName  | 
protected org.flowable.dmn.api.DmnEngineConfigurationApi | 
dmnEngineConfiguration  | 
protected org.springframework.core.io.Resource[] | 
dmnResources  | 
protected int | 
order  | 
| Constructor and Description | 
|---|
DefaultDmnDefinitionAutoDeployer(org.springframework.core.io.Resource[] dmnResources,
                                org.flowable.dmn.api.DmnEngineConfigurationApi dmnEngineConfiguration,
                                Set<String> autoDeployTenants)  | 
DefaultDmnDefinitionAutoDeployer(org.springframework.core.io.Resource[] dmnResources,
                                org.flowable.dmn.api.DmnEngineConfigurationApi dmnEngineConfiguration,
                                String deploymentName,
                                Set<String> autoDeployTenants)  | 
| Modifier and Type | Method and Description | 
|---|---|
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[] dmnResources
protected org.flowable.dmn.api.DmnEngineConfigurationApi dmnEngineConfiguration
protected String deploymentName
protected int order
public DefaultDmnDefinitionAutoDeployer(org.springframework.core.io.Resource[] dmnResources,
                                        org.flowable.dmn.api.DmnEngineConfigurationApi dmnEngineConfiguration,
                                        Set<String> autoDeployTenants)
dmnResources - the resources that should be deployeddmnEngineConfiguration - 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 DefaultDmnDefinitionAutoDeployer(org.springframework.core.io.Resource[] dmnResources,
                                        org.flowable.dmn.api.DmnEngineConfigurationApi dmnEngineConfiguration,
                                        String deploymentName,
                                        Set<String> autoDeployTenants)
dmnResources - the resources that should be deployeddmnEngineConfiguration - 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.Orderedpublic 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.