@ExperimentalSpi
public interface LandlordRequests
| Modifier and Type | Method and Description |
|---|---|
void |
acceptTenant(String tenantId)
Deprecated.
this should be implemented to have the effect of
acceptTenant(String, Map) with second parameter empty. |
void |
acceptTenant(String tenantId,
Map<String,String> tenantProperties)
This method will be called by the landlord service when a new tenant is required to be accepted by the
application.
|
List<String> |
getTenants()
This method will be called by the landlord service to determine what tenants
have been accepted by the application
|
void |
removeTenant(String tenantId)
This method will be called by the landlord service when a new tenant is required to be removed from the
application.
|
void acceptTenant(String tenantId) throws LandlordRequestException
acceptTenant(String, Map) with second parameter empty.tenantId - this is currently represented by the baseurl for the tenantLandlordRequestExceptionvoid acceptTenant(String tenantId, Map<String,String> tenantProperties) throws LandlordRequestException
TenantArrivedEvent).tenantId - this is currently represented by the baseurl for the tenanttenantProperties - additional tenant configuration propertiesLandlordRequestExceptionvoid removeTenant(String tenantId) throws LandlordRequestException
tenantId - this is currently represented by the baseurl for the tenantLandlordRequestExceptionCopyright © 2022 Atlassian. All rights reserved.