public class DefaultLandlordRequests extends Object implements com.atlassian.plugins.landlord.spi.LandlordRequests, TenantSetupRegistrar
| Constructor and Description |
|---|
DefaultLandlordRequests(com.atlassian.event.api.EventPublisher eventPublisher,
JiraTenantAccessor jiraTenantAccessor,
TenantManager tenantManager,
TimeZoneService timeZoneService,
JiraProperties jiraProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptTenant(String tenantId) |
void |
acceptTenant(String tenantId,
Map<String,String> tenantProperties) |
List<String> |
getTenants() |
void |
registerTenantInitialDataLoader(TenantInitialDataLoader tenantInitialDataLoader) |
void |
removeTenant(String tenantId) |
void |
unregisterAll() |
void |
unregisterTenantInitialDataLoader(TenantInitialDataLoader tenantInitialDataLoader) |
public DefaultLandlordRequests(com.atlassian.event.api.EventPublisher eventPublisher,
JiraTenantAccessor jiraTenantAccessor,
TenantManager tenantManager,
TimeZoneService timeZoneService,
JiraProperties jiraProperties)
public void acceptTenant(String tenantId) throws com.atlassian.plugins.landlord.spi.LandlordRequestException
acceptTenant in interface com.atlassian.plugins.landlord.spi.LandlordRequestscom.atlassian.plugins.landlord.spi.LandlordRequestExceptionpublic void acceptTenant(String tenantId, Map<String,String> tenantProperties) throws com.atlassian.plugins.landlord.spi.LandlordRequestException
acceptTenant in interface com.atlassian.plugins.landlord.spi.LandlordRequestscom.atlassian.plugins.landlord.spi.LandlordRequestExceptionpublic void removeTenant(String tenantId) throws com.atlassian.plugins.landlord.spi.LandlordRequestException
removeTenant in interface com.atlassian.plugins.landlord.spi.LandlordRequestscom.atlassian.plugins.landlord.spi.LandlordRequestExceptionpublic List<String> getTenants()
getTenants in interface com.atlassian.plugins.landlord.spi.LandlordRequestspublic void registerTenantInitialDataLoader(TenantInitialDataLoader tenantInitialDataLoader)
registerTenantInitialDataLoader in interface TenantSetupRegistrarpublic void unregisterTenantInitialDataLoader(TenantInitialDataLoader tenantInitialDataLoader)
unregisterTenantInitialDataLoader in interface TenantSetupRegistrarpublic void unregisterAll()
unregisterAll in interface TenantSetupRegistrarCopyright © 2002-2017 Atlassian. All Rights Reserved.