public abstract class Executor extends SynchronizableTask
| Modifier and Type | Field and Description |
|---|---|
static int |
BREAK |
static int |
CONTINUE |
static int |
STOP |
static int |
WAIT |
| Constructor and Description |
|---|
Executor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Integer |
execute(Timings.Timing timing,
boolean sync,
Map<String,Object> vars,
Object context,
Object... args) |
runSyncTaskForFuture, runTaskLater, runTaskLaterpublic static final int STOP
public static final int WAIT
public static final int BREAK
public static final int CONTINUE
protected abstract Integer execute(Timings.Timing timing, boolean sync, Map<String,Object> vars, Object context, Object... args) throws Exception
timing - the parent timing instance. Extend timing using this instance, not creating new one. Can be null.context - the context where the Executor was startedvars - variables to be used in the Executor scriptargs - arguments passed from the interpreted codeException