public class ChainExecutor extends Object implements Executor
| Constructor and Description |
|---|
ChainExecutor() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getExtensions()
Returns list of extensions this executor can execute.
|
void |
run(String function,
byte[] body,
Context context,
Map<String,String> params)
Given the body of a function which its name ends with an extension that this executor accepts, run the function.
|
public List<String> getExtensions()
ExecutorgetExtensions in interface Executorpublic void run(String function, byte[] body, Context context, Map<String,String> params) throws IOException
Executorrun in interface Executorfunction - the function namebody - the body of the functioncontext - context variableparams - parameters passed for this executionIOExceptionCopyright © 2021. All rights reserved.