ScheduleJob

class ScheduleJob @InternalWowApi constructor(val name: String, val rule: ScheduleRule.Cron, val scope: JobScope = JobScope.SYSTEM)

A job of an me.ahoo.wow.api.annotation.OnSchedule handler: its name, its default rule (the annotation's, overridden by the host's wow.schedules.<name>.*) and its scope.

Constructors

Link copied to clipboard
constructor(name: String, rule: ScheduleRule.Cron, scope: JobScope = JobScope.SYSTEM)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copyWith(name: String = this.name, rule: ScheduleRule.Cron = this.rule, scope: JobScope = this.scope): ScheduleJob

This ScheduleJob with the given fields replaced: Wow's own copy, left out of the ABI.

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