public class HashRangeMethodExecutor extends java.lang.Object implements MethodExecutor
MethodExecutor using an first argument as key
to be used as a range search with a List of Object found from
a second argument.
Spel expression for this would be "range(region,{10,20,30,40})". Value 15 would create key "20_range", 40 key "40_range" and 45 key "40_range".
| Constructor and Description |
|---|
HashRangeMethodExecutor() |
| Modifier and Type | Method and Description |
|---|---|
TypedValue |
execute(EvaluationContext context,
java.lang.Object target,
java.lang.Object... arguments) |
static java.lang.String |
range(java.lang.Object arg1,
java.util.List<?> arg2) |
public TypedValue execute(EvaluationContext context, java.lang.Object target, java.lang.Object... arguments) throws AccessException
execute in interface MethodExecutorAccessExceptionpublic static java.lang.String range(java.lang.Object arg1,
java.util.List<?> arg2)
throws AccessException
AccessException