Class ScheduleOperation
java.lang.Object
com.codebarrel.automation.api.schedule.ScheduleOperation
Defines what should happen for a particular rule schedule. For example
a schedule may result in a rule executing and advancing the schedule, OR it may result
in removing the schedule and not executing the rule, if the rule was removed.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ScheduleOperationexecuteAndRemove(RuleSchedule ruleSchedule) static ScheduleOperationexecuteAndReschedule(RuleSchedule ruleSchedule, Instant nextExecution) static ScheduleOperationfailed(RuleSchedule ruleSchedule) getType()inthashCode()toString()
-
Method Details
-
failed
-
executeAndRemove
-
executeAndReschedule
public static ScheduleOperation executeAndReschedule(RuleSchedule ruleSchedule, Instant nextExecution) -
getType
-
getRuleSchedule
-
getNextExecution
-
equals
-
hashCode
public int hashCode() -
toString
-