Interface TenantRegistry

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean addTenant​(com.atlassian.tenancy.api.Tenant tenant)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      default boolean hasTenant()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean isRegistryVacant()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean isTenantRegistered​(com.atlassian.tenancy.api.Tenant tenant)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean removeTenant​(com.atlassian.tenancy.api.Tenant tenant)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Detail

      • addTenant

        boolean addTenant​(com.atlassian.tenancy.api.Tenant tenant)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        tenant - the tenant to add
        Returns:
        true if the tenant was added during this request, false if the registry already knew it
      • removeTenant

        boolean removeTenant​(com.atlassian.tenancy.api.Tenant tenant)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        tenant - the tenant to remove
        Returns:
        true if the tenant was removed, false if the registry didn't know about it
      • isTenantRegistered

        boolean isTenantRegistered​(com.atlassian.tenancy.api.Tenant tenant)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        tenant - the tenant to test for being registered
        Returns:
        true if the tenant is currently registered
      • isRegistryVacant

        boolean isRegistryVacant()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Returns:
        true if the registry currently has no tenants
      • hasTenant

        default boolean hasTenant()
        Deprecated, for removal: This API element is subject to removal in a future version.