UNPKG

@manuth/woltlab-compiler

Version:

A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components

37 lines (36 loc) 1.12 kB
import { InstructionCompiler } from "../../../Compilation/PackageSystem/Instructions/InstructionCompiler.js"; import { CronJob } from "../../../Tasks/CronJob.js"; import { NamedDeleteInstruction } from "../NamedDeleteInstruction.js"; import { ICronJobInstructionOptions } from "./ICronJobInstructionOptions.js"; /** * Represents an instruction which install cron-jobs. */ export declare class CronJobInstruction extends NamedDeleteInstruction { /** * The cron-jobs provided by the instruction. */ private cronJobs; /** * Initializes a new instance of the {@link CronJobInstruction `CronJobInstruction`} class. * * @param options * The options of the cron-job instruction. */ constructor(options: ICronJobInstructionOptions); /** * @inheritdoc */ get Type(): string; /** * Gets or sets the cron-jobs provided by the instruction. */ get CronJobs(): CronJob[]; /** * @inheritdoc */ set CronJobs(value: CronJob[]); /** * @inheritdoc */ get Compiler(): InstructionCompiler<CronJobInstruction>; }