Module io.helidon.scheduling
Package io.helidon.scheduling
Class CronConfig.BuilderBase.CronConfigImpl
java.lang.Object
io.helidon.scheduling.TaskConfig.BuilderBase.TaskConfigImpl
io.helidon.scheduling.CronConfig.BuilderBase.CronConfigImpl
- All Implemented Interfaces:
Prototype.Api
,Prototype.Factory<Cron>
,CronConfig
,TaskConfig
,Supplier<Cron>
- Enclosing class:
CronConfig.BuilderBase<BUILDER extends CronConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends CronConfig>
protected static class CronConfig.BuilderBase.CronConfigImpl
extends TaskConfig.BuilderBase.TaskConfigImpl
implements CronConfig, Supplier<Cron>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.scheduling.CronConfig
CronConfig.Builder, CronConfig.BuilderBase<BUILDER extends CronConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends CronConfig> Nested classes/interfaces inherited from interface io.helidon.scheduling.TaskConfig
TaskConfig.Builder, TaskConfig.BuilderBase<BUILDER extends TaskConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends TaskConfig> -
Constructor Summary
ModifierConstructorDescriptionprotected
CronConfigImpl
(CronConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Methods inherited from class io.helidon.scheduling.TaskConfig.BuilderBase.TaskConfigImpl
executor
-
Constructor Details
-
CronConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<Cron>
- Returns:
- new configured runtime instance
-
get
-
expression
-
concurrentExecution
public boolean concurrentExecution() -
task
-
toString
- Overrides:
toString
in classTaskConfig.BuilderBase.TaskConfigImpl
-
equals
- Overrides:
equals
in classTaskConfig.BuilderBase.TaskConfigImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTaskConfig.BuilderBase.TaskConfigImpl
-
executor
ScheduledExecutorService executor()CustomScheduledExecutorService
used for executing scheduled task.- Returns:
- custom ScheduledExecutorService
-