- All Superinterfaces:
Prototype.Api
- All Known Subinterfaces:
CronConfig
,FixedRateConfig
- All Known Implementing Classes:
CronConfig.BuilderBase.CronConfigImpl
,FixedRateConfig.BuilderBase.FixedRateConfigImpl
,TaskConfig.BuilderBase.TaskConfigImpl
Interface generated from definition. Please add javadoc to the definition interface.
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Fluent API builder forTaskConfig
.static class
TaskConfig.BuilderBase<BUILDER extends TaskConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends TaskConfig> Fluent API builder base forTaskConfig
. -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskConfig.Builder
builder()
Create a new fluent API builder to customize configuration.static TaskConfig.Builder
builder
(TaskConfig instance) Create a new fluent API builder from an existing instance.static TaskConfig
create()
Create a new instance with default values.static TaskConfig
Create a new instance from configuration.executor()
CustomScheduledExecutorService
used for executing scheduled task.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance
- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config
- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
executor
ScheduledExecutorService executor()CustomScheduledExecutorService
used for executing scheduled task.- Returns:
- custom ScheduledExecutorService
-