import { JobInfoDetail } from './JobInfoDetail.js'; /** * Job information */ export declare class JobInfo { /** * @property {string} jobId Job ID */ readonly jobId: string; /** * @property {string} workflowId Workflow ID */ readonly workflowId: string; /** * @property {boolean} finished Whether job execution is finished or not */ readonly finished: boolean; /** * @property {JobInfo.JobStatus} status Job execution status */ readonly status: JobInfo.JobStatus; /** * @property {number} progress Job execution progress */ readonly progress: number; /** * @property {JobInfoDetail} detail Job information detail */ readonly detail: JobInfoDetail; /** * Creates an instance * @param {string} jobId Job ID * @param {string} workflowId Workflow ID * @param {boolean} finished Whether job execution is finished or not * @param {JobInfo.JobStatus} status Job execution status * @param {number} progress Job execution progress * @param {JobInfoDetail} detail Job information detail */ constructor(jobId: string, workflowId: string, finished: boolean, status: JobInfo.JobStatus, progress: number, detail: JobInfoDetail); } export declare namespace JobInfo { /** * Job status * @enum {number} */ enum JobStatus { /** * Unknown */ Unknown = "unknown", /** * Running */ Running = "running", /** * Waiting */ Waiting = "waiting", /** * Completed */ Completed = "completed", /** * Failed */ Failed = "failed", /** * Cancelled */ Cancelled = "cancelled" } }