public class TenantInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TENANT_WEBROOT_CONFIG_REGEXP_PATTERN
RegExp pattern to lookup tenant web root mapping config paramerers.
|
| Constructor and Description |
|---|
TenantInfo(String tenantId,
Map<String,String> tenantProperties) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExtensionForWebroot(String webroot) |
String |
getTenantId() |
Properties |
getTenantProperties() |
String |
getWebMapping(String extName)
Retrieves the web mapping for the extension starting with slash("/").
|
boolean |
isWebrootOwner(String webroot) |
public static final String TENANT_WEBROOT_CONFIG_REGEXP_PATTERN
public String getTenantId()
public Properties getTenantProperties()
public String getWebMapping(String extName)
hmc.webroot=/hmc_junit hac.webroot=hac_junitso the web mapping for hmc is /hmc_junit, and for hac is /hac_junit.
extName - name of the extensionpublic boolean isWebrootOwner(String webroot)
Copyright © 2017 SAP SE. All Rights Reserved.