public class SystemTenant extends Object implements com.atlassian.tenancy.api.Tenant
This class should be considered a temporary solution on the way to multi-tenancy. It replays the system tenant
during the bootstrap container initialisation in case of a tenanted system and will be called by transitionFromVacantToTenantedState
at the end of the web-based setup in case of a previously vacant system.
Constructor and Description |
---|
SystemTenant(TenantRegistry tenantRegistry) |
SystemTenant(TenantRegistry tenantRegistry,
com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager)
Deprecated.
since 5.9 Use
SystemTenant(TenantRegistry) |
Modifier and Type | Method and Description |
---|---|
boolean |
arrived()
Signal that the system tenant has arrived, typically done after the
AtlassianBootstrapManager.setSetupComplete(boolean)
has been called. |
com.atlassian.fugue.Option<com.atlassian.tenancy.api.Tenant> |
get()
Deprecated.
since 7.0.1. Use
getTenant() |
Optional<com.atlassian.tenancy.api.Tenant> |
getTenant() |
String |
name() |
@Deprecated public SystemTenant(TenantRegistry tenantRegistry, com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager)
SystemTenant(TenantRegistry)
public SystemTenant(TenantRegistry tenantRegistry)
public String name()
name
in interface com.atlassian.tenancy.api.Tenant
@Deprecated public com.atlassian.fugue.Option<com.atlassian.tenancy.api.Tenant> get()
getTenant()
public Optional<com.atlassian.tenancy.api.Tenant> getTenant()
public boolean arrived()
AtlassianBootstrapManager.setSetupComplete(boolean)
has been called.getTenant()
Copyright © 2003–2023 Atlassian. All rights reserved.