public interface ConstraintProgramScheduleBuilder extends ScheduleBuilder
ScheduleBuilder
, but allows specifying whether the scheduler should wait until the
configured constraint is met.Modifier and Type | Method and Description |
---|---|
ScheduleBuilder |
abortIfNotMet()
Specifies that the scheduler will abort the schedule execution if the configured constraint is not met.
|
ScheduleBuilder |
waitUntilMet()
Specifies that the scheduler should wait until the configured constraint is met.
|
setDescription, setProperties, setTimeout, triggerByTime, triggerOn, triggerOnPartitions, triggerOnPartitions, triggerOnProgramStatus, triggerOnProgramStatus, triggerOnProgramStatus, triggerOnProgramStatus, withConcurrency, withDelay, withDurationSinceLastRun, withTimeWindow, withTimeWindow
ScheduleBuilder waitUntilMet()
ScheduleBuilder abortIfNotMet()
Copyright © 2022 Cask Data, Inc. Licensed under the Apache License, Version 2.0.