c
pl.touk.nussknacker.engine.management.periodic
CronScheduleProperty
Companion object CronScheduleProperty
case class CronScheduleProperty(labelOrCronExpr: String) extends SingleScheduleProperty with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CronScheduleProperty
- Serializable
- Product
- Equals
- SingleScheduleProperty
- ScheduleProperty
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CronScheduleProperty(labelOrCronExpr: String)
Value Members
- val labelOrCronExpr: String
- def nextRunAt(clock: Clock): Either[String, Option[LocalDateTime]]
If Left is returned it means periodic property is invalid, e.g.
If Left is returned it means periodic property is invalid, e.g. it cannot be parsed. If Right(None) is returned it means process should not be run in future anymore e.g. was specified to run once. Right(Some(date)) specifies date when process should start.
- Definition Classes
- CronScheduleProperty → SingleScheduleProperty
- def productElementNames: Iterator[String]
- Definition Classes
- Product