import "../ApiClient-fBZ10h6n.mjs"; import "../Asset-QWv2ZEoy.mjs"; import "../AssetIdentifier-CzXHaTTa.mjs"; import "../WorkerGroupFallback-B6jAaIQG.mjs"; import { t as WorkerGroup_default } from "../WorkerGroup-COoO34xB.mjs"; import "../PropertyListAsset-BpSKBrt4.mjs"; import "../PropertyListAssetIdentifier-CzPTxMuQ.mjs"; import { t as AssetsDeclaration_default } from "../AssetsDeclaration-DmG6gtlE.mjs"; import { t as Level } from "../Level-C7urWy3V.mjs"; import { t as Cache_default } from "../Cache-Db21YiXE.mjs"; //#region src/model/Task.d.ts type ITask = { id: string; type: string; /** * - Defines the version of the plugin to use. The version must follow the Semantic Versioning (SemVer) specification: - A single-digit MAJOR version (e.g., `1`). - A MAJOR.MINOR version (e.g., `1.1`). - A MAJOR.MINOR.PATCH version, optionally with any qualifier (e.g., `1.1.2`, `1.1.0-SNAPSHOT`). */ version: string; description: string; /** * - Retry policy applied when the task fails. */ retry: any; timeout: any; disabled: boolean; workerGroup: WorkerGroup_default; logLevel: Level; allowFailure: boolean; logToFile: boolean; runIf: string; allowWarning: boolean; taskCache: Cache_default; assets: AssetsDeclaration_default; }; /** * @typedef {Object} ITask * @property {String} id * @property {String} type * @property {String} version - Defines the version of the plugin to use. The version must follow the Semantic Versioning (SemVer) specification: - A single-digit MAJOR version (e.g., `1`). - A MAJOR.MINOR version (e.g., `1.1`). - A MAJOR.MINOR.PATCH version, optionally with any qualifier (e.g., `1.1.2`, `1.1.0-SNAPSHOT`). * @property {String} description * @property {Object} retry - Retry policy applied when the task fails. * @property {Object} timeout * @property {Boolean} disabled * @property {WorkerGroup} workerGroup * @property {Level} logLevel * @property {Boolean} allowFailure * @property {Boolean} logToFile * @property {String} runIf * @property {Boolean} allowWarning * @property {Cache} taskCache * @property {AssetsDeclaration} assets */ /** * The Task model module. * @module model/Task * @type {ITask} */ declare class Task { /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj: any, id: any, type: any): void; /** * Constructs a Task from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {module:model/Task} obj Optional instance to populate. * @return {module:model/Task} The populated Task instance. */ static constructFromObject(data: any, obj: any): any; /** * Validates the JSON data with respect to Task. * @param {Object} data The plain JavaScript object bearing properties of interest. * @return {boolean} to indicate whether the JSON data is valid with respect to Task. */ static validateJSON(data: any): boolean; /** * Constructs a new Task. * @alias module:model/Task * @param {String} id - * @param {String} type - */ constructor(id: string, type: string); id: string; type: string; version: string; description: string; retry: any; timeout: any; disabled: boolean; workerGroup: WorkerGroup_default; logLevel: Level; allowFailure: boolean; logToFile: boolean; runIf: string; allowWarning: boolean; taskCache: Cache_default; assets: AssetsDeclaration_default; } declare namespace Task { let RequiredProperties: string[]; } //#endregion export { ITask, Task as default };