Package org.openbase.jul.processing
Interface VariableProvider
- All Known Implementing Classes:
VariableStore
public interface VariableProvider
* @author Divine Divine Threepwood
-
Field Details
-
VARIABLE_INITIATOR
- See Also:
-
VARIABLE_TERMINATOR
- See Also:
-
-
Method Details
-
getName
String getName()Method return the name of this provider. The name should inform about the origin.- Returns:
- the name as string.
-
getValue
- Parameters:
variable
- the variable name to be resolved.- Returns:
- the value of the variable.
- Throws:
org.openbase.jul.exception.NotAvailableException
- is thrown in case the variable could not be resolved.
-
getValue
- Parameters:
variable
- the variable name to be resolved.defaultValue
- the value to return in case the variable could not be resolved.- Returns:
- the value of the variable.
-
getValues
Method resolves all variables whose name contains the given identifier.- Parameters:
variableContains
- the identifier to select the variables.- Returns:
- a map of the variable name and its current value.
-