public interface JvmExecutionModel
Models for executing JVMN processes.
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
setAwaitMode(Boolean mode) Set whether other tasks in this project should be blocked until this task's worker queue completed. |
|
public void |
setExecutionMode(ExecutionMode em) Sets the execution mode. |
|
public void |
setExecutionMode(String em) Sets the execution mode using a string |
Set whether other tasks in this project should be blocked until this task's worker queue completed.
Ignored if executionMode == JAVA_EXEC
.
mode
- true
is blocking is required.Sets the execution mode.
This allows for JVM tasks to be executed either on a worker queue inside the JVM using an isolated classpath,
ouside the JVM in a separate process, OR using a classic javaexec
.
If nothing is set, the default is ExecutionMode#JAVA_EXEC#JAVA_EXEC.
em
- Execution mode.Sets the execution mode using a string
This allows for JVM tasks to be executed either on a worker queue inside the JVM using an isolated classpath,
ouside the JVM in a separate process, OR using a classic javaexec
.
If nothing is set, the default is {
em
- Execution mode.