Class validates parameters for provisioning commands.

export

### Hierarchy

- ProvisioningValidator

## Index

### Methods

- validateNotEmptyString
- validateSession
- validateString

## Methods

### Static validateNotEmptyString

- validateNotEmptyString(text: string, errorMsg: string): void

- - Defined in @zowe/provisioning-for-zowe-sdk/src/ProvisioningValidator.ts:52

  Validate supplied parameters

  static
  memberof

    ProvisioningValidator

  #### Parameters

  - ##### text: string

    string to check if empty

  - ##### errorMsg: string

    message to show in case validation fails

  #### Returns void

### Static validateSession

- validateSession(session: AbstractSession): void

- - Defined in @zowe/provisioning-for-zowe-sdk/src/ProvisioningValidator.ts:28

  Validate session

  static
  memberof

    ProvisioningValidator

  #### Parameters

  - ##### session: AbstractSession

    z/OSMF connection info

  #### Returns void

### Static validateString

- validateString(text: string, errorMsg: string): void

- - Defined in @zowe/provisioning-for-zowe-sdk/src/ProvisioningValidator.ts:41

  Validate supplied parameters

  static
  memberof

    ProvisioningValidator

  #### Parameters

  - ##### text: string

    string to check if not null or undefined

  - ##### errorMsg: string

    message to show in case validation fails

  #### Returns void

Generated using TypeDoc