Class TenantInfo

java.lang.Object
com.axelor.db.tenants.TenantInfo

public class TenantInfo extends Object
  • Method Details

    • single

      public static TenantInfo single(String tenant)
    • multiple

      public static TenantInfo multiple(Map<String,String> tenants)
    • getHostTenant

      @Nullable public String getHostTenant()
      Gets the host-resolved tenant ID, if applicable.
      Returns:
      tenant ID or null
    • getTenants

      public Map<String,String> getTenants()
      Gets the map of tenant IDs to tenant names that are available.
      Returns:
      map of tenant IDs to tenant names