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 data
OUT - Type of job result data
TRIGGER - Type of Trigger
SCHEDULER - Type of Scheduler
SELF - 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
Since:
2.0.0
See Also:
  • Method Details

    • setVertx

      @NotNull SELF setVertx(@NotNull @NotNull io.vertx.core.Vertx vertx)
    • setMonitor

      @NotNull SELF setMonitor(@NotNull @NotNull SchedulingMonitor<OUT> monitor)
    • setTrigger

      @NotNull SELF setTrigger(@NotNull TRIGGER trigger)
    • setTriggerEvaluator

      @NotNull SELF setTriggerEvaluator(@NotNull @NotNull TriggerEvaluator evaluator)
    • setJob

      @NotNull SELF setJob(@NotNull @NotNull Job<IN,OUT> job)
    • setJobData

      @NotNull SELF setJobData(@NotNull @NotNull JobData<IN> jobData)
    • setTimeoutPolicy

      @NotNull SELF setTimeoutPolicy(@NotNull @NotNull TimeoutPolicy timeoutPolicy)
    • build

      @NotNull SCHEDULER build()