A C D F G I O P T U 

A

asTenant(Tenant, Callable<T>) - Method in interface com.atlassian.tenancy.api.TenantAccessor
Execute some code as a particular tenant.

C

com.atlassian.tenancy.api - package com.atlassian.tenancy.api
 
com.atlassian.tenancy.api.event - package com.atlassian.tenancy.api.event
 
com.atlassian.tenancy.api.helper - package com.atlassian.tenancy.api.helper
 

D

destroy() - Method in class com.atlassian.tenancy.api.helper.PerTenantInitialiser
 

F

Failure - Class in com.atlassian.tenancy.api.helper
Represents a failure of an operation on a tenant
Failure(Tenant, Exception) - Constructor for class com.atlassian.tenancy.api.helper.Failure
 
forEachTenant(TenantAccessor, Callable<T>) - Static method in class com.atlassian.tenancy.api.helper.TenantAccessors
 
forEachTenant(TenantAccessor, Runnable) - Static method in class com.atlassian.tenancy.api.helper.TenantAccessors
 

G

getAvailableTenants() - Method in interface com.atlassian.tenancy.api.TenantAccessor
Retrieve the tenants currently installed on this server.
getCurrentTenant() - Method in interface com.atlassian.tenancy.api.TenantContext
Retrieve the current tenant, if there is one
getException() - Method in class com.atlassian.tenancy.api.helper.Failure
 
getTenant() - Method in class com.atlassian.tenancy.api.event.TenantArrivedEvent
 
getTenant() - Method in class com.atlassian.tenancy.api.helper.Failure
 

I

init() - Method in class com.atlassian.tenancy.api.helper.PerTenantInitialiser
 

O

onTenantArrived(TenantArrivedEvent) - Method in class com.atlassian.tenancy.api.helper.PerTenantInitialiser
 

P

PerTenantInitialiser - Class in com.atlassian.tenancy.api.helper
Helper class for doing per-tenant initialisation the simplest way possible.
PerTenantInitialiser(EventPublisher, TenantAccessor, Runnable) - Constructor for class com.atlassian.tenancy.api.helper.PerTenantInitialiser
 

T

Tenant - Interface in com.atlassian.tenancy.api
Unique identifier for a tenant on the server.
TenantAccessor - Interface in com.atlassian.tenancy.api
Service for explicitly interacting with a server's tenants.
TenantAccessors - Class in com.atlassian.tenancy.api.helper
Helper methods for performing bulk actions on tenants.
TenantArrivedEvent - Class in com.atlassian.tenancy.api.event
Event that is published whenever a new tenant is installed on the instance.
TenantArrivedEvent(Tenant) - Constructor for class com.atlassian.tenancy.api.event.TenantArrivedEvent
 
TenantContext - Interface in com.atlassian.tenancy.api
Service for retrieving the tenant (if any) in the context of the application.
TenantUnavailableException - Exception in com.atlassian.tenancy.api
Thrown when an operation is being performed for a tenant that is not, or is no longer installed on the current server.
TenantUnavailableException() - Constructor for exception com.atlassian.tenancy.api.TenantUnavailableException
 

U

UnexpectedTenantChangeException - Exception in com.atlassian.tenancy.api
Thrown when code that is already in one tenant context tries to execute on behalf of another tenant
UnexpectedTenantChangeException() - Constructor for exception com.atlassian.tenancy.api.UnexpectedTenantChangeException
 
A C D F G I O P T U 

Copyright © 2014 Atlassian. All rights reserved.