Package org.openbase.jul.processing
Class VariableStore
java.lang.Object
org.openbase.jul.processing.VariableStore
- All Implemented Interfaces:
VariableProvider
-
Field Summary
Fields inherited from interface org.openbase.jul.processing.VariableProvider
VARIABLE_INITIATOR, VARIABLE_TERMINATOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Method return the name of this provider.Resolves the value for the given key.Method resolves all variables whose name contains the given identifier.void
Stores the key value pair into the variable Store.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openbase.jul.processing.VariableProvider
getValue
-
Constructor Details
-
VariableStore
-
-
Method Details
-
getName
Description copied from interface:VariableProvider
Method return the name of this provider. The name should inform about the origin.- Specified by:
getName
in interfaceVariableProvider
- Returns:
- the name as string.
-
getValue
Resolves the value for the given key.- Specified by:
getValue
in interfaceVariableProvider
- Parameters:
key
-- Returns:
- Throws:
org.openbase.jul.exception.NotAvailableException
-
getValues
Method resolves all variables whose name contains the given identifier.- Specified by:
getValues
in interfaceVariableProvider
- Parameters:
variableContains
- the identifier to select the variables.- Returns:
- a map of the variable name and its current value.
-
store
Stores the key value pair into the variable Store.- Parameters:
key
-value
-
-