@ExperimentalApi @Deprecated public interface TenantAccessor
| Modifier and Type | Method and Description |
|---|---|
<T> T |
asTenant(Tenant tenant,
Callable<T> call)
Deprecated.
|
Iterable<Tenant> |
getAvailableTenants()
Deprecated.
|
@Deprecated Iterable<Tenant> getAvailableTenants()
@Deprecated <T> T asTenant(Tenant tenant, Callable<T> call) throws TenantUnavailableException, InvocationTargetException
T - the expected return type of the calltenant - the tenant to execute the call on behalf ofcall - the Callable to executeInvocationTargetException - an exception was thrown by the provided CallableTenantUnavailableException - the operation could not be performed because the tenant is not currently
installed on the server. This may happen because a tenant has been uninstalled since the last call
to getAvailableTenants().UnexpectedTenantChangeException - the method was called from the context of an tenant other than
the one provided as a parameterCopyright © 2018 Atlassian. All rights reserved.