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