JobDisabled

class JobDisabled(val held: Boolean = false)

The system event wow.schedule.JobDisabled: the instance does not run until it is enabled again.

A held disable is an operator's, any wow.schedule.DisableJob but the host's own: it lasts until an enable that is not the host's bringing-in-line of its jobs, so no start of a node, and no wow.schedules.<job>.enabled: true, enables the instance again. One not held is the host's: the configuration's (enabled: false), or that of a job the node no longer runs; the host enables the instance again once it brings it in line with the job enabled. A JobDisabled stored before held existed reads as not held.

Fields may be added, each a constructor parameter with a default. It has no companion object on purpose: with one, a bare JobDisabled would compile as that object, a value equal to no JobDisabled, and as a when branch too; without one the compiler refuses it and names each place to write JobDisabled().

Constructors

Link copied to clipboard
constructor(held: Boolean = false)

Properties

Link copied to clipboard

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
open override fun toString(): String