Interface ParamContext
- All Known Implementing Classes:
Adapter,AdhocContext,DefaultContext,HyperonContext,HyperonSubContext,LevelValues
public interface ParamContext
Context of parameter result evaluation. Context is a set of values that are used to create parameter value query. However complex the implementation, it all boils down to vector (array) of values that will be matched to patterns in parameter definition to find matching entries.
Context is the only argument passed to level creators.- Author:
- Przemek Hertel
-
Method Summary
Modifier and TypeMethodDescriptionObject[][]voidsetLevelValues(Object... levelValues) Can be used to inject query values directly to the context.
-
Method Details
-
getLevelValues
Object[][] getLevelValues()- Returns:
- 2 dimensional array of values that form parameter query, has length equal to queried parameter input level count
-
setLevelValues
Can be used to inject query values directly to the context.- Parameters:
levelValues- array of values that form parameter query, should have length equal to queried parameter input level count
-