@nomiclabs/buidler > BuidlerContext

Class: BuidlerContext

Hierarchy

BuidlerContext

Index

Properties

Methods


Properties

configExtenders

● configExtenders: ConfigExtender[] = []

Defined in internal/context.ts:43


env

● env: BuidlerRuntimeEnvironment

Defined in internal/internalTypes.ts:8


<Optional> environment

● environment: BuidlerRuntimeEnvironment

Defined in internal/context.ts:41


extendersManager

● extendersManager: ExtenderManager = new ExtenderManager()

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


loadedPlugins

● loadedPlugins: string[] = []

Defined in internal/context.ts:42


tasksDSL

● tasksDSL: TasksDSL = new TasksDSL()

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


Methods

getBuidlerRuntimeEnvironment

getBuidlerRuntimeEnvironment(): BuidlerRuntimeEnvironment

Defined in internal/context.ts:52

Returns: BuidlerRuntimeEnvironment


setBuidlerRuntimeEnvironment

setBuidlerRuntimeEnvironment(env: BuidlerRuntimeEnvironment): void

Defined in internal/context.ts:45

Parameters:

Name Type
env BuidlerRuntimeEnvironment

Returns: void


setPluginAsLoaded

setPluginAsLoaded(pluginName: string): void

Defined in internal/context.ts:59

Parameters:

Name Type
pluginName string

Returns: void


<Static> createBuidlerContext

createBuidlerContext(): BuidlerContext

Defined in internal/context.ts:15

Returns: BuidlerContext


<Static> deleteBuidlerContext

deleteBuidlerContext(): void

Defined in internal/context.ts:34

Returns: void


<Static> getBuidlerContext

getBuidlerContext(): BuidlerContext

Defined in internal/context.ts:25

Returns: BuidlerContext


<Static> isCreated

isCreated(): boolean

Defined in internal/context.ts:10

Returns: boolean