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
Properties
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.