@broadcom/mat-detect-for-zowe-cli
Version:
MAT Detect plug-in for Zowe CLI
54 lines (53 loc) • 2.27 kB
TypeScript
import { ICommandHandler, IHandlerParameters } from "@zowe/imperative";
import { ISubmitParms } from "../../../index";
/**
* "pma get-perf" command handler. Get the performance test result for the jobname.
* @export
* @class SubmitJobHandler
* @implements {ICommandHandler}
*/
export default class SharedSubmitHandler implements ICommandHandler {
/**
* Convenience accessor for the response APIs
* @private
* @type {*}
* @memberof SubmitDataSetHandler
*/
private console;
private data;
/**
* The z/OSMF profile for this command
* @private
* @type {*}
* @memberof SharedSubmitHandler
*/
private profile;
/**
* Command line arguments passed
* @private
* @type {*}
* @memberof SharedSubmitHandler
*/
private arguments;
/**
* Command handler process
* @param {IHandlerParameters} params - Command handler parameters
* @returns {Promise<void>} - Fulfilled when the command completes successfully OR rejected with imperative error
* @memberof SubmitDataSetHandler
*/
process(params: IHandlerParameters): Promise<void>;
sub_process(params: IHandlerParameters, sysparm: {
dsn_steplib: string;
dsn_ksdsexc: string;
job_class: string;
job_mclass: string;
}, parms: ISubmitParms, jobname: string, jobExldsc: string, jobStepn: string, jobProcs: string, pmadscd: string, pmastpn: string, pmaprcn: string, pmajob: string, pmadsc: string, errorJob: string, errorLib: string, errorClass: string, errorAcct: string, errorJobn: string, errorMClass: string, errorstepn: any, errorprocs: any): Promise<void>;
sub_process1(params: IHandlerParameters, sysparm: {
dsn_steplib: string;
dsn_ksdsexc: string;
job_class: string;
job_mclass: string;
}, parms: ISubmitParms, jobname: string, jobExldsc: string, jobStepn: string, jobProcs: string, pmadscd: string, pmastpn: string, pmaprcn: string, pmajob: string, pmadsc: string): Promise<void>;
sub_process2(params: IHandlerParameters, parms: ISubmitParms, apiObj: any, jobname1: string): Promise<void>;
sub_process3(params: IHandlerParameters, apiObj: any, spoolFilesResponse: any, jobname1: string): Promise<void>;
}