Public Member Functions | |
boolean | hasValue (in AString name) |
Return if configuration exists. | |
boolean | addValue (in AString name, in AString value) |
Add value. | |
AString | getValue (in AString name) |
Return configuration value. | |
boolean | setValue (in AString name, in AString value) |
Set value. |
Shared configuration object can be used to access configuration.
boolean addValue | ( | in AString | name, | |
in AString | value | |||
) |
Add value.
Add item and value to the configuration.
name | Name of the new item | |
value | New value |
AString getValue | ( | in AString | name | ) |
Return configuration value.
Return value for given configuration. If value is not found in the shared configuration method throw exception.
name | Name of the item |
boolean hasValue | ( | in AString | name | ) |
Return if configuration exists.
name | Name of the item. |
boolean setValue | ( | in AString | name, | |
in AString | value | |||
) |
Set value.
Set value of existing configuration.
name | Name of the item | |
value | New value |