@nomiclabs/buidler > TasksDSL

# Class: TasksDSL

# Hierarchy

TasksDSL

# Index

# Methods


# Methods

# getTaskDefinitions

getTaskDefinitions(): TasksMap

Defined in internal/core/tasks/dsl.ts:105

Returns: TasksMap The tasks container.


# internalTask

internalTask<ArgsT>(name: string, description: undefined | string, action: ActionType<ArgsT>): TaskDefinition

internalTask<ArgsT>(name: string, action: ActionType<ArgsT>): TaskDefinition

Defined in internal/core/tasks/dsl.ts:71

Type parameters:

# ArgsT : TaskArguments

Parameters:

Name Type Description
name string The task's name.
Optional description undefined | string The task's description.
Optional action ActionType<ArgsT> The task's action.

Returns: TaskDefinition A task definition.

Defined in internal/core/tasks/dsl.ts:88

Type parameters:

# ArgsT : TaskArguments

Parameters:

Name Type Description
name string The task's name.
action ActionType<ArgsT> The task's action.

Returns: TaskDefinition A task definition.


# task

task<ArgsT>(name: string, description: undefined | string, action: ActionType<ArgsT>): TaskDefinition

task<ArgsT>(name: string, action: ActionType<ArgsT>): TaskDefinition

Defined in internal/core/tasks/dsl.ts:30

Type parameters:

# ArgsT : TaskArguments

Parameters:

Name Type Description
name string The task's name.
Optional description undefined | string The task's description.
Optional action ActionType<ArgsT> The task's action.

Returns: TaskDefinition A task definition.

Defined in internal/core/tasks/dsl.ts:47

Type parameters:

# ArgsT : TaskArguments

Parameters:

Name Type Description
name string The task's name.
action ActionType<ArgsT> The task's action.

Returns: TaskDefinition A task definition.