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,
TenantPluginBridge tenantPluginBridge,
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, TenantPluginBridge tenantPluginBridge, TimeZoneService timeZoneService, JiraProperties jiraProperties)
public void acceptTenant(String tenantId) throws com.atlassian.plugins.landlord.spi.LandlordRequestException
acceptTenant
in interface com.atlassian.plugins.landlord.spi.LandlordRequests
com.atlassian.plugins.landlord.spi.LandlordRequestException
public void acceptTenant(String tenantId, Map<String,String> tenantProperties) throws com.atlassian.plugins.landlord.spi.LandlordRequestException
acceptTenant
in interface com.atlassian.plugins.landlord.spi.LandlordRequests
com.atlassian.plugins.landlord.spi.LandlordRequestException
public void removeTenant(String tenantId) throws com.atlassian.plugins.landlord.spi.LandlordRequestException
removeTenant
in interface com.atlassian.plugins.landlord.spi.LandlordRequests
com.atlassian.plugins.landlord.spi.LandlordRequestException
public List<String> getTenants()
getTenants
in interface com.atlassian.plugins.landlord.spi.LandlordRequests
public void registerTenantInitialDataLoader(TenantInitialDataLoader tenantInitialDataLoader)
registerTenantInitialDataLoader
in interface TenantSetupRegistrar
public void unregisterTenantInitialDataLoader(TenantInitialDataLoader tenantInitialDataLoader)
unregisterTenantInitialDataLoader
in interface TenantSetupRegistrar
public void unregisterAll()
unregisterAll
in interface TenantSetupRegistrar
Copyright © 2002-2015 Atlassian. All Rights Reserved.