public class InProcessTaskExecutor extends Object implements TaskExecutor
Responsible for: - running the different scripts - variable propagation - replacement for variables - getting the task result or user code exceptions
Constructor and Description |
---|
InProcessTaskExecutor() |
Modifier and Type | Method and Description |
---|---|
TaskResultImpl |
execute(TaskContext taskContext,
PrintStream output,
PrintStream error)
Executes a task inside a task context.
|
public TaskResultImpl execute(TaskContext taskContext, PrintStream output, PrintStream error)
execute
in interface TaskExecutor
taskContext
- Task context to execute.output
- Standard output sink.error
- Error sink.