@ConfigurationProperties(value="micronaut.multitenancy.tenantresolver.systemproperty") public class SystemPropertyTenantResolverConfigurationProperties extends java.lang.Object implements SystemPropertyTenantResolverConfiguration
ConfigurationProperties properties implementation of SystemPropertyTenantResolverConfiguration.| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ENABLE
The default enable value.
|
static java.lang.String |
DEFAULT_SYSTEM_PROPERTY_NAME |
static java.lang.String |
PREFIX |
| Constructor and Description |
|---|
SystemPropertyTenantResolverConfigurationProperties() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSystemPropertyName() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enable
SystemPropertyTenantResolver. |
void |
setPropertyName(java.lang.String propertyName)
System property name.
|
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLE
public static final java.lang.String DEFAULT_SYSTEM_PROPERTY_NAME
public SystemPropertyTenantResolverConfigurationProperties()
public void setPropertyName(java.lang.String propertyName)
propertyName - System property name.public boolean isEnabled()
isEnabled in interface io.micronaut.core.util.Toggleablepublic void setEnabled(boolean enabled)
SystemPropertyTenantResolver. Default value (false).enabled - true or falsepublic java.lang.String getSystemPropertyName()
getSystemPropertyName in interface SystemPropertyTenantResolverConfiguration