Package com.atlassian.confluence.tenant
Class SystemTenant
java.lang.Object
com.atlassian.confluence.tenant.SystemTenant
- All Implemented Interfaces:
com.atlassian.tenancy.api.Tenant
@Deprecated(forRemoval=true)
public class SystemTenant
extends Object
implements com.atlassian.tenancy.api.Tenant
Deprecated, for removal: This API element is subject to removal in a future version.
since 8.6
Holder for the system 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.
- Since:
- 5.6
-
Constructor Summary
ConstructorsConstructorDescriptionSystemTenant
(TenantRegistry tenantRegistry) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionboolean
arrived()
Deprecated, for removal: This API element is subject to removal in a future version.Signal that the system tenant has arrived, typically done after theAtlassianBootstrapManager.setSetupComplete(boolean)
has been called.com.atlassian.fugue.Option<com.atlassian.tenancy.api.Tenant>
get()
Deprecated.since 7.0.1.Optional<com.atlassian.tenancy.api.Tenant>
Deprecated, for removal: This API element is subject to removal in a future version.name()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
SystemTenant
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
name
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
name
in interfacecom.atlassian.tenancy.api.Tenant
-
get
Deprecated.since 7.0.1. UsegetTenant()
- Returns:
- the system tenant, only if it is currently contained in the registry
-
getTenant
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the system tenant, only if it is currently contained in the registry
- Since:
- 7.0.1
-
arrived
public boolean arrived()Deprecated, for removal: This API element is subject to removal in a future version.Signal that the system tenant has arrived, typically done after theAtlassianBootstrapManager.setSetupComplete(boolean)
has been called.- Returns:
- true only if the system tenant was added due to this call
- See Also:
-