ballerina.config package
public function getGlobalValue ( string property ) ( string )
Retrieve the specified global configuration value
Parameter Name | Data Type | Description |
---|---|---|
property | string | The configuration to be retrieved |
Return Variable | Data Type | Description |
---|---|---|
string | Configuration value of property |
public function getInstanceValue ( string instanceId , string property ) ( string )
Retrieve the specified configuration value for the named instance
Parameter Name | Data Type | Description |
---|---|---|
instanceId | string | The ID of the instance |
property | string | The configuration to be retrieved |
Return Variable | Data Type | Description |
---|---|---|
string | Configuration value of the property of the instance denoted by instanceId |