T
- parameters type to be executedpublic abstract class BaseTask<T extends TaskParameters> extends Object implements Task<T>
Task
Constructor and Description |
---|
BaseTask() |
Modifier and Type | Method and Description |
---|---|
void |
before(T parameters,
TaskExecutionContext context)
Called before the actual execution of the task.
|
protected TaskExecutionContext |
executionContext() |
public void before(T parameters, TaskExecutionContext context) throws TaskException
Task
TaskException
.before
in interface Task<T extends TaskParameters>
parameters
- the parameters to be executedTaskException
- in case of unexpected errorsprotected TaskExecutionContext executionContext()
Copyright © 2019 sejda. All rights reserved.