Ballerina API Documentation

Functions of ballerina.config package

public function getGlobalValue(string property) (string)

Retrieve the specified global configuration value

Parameters:

Parameter NameData TypeDescription
propertystringThe configuration to be retrieved

Return Parameters:

Return VariableData TypeDescription
stringConfiguration value of property

public function getInstanceValue(string instanceId, string property) (string)

Retrieve the specified configuration value for the named instance

Parameters:

Parameter NameData TypeDescription
instanceIdstringThe ID of the instance
propertystringThe configuration to be retrieved

Return Parameters:

Return VariableData TypeDescription
stringConfiguration value of the property of the instance denoted by instanceId


Menu

  • Functions
    • getGlobalValue(string property) (string )
    • getInstanceValue(string instanceId, string property) (string )

Copyright 2017 Ballerina API Documentation