Package io.github.zero88.schedulerx
Interface SchedulerBuilder<IN,OUT,TRIGGER extends Trigger,SCHEDULER extends Scheduler<TRIGGER>,SELF extends SchedulerBuilder<IN,OUT,TRIGGER,SCHEDULER,SELF>>
- Type Parameters:
IN
- Type of job input dataOUT
- Type of job result dataTRIGGER
- Type of TriggerSCHEDULER
- Type of SchedulerSELF
- Type of Scheduler Builder
- All Known Subinterfaces:
CronSchedulerBuilder<IN,
,OUT> EventSchedulerBuilder<IN,
,OUT, T> IntervalSchedulerBuilder<IN,
OUT>
- All Known Implementing Classes:
AbstractSchedulerBuilder
public interface SchedulerBuilder<IN,OUT,TRIGGER extends Trigger,SCHEDULER extends Scheduler<TRIGGER>,SELF extends SchedulerBuilder<IN,OUT,TRIGGER,SCHEDULER,SELF>>
Represents for the high level of a builder that construct
Scheduler
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setJobData
(@NotNull JobData<IN> jobData) setMonitor
(@NotNull SchedulingMonitor<OUT> monitor) setTimeoutPolicy
(@NotNull TimeoutPolicy timeoutPolicy) setTrigger
(TRIGGER trigger) setTriggerEvaluator
(@NotNull TriggerEvaluator evaluator) setVertx
(@NotNull io.vertx.core.Vertx vertx)
-
Method Details
-
setVertx
-
setMonitor
-
setTrigger
-
setTriggerEvaluator
-
setJob
-
setJobData
-
setTimeoutPolicy
-
build
-