Interface ParameterValueProvider
-
- All Known Implementing Classes:
ConstantValueProvider
,ElValueProvider
,ListValueProvider
,MapValueProvider
,NullValueProvider
,ScriptValueProvider
public interface ParameterValueProvider
- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getValue(VariableScope variableScope)
boolean
isDynamic()
-
-
-
Method Detail
-
getValue
java.lang.Object getValue(VariableScope variableScope)
- Parameters:
variableScope
- the scope in which the value is to be resolved.- Returns:
- the value
-
isDynamic
boolean isDynamic()
- Returns:
- true if the value provider:
- Can return a different value depending on the passed variable scope
- May uses external data for its resolution
- May have side effects
getValue(VariableScope)
can assume that:- passing an empty variable scope returns the same value as passing any other variable scope
- Calling
getValue(VariableScope)
multiple times always returns the same value - Calling
getValue(VariableScope)
does not have side effects
-
-