Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeployPluginBase

A basic deploy plugin that is specially based on single file operations (s. deployFile() method).

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected _context

_context: DeployContext

Stores the deploy context.

Accessors

canGetFileInfo

  • get canGetFileInfo(): boolean
  • Indicates if plugin is able to get information about remote files or not.

    inheritdoc

    Returns boolean

canPull

  • get canPull(): boolean
  • Indicates if plugin can pull files or not.

    inheritdoc

    Returns boolean

context

Methods

compareFiles

compareWorkspace

Protected createDataTransformerContext

Abstract deployFile

deployWorkspace

dispose

  • dispose(): void

downloadFile

getFileInfo

Protected getTargetsWithPlugins

  • Returns the others targets and their plugins.

    Parameters

    • target: DeployTarget

      The target for this plugin.

    • otherTargets: string | string[]

      The list of names of the "others" targets.

    Returns DeployTargetWithPlugins[]

    The targets and their plugins.

Protected loadDataTransformer

  • loadDataTransformer<TTarget>(target: TTarget, mode: DataTransformerMode, scriptProvider?: function): deploy_contracts.DataTransformer
  • Loads a data transformer by target.

    Type parameters

    Parameters

    • target: TTarget

      The target.

    • mode: DataTransformerMode

      The mode.

    • Optional scriptProvider: function
        • (t: TTarget): string
        • Parameters

          • t: TTarget

          Returns string

    Returns deploy_contracts.DataTransformer

    The loaded transformer.

Protected onCancelling

Protected onConfigReloaded

pullFile

pullWorkspace

Generated using TypeDoc