@broadcom/jclcheck-for-zowe-cli
Version:
JCLCheck Plug-in for Zowe CLI
74 lines (72 loc) • 3.15 kB
TypeScript
/**
* Copyright (c) 2025. Broadcom. All rights reserved. The term
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This software and all information contained therein is
* confidential and proprietary and shall not be duplicated,
* used, disclosed, or disseminated in any way except as
* authorized by the applicable license agreement, without the
* express written permission of Broadcom. All authorized
* reproductions must be marked with this language.
* EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO
* THE EXTENT PERMITTED BY APPLICABLE LAW, BROADCOM PROVIDES THIS
* SOFTWARE WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT
* LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM
* BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR
* DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS SOFTWARE,
* INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS
* INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS
* EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
*
**/
import { ICommandOptionDefinition, ICommandArguments, ISession } from "@zowe/imperative";
/**
* Builds JCLCheck session and contains command definitions for it
* @export
*/
export declare class JCLCheckSessionUtils {
static JCLCHECK_CONNECTION_OPTION_GROUP: string;
/**
* Option used in profile creation and commands for hostname for JCLCheck
*/
static JCLCHECK_OPTION_HOST: ICommandOptionDefinition;
/**
* Option used in profile creation and commands for port for JCLCheck
*/
static JCLCHECK_OPTION_PORT: ICommandOptionDefinition;
/**
* Option used in profile creation and commands for user for JCLCheck
*/
static JCLCHECK_OPTION_USER: ICommandOptionDefinition;
/**
* Option used in profile creation and commands for password for JCLCheck
*/
static JCLCHECK_OPTION_PASSWORD: ICommandOptionDefinition;
/**
* Option used in profile creation and commands for basePath setting for connecting to JCLCheck
*/
static JCLCHECK_OPTION_BASE_PATH: ICommandOptionDefinition;
/**
* Option used in profile creation and commands for rejectUnauthorized setting for connecting to JCLCheck
*/
static JCLCHECK_OPTION_REJECT_UNAUTHORIZED: ICommandOptionDefinition;
/**
* Option used in profile creation and commands for protocol for JCLCheck
*/
static JCLCHECK_OPTION_PROTOCOL: ICommandOptionDefinition;
static JCLCHECK_OPTION_JCK_OPTS: ICommandOptionDefinition;
/**
* Options related to connecting to JCLCheck
* These options can be filled in if the user creates a profile
*/
static JCLCHECK_CONNECTION_OPTIONS: ICommandOptionDefinition[];
/**
* Given command line arguments, create session config for REST Client.
* @static
* @param {ICommandArguments} args - The arguments specified by the user
* @returns {ISession} - Session config for usage with the JCLCheck REST Service
*/
static createJCLCheckSessCfgFromArgs(args: ICommandArguments): ISession;
private static get log();
}