Package org.apache.camel.support.task
Interface TaskBuilder<T extends Task>
- Type Parameters:
T
- the task type to build
- All Known Implementing Classes:
AbstractTaskBuilder
,BackgroundTask.BackgroundTaskBuilder
,ForegroundTask.ForegroundTaskBuilder
public interface TaskBuilder<T extends Task>
Provides a common pattern for building tasks
-
Method Summary
-
Method Details
-
build
T build()Builds the task of the given type for the builder- Returns:
- a new instance of the task
-