@ConfigurationProperties(value="micronaut.multitenancy.tenantresolver.fixed") public class FixedTenantResolverConfigurationProperties extends java.lang.Object implements FixedTenantResolverConfiguration
ConfigurationProperties
implementation of FixedTenantResolverConfiguration
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLE
The default enable value.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
FixedTenantResolverConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTenantId()
Returns the fixed Tenant ID.
|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables
FixedTenantResolver . |
void |
setTenantId(java.lang.String tenantId)
The fixed tenant ID.
|
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLE
public FixedTenantResolverConfigurationProperties()
public void setTenantId(java.lang.String tenantId)
tenantId
- the fixed Tenant ID.public java.lang.String getTenantId()
FixedTenantResolverConfiguration
getTenantId
in interface FixedTenantResolverConfiguration
public boolean isEnabled()
isEnabled
in interface Toggleable
public void setEnabled(boolean enabled)
FixedTenantResolver
. Default value (false).enabled
- true or false