Record Class RecurringSchedule
java.lang.Object
java.lang.Record
com.iantapply.orchestra.api.RecurringSchedule
- Record Components:
cron- five-field cron expressionzone- evaluation zone, defaulting to UTC
-
Constructor Summary
ConstructorsConstructorDescriptionRecurringSchedule(String cron, ZoneId zone) Validates the expression and applies the UTC default zone. -
Method Summary
Modifier and TypeMethodDescriptioncron()Returns the value of thecronrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.zone()Returns the value of thezonerecord component.
-
Constructor Details
-
RecurringSchedule
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
cron
-
zone
-