@nomiclabs/buidler > BuidlerContext

Class: BuidlerContext

Hierarchy

BuidlerContext

Index

Properties

Methods


Properties

env

● env: BuidlerRuntimeEnvironment

Defined in internal/internalTypes.ts:8


<Optional> environment

● environment: BuidlerRuntimeEnvironment

Defined in internal/context.ts:40


extendersManager

● extendersManager: ExtenderManager = new ExtenderManager()

Defined in internal/internalTypes.ts:10 Defined in internal/context.ts:39


loadedPlugins

● loadedPlugins: string[] = []

Defined in internal/context.ts:41


tasksDSL

● tasksDSL: TasksDSL = new TasksDSL()

Defined in internal/internalTypes.ts:9 Defined in internal/context.ts:38


Methods

getBuidlerRuntimeEnvironment

getBuidlerRuntimeEnvironment(): BuidlerRuntimeEnvironment

Defined in internal/context.ts:50

Returns: BuidlerRuntimeEnvironment


setBuidlerRuntimeEnvironment

setBuidlerRuntimeEnvironment(env: BuidlerRuntimeEnvironment): void

Defined in internal/context.ts:43

Parameters:

Name Type
env BuidlerRuntimeEnvironment

Returns: void


setPluginAsLoaded

setPluginAsLoaded(pluginName: string): void

Defined in internal/context.ts:57

Parameters:

Name Type
pluginName string

Returns: void


<Static> createBuidlerContext

createBuidlerContext(): BuidlerContext

Defined in internal/context.ts:14

Returns: BuidlerContext


<Static> deleteBuidlerContext

deleteBuidlerContext(): void

Defined in internal/context.ts:33

Returns: void


<Static> getBuidlerContext

getBuidlerContext(): BuidlerContext

Defined in internal/context.ts:24

Returns: BuidlerContext


<Static> isCreated

isCreated(): boolean

Defined in internal/context.ts:9

Returns: boolean