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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
build()
Builds the task of the given type for the builder
-
-
-
Method Detail
-
build
T build()
Builds the task of the given type for the builder- Returns:
- a new instance of the task
-
-