API Docs for: 0.9.3
Show:

NodeTask Class

Defined in: lib/task/node.js:8

Constructor

NodeTask

()

Defined in lib/task/node.js:8

Methods

_run

(
  • parentId
)
Promise private

Inherited from AbstractTask but overwritten in lib/task/node.js:41

Run the client

Parameters:

Returns:

Promise:

augment

()

Augments the data with default values

getClientDecoratorPlugins

() Object[]

Gets all client-decorator plugins

Returns:

getConfiguration

() Object

Gets the client configuration

Returns:

getCoverageCollector

() Collector

Gets the coverage collector

Returns:

Collector:

getDecorators

() Object[]

Gets the decorator list

Returns:

getGlobalConfig

() Object

Gets the global configuration

Returns:

getLabel

() String

Gets the label of the task

Returns:

getName

() String

Gets the name of the preceptor task

Returns:

getOptions

() Object

Gets the options

Returns:

getPath

() String

Defined in lib/task/node.js:30

Gets the path of the file to require

Returns:

getPlugins

() Object

Gets all plugins

Returns:

getReportManager

() ReportManager

Gets the report manager

Returns:

ReportManager:

getTaskDecoratorPlugins

() AbstractTaskDecorator[]

Gets all options-decorator plugins

getTaskId

() String

Gets a unique id for the task

Returns:

getTaskPlugin

(
  • name
)
AbstractTask

Gets a specific task plugin

Parameters:

Returns:

getTitle

() String

Gets the title of the preceptor task

Returns:

getType

() String

Gets the type of the preceptor task

Returns:

inDebug

() Boolean

Is the task in debug-mode?

Returns:

initialize

()

Initializes the instance

isActive

() Boolean

Is the task active?

Returns:

isSuite

() Boolean

Run tasks in a suite?

Returns:

isVerbose

() Boolean

Is the task verbose?

Returns:

run

(
  • parentId
)
Promise

Run the task

Parameters:

Returns:

Promise:

runClient

(
  • parentId
  • clientPath
)
Promise

Runs the client in a forked environment

Parameters:

Returns:

Promise:

shouldEchoStdErr

() Boolean

Echo std-err output of child-process?

Returns:

shouldEchoStdOut

() Boolean

Echo std-out output of child-process?

Returns:

shouldFailOnError

() Boolean

Should task fail on error?

Returns:

shouldReport

() Boolean

Should report?

Returns:

validate

()

Inherited from AbstractTask but overwritten in lib/task/node.js:16

Validates the given data