public class ArrayForEach extends AbstractFunction implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
converter, evaluator, executor, logger, parser, resourceLoader| Constructor and Description |
|---|
ArrayForEach(Converter converter) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<EvalNode> |
execute(Context context,
List<EvalNode> args)
Method returns
CompletableFuture with result of execution. |
String |
getName()
Return function name
|
checkMaxArgsLength, checkMinArgsLength, checkTypes, checkTypes, clearGlobal, createCtx, getLongValue, getValue, getValue, isAsync, isClearpublic static final String NAME
public ArrayForEach(Converter converter)
public CompletableFuture<EvalNode> execute(Context context, List<EvalNode> args) throws FunctionExecutionException
FunctionCompletableFuture with result of execution.execute in interface Functionargs - arguments from Histone templateFunctionExecutionException - if your function stops with error and you need to put details into log,
then you should use this exceptionCopyright © 2017. All rights reserved.