API Docs for: 0.9.3
Show:

GroupTask Class

Extends AbstractTask
Defined in: lib/task/group.js:12

Constructor

GroupTask

()

Methods

_run

(
  • parentId
)
Promise private

Inherited from AbstractTask but overwritten in lib/task/group.js:135

Run the client

Parameters:

Returns:

Promise:

applyTaskDecorators

(
  • tasks
  • decoratorList
)
Object[]

Applies all decorators

Parameters:

Returns:

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:

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:

getTasks

() Object[]

Gets the tasks assigned to this group

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

()

Inherited from AbstractTask but overwritten in lib/task/group.js:20

Initializes the instance

isActive

() Boolean

Is the task active?

Returns:

isParallel

() Boolean

Run the tasks in parallel?

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:

shouldBail

() Boolean

Bail execution when encountering the first error

Returns:

shouldEchoStdErr

() Boolean

Echo std-err output of child-process?

Returns:

shouldEchoStdOut

() Boolean

Echo std-out output of child-process?

Returns:

shouldReport

() Boolean

Should report?

Returns:

validate

()

Inherited from AbstractTask but overwritten in lib/task/group.js:44

Validates the given data