Class MultiTenantProperties
java.lang.Object
com.flowable.spring.boot.properties.MultiTenantProperties
@ConfigurationProperties(prefix="flowable.platform.multi-tenant")
public class MultiTenantProperties
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description MultiTenantProperties()
-
Method Summary
Modifier and Type Method Description java.util.Set<java.lang.String>
determineAutoDeployTenants()
Get the auto deploy tenants based on the mode.java.util.Set<java.lang.String>
getAutoDeployTenants()
boolean
isEnabled()
void
setAutoDeployTenants(java.util.Set<java.lang.String> autoDeployTenants)
void
setEnabled(boolean enabled)
-
Constructor Details
-
MultiTenantProperties
public MultiTenantProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getAutoDeployTenants
public java.util.Set<java.lang.String> getAutoDeployTenants() -
setAutoDeployTenants
public void setAutoDeployTenants(java.util.Set<java.lang.String> autoDeployTenants) -
determineAutoDeployTenants
public java.util.Set<java.lang.String> determineAutoDeployTenants()Get the auto deploy tenants based on the mode. If multi tenant mode is enabled then thegetAutoDeployTenants()
is returned, otherwiseCollections.emptySet()
is returned.- Returns:
- the tenants for auto deploy
-