@hpcc-js/comms
Version:
hpcc-js - Communications
41 lines (40 loc) • 1.8 kB
TypeScript
import { StateObject } from "@hpcc-js/util";
import { IConnection, IOptions } from "../connection";
import { WsSMC, SMCService } from "../services/wsSMC";
import { Workunit } from "./workunit";
export interface ActivityEx {
}
export type UActivityState = WsSMC.ActivityResponse & ActivityEx;
export type IActivityState = WsSMC.ActivityResponse | ActivityEx;
export declare class Activity extends StateObject<UActivityState, IActivityState> implements UActivityState {
protected connection: SMCService;
readonly properties: UActivityState;
readonly Exceptions: WsSMC.Exceptions;
readonly Build: string;
readonly ThorClusterList: WsSMC.ThorClusterList;
readonly RoxieClusterList: WsSMC.RoxieClusterList;
readonly HThorClusterList: WsSMC.HThorClusterList;
readonly DFUJobs: WsSMC.DFUJobs;
readonly Running: WsSMC.Running;
readonly BannerContent: string;
readonly BannerColor: string;
readonly BannerSize: string;
readonly BannerScroll: string;
readonly ChatURL: string;
readonly ShowBanner: number;
readonly ShowChatURL: number;
readonly SortBy: string;
readonly Descending: boolean;
readonly SuperUser: boolean;
readonly AccessRight: string;
readonly ServerJobQueues: WsSMC.ServerJobQueues;
readonly ActivityTime: string;
readonly DaliDetached: boolean;
static attach(optsConnection: IOptions | IConnection | SMCService, state?: IActivityState): Activity;
protected constructor(optsConnection: IOptions | IConnection | SMCService);
runningWorkunits(clusterName?: string): Workunit[];
setBanner(request: Partial<WsSMC.SetBanner>): Promise<Activity>;
lazyRefresh: () => Promise<this>;
refresh(): Promise<this>;
}
//# sourceMappingURL=activity.d.ts.map