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