Options
All
  • Public
  • Public/Protected
  • All
Menu

Attributes for a set of files relating to how they will be uploaded to USS

Hierarchy

  • ZosFilesAttributes

Index

Constructors

constructor

  • new ZosFilesAttributes(attributesFileContents: string, basePath?: string): ZosFilesAttributes

Properties

Private attributes

attributes: Map<string, IUploadAttributes> = new Map<string,IUploadAttributes>()

Private basePath

basePath: string

Static Private MAX_EXPECTED_FIELDS

MAX_EXPECTED_FIELDS: number = 3

Static Private MIN_EXPECTED_FIELDS

MIN_EXPECTED_FIELDS: number = 2

Methods

fileShouldBeIgnored

  • fileShouldBeIgnored(path: string): boolean

fileShouldBeUploaded

  • fileShouldBeUploaded(path: string): boolean

Private findLastMatchingAttributes

  • findLastMatchingAttributes(path: string): IUploadAttributes

getFileTransferMode

  • getFileTransferMode(path: string, preferBinary?: boolean): TransferMode

getLocalEncoding

  • getLocalEncoding(path: string): string

getRemoteEncoding

  • getRemoteEncoding(path: string): string

Private parse

  • parse(attributesFileContents: string): void

Static loadFromFile

Generated using TypeDoc