EnableJob

class EnableJob @InternalWowApi constructor(val job: String, val rule: JobRule? = null, val partition: Int? = null)

The system command wow.schedule.Enable: creates, or enables again, the instance of the job job it is sent to, the aggregate <context>.schedule whose id is the job's name in its tenant. rule overrides the job's default rule (null keeps the instance's own override, if any); partition is the log partition of an instance of a JobScope.SHARDED job, which the host enables.

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

Constructors

Link copied to clipboard
constructor(job: String, rule: JobRule? = null, partition: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val job: String
Link copied to clipboard
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