public static class ForegroundTask.ForegroundTaskBuilder extends AbstractTaskBuilder<ForegroundTask>
DEFAULT_NAME| Constructor and Description |
|---|
ForegroundTaskBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ForegroundTask |
build()
Builds the task of the given type for the builder
|
ForegroundTask.ForegroundTaskBuilder |
withBudget(IterationBudget budget)
Sets an iteration budget for the task (i.e.: the task will not run more than the given number of iterations)
|
getName, withNamepublic ForegroundTask.ForegroundTaskBuilder withBudget(IterationBudget budget)
budget - the budgetpublic ForegroundTask build()
TaskBuilderApache Camel