import { TxDirection } from './tx-direction'; /** * TxJobExecutionOptions - an object which effect the job execution. * options: * persist - {ison: boolean, destroy: boolean} * ison - turn on / off job persistence mechanism. * destroy - is destroy the job when persist * execute: * until - run until reaching this mountpoint. * source - from where to take the mountpoints needed to be run. * error: * direction: TxDirection - what to direction move on compnents, forward | backword */ export interface TxJobExecutionOptions { persist: { ison: boolean; destroy: boolean; }; execute: { until: string; record: boolean; source: string; notify: { name: string; from: string; }; }; error: { direction: TxDirection; }; publish: 'local' | 'distribute'; } declare const defaultExecutionOptions: TxJobExecutionOptions; export { defaultExecutionOptions }; export declare class TxJobExecutionOptionsChecker { constructor(); static isPersist(options: TxJobExecutionOptions): boolean; static isUntil(options: TxJobExecutionOptions, name: string): boolean; static isDestroy(options: TxJobExecutionOptions): boolean; static isTrue(o: any, p: any): boolean; static isRecord(options: TxJobExecutionOptions): boolean; static isRecordDefine(options: TxJobExecutionOptions): boolean; static isService(options: TxJobExecutionOptions): boolean; static isNotify(options: TxJobExecutionOptions): boolean; static isDisribute(options: TxJobExecutionOptions): boolean; static getErrorDirection(options: TxJobExecutionOptions): TxDirection | TxDirection.backward; }