Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SimpleFileToDownload

A simple implementation of a file to download.

Hierarchy

  • SimpleFileToDownload

Implements

Index

Constructors

constructor

Properties

Private _NAME_AND_PATH

_NAME_AND_PATH: WithNameAndPath

Name and relative path information.

file

file: string

The path to the (local) file.

workspace

workspace: Workspace

the underlying workspace.

Accessors

name

  • get name(): string

path

  • get path(): string

Methods

onBeforeDownload

  • onBeforeDownload(): Promise<void>
  • The method that should be invoked BEFORE a download of that file starts.

    Returns Promise<void>

onDownloadCompleted

  • onDownloadCompleted(): Promise<void>
  • The method that should be invoked AFTER a download of that file has been finished.

    Returns Promise<void>

Generated using TypeDoc