public class TenantConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TenantConfiguration.PropertyNames |
| Constructor and Description |
|---|
TenantConfiguration(int tenantID) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String key,
String value)
Adds the given property under the given property name.
|
String |
getFirstProperty(String key)
Returns the property for the given property name
|
String |
getFirstPropertyAsString(String key) |
List<String> |
getProperties(String key) |
int |
getTenantID()
Returns the tenant ID which the configurations belong to.
|
void |
populate(String configResourcePath,
org.wso2.carbon.registry.api.Registry registry)
Populates the properties using the configuration file in the given registry location.
|
public void populate(String configResourcePath, org.wso2.carbon.registry.api.Registry registry)
configResourcePath - registry - public void addProperty(String key, String value)
key - value - public String getFirstProperty(String key)
key - public int getTenantID()
Copyright © 2017 WSO2. All rights reserved.