Interface Level
- All Known Implementing Classes:
ParameterLevel
public interface Level
Depth of parameter. In tabular view: how many columns there are. In "if"-tree: indentation depth.
- Since:
- 0.1.0
- Author:
- Przemek Hertel, Adam Dubiel
-
Method Summary
Modifier and TypeMethodDescriptionReturns function for evaluating value of level using current context.Get code of matcher, that is used to match level value against the pattern.Get matching mode: STDANDARD, UNION, UNION_SKIP_DEFAULT.getName()Returns name of level, internally used to load value by output parameter name.getType()Get type of values stored in level.Get decoder specific to this level.booleanisArray()Is level an array of values.booleanIs matcher in reverse state
-
Method Details
-
getName
String getName()Returns name of level, internally used to load value by output parameter name.- Returns:
- level name
-
getLevelCreator
String getLevelCreator()Returns function for evaluating value of level using current context.- Returns:
- function registered in function repository
-
getType
String getType()Get type of values stored in level.- Returns:
- level value type
-
isArray
boolean isArray()Is level an array of values.- Returns:
- is array of values
-
getMatcher
String getMatcher()Get code of matcher, that is used to match level value against the pattern.- Returns:
- matcher code
-
isReverseMatcher
boolean isReverseMatcher()Is matcher in reverse state- Returns:
- true if matcher should behave as reverse matcher
- See Also:
-
getMatchMode
MatchMode getMatchMode()Get matching mode: STDANDARD, UNION, UNION_SKIP_DEFAULT. When null, index will use STANDARD.- Returns:
- matching mode
- Since:
- 1.0.6
-
getValueDecoder
ValueDecoder getValueDecoder()Get decoder specific to this level. Ddefault decoder will be used when this method return null.- Returns:
- decoder specific
- Since:
- 1.0.2
-