JobRule

class JobRule @InternalWowApi constructor(val cron: String? = null, val timeZone: String? = null, val misfire: Misfire? = null)

An instance's own rule of a job: each part that is null follows the job's default (the host's wow.schedules.<job>.*, else the annotation), so a tenant may keep the default cron in its own timeZone.

Fields may be added: construct one with of; the constructor is internal to Wow.

Constructors

Link copied to clipboard
constructor(cron: String? = null, timeZone: String? = null, misfire: Misfire? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cron: String?
Link copied to clipboard
Link copied to clipboard

The time zone, an IANA region such as Asia/Shanghai or an offset such as +08:00; null keeps the default rule's (over). This null is not UTC: it is whichever zone the default reads its cron in.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

The rule this one makes of default: each part it does not set is the default's.

Link copied to clipboard
open override fun toString(): String