Skip navigation links
A B C D E G H I K O P R S 

A

addConfiguration(String, Object) - Method in class org.ballerinalang.bcl.parser.BConfig
 
addConfiguration(String, Object) - Method in class org.ballerinalang.config.ConfigRegistry
Add the specified key/value pair as a configuration entry.
addConfiguration(String, String, Object) - Method in class org.ballerinalang.config.ConfigRegistry
Add the specified key/value pair as a configuration entry.
addConfigurations(Map<String, Object>) - Method in class org.ballerinalang.bcl.parser.BConfig
 
addEncryptedConfiguration(String, String) - Method in class org.ballerinalang.config.ConfigRegistry
Encrypts the value before adding the specified key/value pair as a configuration entry.
addEncryptedConfiguration(String, String, String) - Method in class org.ballerinalang.config.ConfigRegistry
Encrypts the given value before adding the specified key/value pair as a configuration entry.
AESCipherTool - Class in org.ballerinalang.config.cipher
This tools is used to encrypt and decrypt data using AES Algorithm CBC mode and PKCS #5 padding.
AESCipherTool(String) - Constructor for class org.ballerinalang.config.cipher.AESCipherTool
Create an AESCipherTool instance by passing in a user secret string.
AESCipherTool(Path) - Constructor for class org.ballerinalang.config.cipher.AESCipherTool
Create an AESCipherTool instance by passing in the path of a file containing the user secret.
AESCipherToolException - Exception in org.ballerinalang.config.cipher
This exception is thrown when a security related error occurs.
AESCipherToolException(String) - Constructor for exception org.ballerinalang.config.cipher.AESCipherToolException
 
AESCipherToolException(String, Throwable) - Constructor for exception org.ballerinalang.config.cipher.AESCipherToolException
 

B

BConfig - Class in org.ballerinalang.bcl.parser
A wrapper for config entries map, so that existence of encrypted entries can also be tracked.
BConfig() - Constructor for class org.ballerinalang.bcl.parser.BConfig
 
BConfigLangListener - Class in org.ballerinalang.bcl.parser
A TOML parser listener implementation for parsing Ballerina config files.
BConfigLangListener(BConfig) - Constructor for class org.ballerinalang.bcl.parser.BConfigLangListener
 

C

ConfigProcessor - Class in org.ballerinalang.config
ConfigProcessor processes runtime, environment and config file configurations.
ConfigProcessor() - Constructor for class org.ballerinalang.config.ConfigProcessor
 
ConfigRegistry - Class in org.ballerinalang.config
ConfigRegistry caches configuration properties and provide API.
contains(String) - Method in class org.ballerinalang.config.ConfigRegistry
Checks whether the given key is present in the Config Registry.
contains(String, String) - Method in class org.ballerinalang.config.ConfigRegistry
Checks whether the given header/field combination is present in the Config Registry.

D

decrypt(String) - Method in class org.ballerinalang.config.cipher.AESCipherTool
This method is used to decrypt a given encrypted and base64 encoded value.

E

encrypt(String) - Method in class org.ballerinalang.config.cipher.AESCipherTool
This method is used to encrypt and base64 encode a plain value.
enterBasicString(TomlParser.BasicStringContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterBinInt(TomlParser.BinIntContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterBool(TomlParser.BoolContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterDecInt(TomlParser.DecIntContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterDotSep(TomlParser.DotSepContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterFloatingPoint(TomlParser.FloatingPointContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterHexInt(TomlParser.HexIntContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterKey(TomlParser.KeyContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterLiteralString(TomlParser.LiteralStringContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterMlBasicString(TomlParser.MlBasicStringContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterMlLiteralString(TomlParser.MlLiteralStringContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterOctInt(TomlParser.OctIntContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterQuotedKey(TomlParser.QuotedKeyContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterTable(TomlParser.TableContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
enterUnquotedKey(TomlParser.UnquotedKeyContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
exitKeyVal(TomlParser.KeyValContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
exitStdTable(TomlParser.StdTableContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
exitToml(TomlParser.TomlContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 
exitVal(TomlParser.ValContext) - Method in class org.ballerinalang.bcl.parser.BConfigLangListener
 

G

getAsBoolean(String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieves the config value specified by the key as a boolean.
getAsBoolean(String, String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieves the config value specified by the section header and the field.
getAsFloat(String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieves the config value specified by the key as a float.
getAsFloat(String, String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieves the config value specified by the section header and the field.
getAsInt(String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieves the config value specified by the key as an int.
getAsInt(String, String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieves the config value specified by the section header and the field.
getAsMap(String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieves the config value specified by the key as a float.
getAsMap(String, String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieves the config value specified by the section header and the field.
getAsString(String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieve the configuration value mapped by the specified key.
getAsString(String, String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieve the configuration value mapped by the specified table header and table field.
getConfigAsCharArray(String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieve the configuration value mapped by the specified key as a char array.
getConfigAsCharArray(String, String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieve the configuration value mapped by the specified table header and table field as a char array.
getConfigOrDefault(String, String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieve the configuration value mapped by the specified key.
getConfigTable(String) - Method in class org.ballerinalang.config.ConfigRegistry
Deprecated.
getConfiguration(String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieves the config value specified by the key.
getConfiguration(String, String) - Method in class org.ballerinalang.config.ConfigRegistry
Retrieves the config value specified by the section header and the field.
getConfigurations() - Method in class org.ballerinalang.bcl.parser.BConfig
 
getInstance() - Static method in class org.ballerinalang.config.ConfigRegistry
 

H

hasEncryptedValues() - Method in class org.ballerinalang.bcl.parser.BConfig
 

I

initRegistry(Map<String, String>, String, Path) - Method in class org.ballerinalang.config.ConfigRegistry
Prepares for parsing and loading the configurations by initializing the config processor.

K

keySetIterator() - Method in class org.ballerinalang.config.ConfigRegistry
Returns an iterator for the key set of the config registry.

O

org.ballerinalang.bcl.parser - package org.ballerinalang.bcl.parser
 
org.ballerinalang.config - package org.ballerinalang.config
 
org.ballerinalang.config.cipher - package org.ballerinalang.config.cipher
 

P

processConfiguration(Map<String, String>, String, Path) - Static method in class org.ballerinalang.config.ConfigProcessor
Processes runtime, environment and config file properties.This populates configRegistry with configs based on the following precedence order.

R

removeConfiguration(String) - Method in class org.ballerinalang.config.ConfigRegistry
Removes the specified key from the Config Registry.
resetRegistry() - Method in class org.ballerinalang.config.ConfigRegistry
Removes all the entries in the Config Registry.

S

setHasEncryptedValues(boolean) - Method in class org.ballerinalang.bcl.parser.BConfig
 
A B C D E G H I K O P R S 
Skip navigation links

Copyright © 2018 WSO2. All rights reserved.