public class VariableStore extends Object implements VariableProvider
VARIABLE_INITIATOR, VARIABLE_TERMINATOR| Constructor and Description |
|---|
VariableStore(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Method return the name of this provider.
|
String |
getValue(String key)
Resolves the value for the given key.
|
Map<String,String> |
getValues(String variableContains)
Method resolves all variables whose name contains the given identifier.
|
void |
store(String key,
String value)
Stores the key value pair into the variable Store.
|
public VariableStore(String name)
public String getName()
VariableProvidergetName in interface VariableProviderpublic String getValue(String key) throws org.openbase.jul.exception.NotAvailableException
getValue in interface VariableProviderkey - org.openbase.jul.exception.NotAvailableExceptionpublic Map<String,String> getValues(String variableContains) throws org.openbase.jul.exception.NotAvailableException
getValues in interface VariableProvidervariableContains - the identifier to select the variables.org.openbase.jul.exception.NotAvailableException - is thrown in case no variable name matches the given identifier.Copyright © 2015–2017 openbase.org. All rights reserved.