Reference Source
public class | source

CommandTask

Extends:

Task → CommandTask

Constructor Summary

Public Constructor
public

constructor(arg_settings: object): nothing

Create a CommandTask instance.

Member Summary

Public Members
public
Private Members
private

Method Summary

Private Methods
private

_init_with_command(arg_command: TopologyDefineCommand): nothing

Init task with a Command instance.

Inherited Summary

From class Task
public
public
public

name: *

public

type: *

public

version: *

private
private
private
public

perform(args: any): nothing

Run task.

private

_run(args: any): Promise

Run task.

Public Constructors

public constructor(arg_settings: object): nothing source

Create a CommandTask instance.

Override:

Task#constructor

Params:

NameTypeAttributeDescription
arg_settings object

task settings.

Return:

nothing

Public Members

public is_task_command: boolean source

Private Members

private _process_cb: * source

Override:

Task#_process_cb

Private Methods

private _init_with_command(arg_command: TopologyDefineCommand): nothing source

Init task with a Command instance.

Params:

NameTypeAttributeDescription
arg_command TopologyDefineCommand

Command instance.

Return:

nothing