T
- public class DependentTasksExecutorConfig<T extends Comparable<T>> extends Object
Configuration Object for Dexecutor framework. At a minimum it needs ExecutorService
and TaskProvider
, rest are optional and takes default values
This provides way to hook in your own Validator
and Traversar
Constructor and Description |
---|
DependentTasksExecutorConfig(ExecutorService executorService,
TaskProvider<T> taskProvider)
Construct the object with mandatory params, rest are optional
|
Modifier and Type | Method and Description |
---|---|
void |
setTraversar(Traversar<T> traversar)
Change the traversar to that of specified
|
void |
setValidator(Validator<T> validator)
change the validator to that of specified
|
public DependentTasksExecutorConfig(ExecutorService executorService, TaskProvider<T> taskProvider)
executorService
- taskProvider
- Copyright © 2016 Dexecutor. All rights reserved.