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 SummaryNested classes/interfaces inherited from interface io.helidon.scheduling.CronConfigCronConfig.Builder, CronConfig.BuilderBase<BUILDER extends CronConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends CronConfig> Nested classes/interfaces inherited from interface io.helidon.scheduling.TaskConfigTaskConfig.Builder, TaskConfig.BuilderBase<BUILDER extends TaskConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends TaskConfig> 
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCronConfigImpl(CronConfig.BuilderBase<?, ?> builder) Create an instance providing a builder.
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Create a new instance of the runtime type from this config object.booleanAllow concurrent execution if previous task didn't finish before next execution.booleanCron expression for specifying period of execution.get()inthashCode()task()Task to be scheduled for execution.toString()Methods inherited from class io.helidon.scheduling.TaskConfig.BuilderBase.TaskConfigImplexecutor, id, taskManagerMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.scheduling.TaskConfigexecutor, id, taskManager
- 
Constructor Details- 
CronConfigImplCreate an instance providing a builder.- Parameters:
- builder- extending builder base of this prototype
 
 
- 
- 
Method Details- 
buildDescription copied from interface:Prototype.FactoryCreate a new instance of the runtime type from this config object.- Specified by:
- buildin interface- Prototype.Factory<Cron>
- Returns:
- new configured runtime instance
 
- 
get
- 
expressionDescription copied from interface:CronConfigCron expression for specifying period of execution.Examples: - 0/2 * * * * ? *- Every 2 seconds
- 0 45 9 ? * *- Every day at 9:45
- 0 15 8 ? * MON-FRI- Every workday at 8:15
 - Specified by:
- expressionin interface- CronConfig
- Returns:
- cron expression
 
- 
concurrentExecutionpublic boolean concurrentExecution()Description copied from interface:CronConfigAllow concurrent execution if previous task didn't finish before next execution. Default value istrue.- Specified by:
- concurrentExecutionin interface- CronConfig
- Returns:
- true for allow concurrent execution.
 
- 
taskDescription copied from interface:CronConfigTask to be scheduled for execution.- Specified by:
- taskin interface- CronConfig
- Returns:
- scheduled for execution
 
- 
toString- Overrides:
- toStringin class- TaskConfig.BuilderBase.TaskConfigImpl
 
- 
equals- Overrides:
- equalsin class- TaskConfig.BuilderBase.TaskConfigImpl
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- TaskConfig.BuilderBase.TaskConfigImpl
 
 
-