public class LoadJson extends LoadText
converter, evaluator, executor, logger, parser, resourceLoader| Constructor and Description |
|---|
LoadJson(Executor executor,
HistoneResourceLoader loader,
Evaluator evaluator,
Parser parser,
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
|
convertToJson, fromJSON, getParamsMap, loadResourcecheckMaxArgsLength, checkMinArgsLength, checkTypes, checkTypes, clearGlobal, createCtx, getLongValue, getValue, getValue, isAsync, isClearpublic LoadJson(Executor executor, HistoneResourceLoader loader, Evaluator evaluator, Parser parser, Converter converter)
public CompletableFuture<EvalNode> execute(Context context, List<EvalNode> args) throws FunctionExecutionException
FunctionCompletableFuture with result of execution.execute in interface Functionexecute in class LoadTextargs - 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.