Search
Preparing search index...
The search index is not available
symbol-bootstrap
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
symbol-bootstrap
ConfigLoader
Class ConfigLoader
Helper object that knows how to load addresses and preset files.
Hierarchy
ConfigLoader
Index
Constructors
constructor
Properties
preset
Info
Logged
Methods
apply
Value
Template
create
Preset
Data
dynamic
Default
Node
Configuration
expand
Repeat
expand
Services
Repeat
get
Default
Configuration
get
Generated
Address
Location
get
Generated
Preset
Location
load
Custom
Preset
load
Existing
Addresses
load
Existing
Addresses
If
Preset
load
Existing
Preset
Data
load
Existing
Preset
Data
If
Preset
merge
Presets
load
Assembly
load
Bundled
Preset
load
Network
Preset
load
Shared
Preset
to
Config
Constructors
constructor
new
Config
Loader
(
logger
:
Logger
)
:
ConfigLoader
Parameters
logger:
Logger
Returns
ConfigLoader
Properties
Static
preset
Info
Logged
preset
Info
Logged
:
boolean
= false
Methods
apply
Value
Template
apply
Value
Template
(
context
:
any
, value
:
any
)
:
any
Parameters
context:
any
value:
any
Returns
any
create
Preset
Data
create
Preset
Data
(
params
:
{
assembly
?:
string
;
customPreset
?:
string
;
customPresetObject
?:
CustomPreset
;
oldPresetData
?:
ConfigPreset
;
password
:
Password
;
preset
?:
string
;
workingDir
:
string
}
)
:
ConfigPreset
Parameters
params:
{
assembly
?:
string
;
customPreset
?:
string
;
customPresetObject
?:
CustomPreset
;
oldPresetData
?:
ConfigPreset
;
password
:
Password
;
preset
?:
string
;
workingDir
:
string
}
Optional
assembly
?:
string
Optional
custom
Preset
?:
string
Optional
custom
Preset
Object
?:
CustomPreset
Optional
old
Preset
Data
?:
ConfigPreset
password
:
Password
Optional
preset
?:
string
working
Dir
:
string
Returns
ConfigPreset
dynamic
Default
Node
Configuration
dynamic
Default
Node
Configuration
(
nodes
?:
Partial
<
NodePreset
>
[]
)
:
NodePreset
[]
Parameters
Optional
nodes:
Partial
<
NodePreset
>
[]
Returns
NodePreset
[]
expand
Repeat
expand
Repeat
(
presetData
:
ConfigPreset
)
:
ConfigPreset
Parameters
presetData:
ConfigPreset
Returns
ConfigPreset
expand
Services
Repeat
expand
Services
Repeat
(
context
:
any
, services
:
any
[]
)
:
any
[]
Parameters
context:
any
services:
any
[]
Returns
any
[]
Private
get
Default
Configuration
get
Default
Configuration
(
node
:
Partial
<
NodePreset
>
)
:
Partial
<
NodePreset
>
Parameters
node:
Partial
<
NodePreset
>
Returns
Partial
<
NodePreset
>
get
Generated
Address
Location
get
Generated
Address
Location
(
target
:
string
)
:
string
Parameters
target:
string
Returns
string
get
Generated
Preset
Location
get
Generated
Preset
Location
(
target
:
string
)
:
string
Parameters
target:
string
Returns
string
load
Custom
Preset
load
Custom
Preset
(
customPreset
:
undefined
|
string
, password
:
Password
)
:
CustomPreset
Parameters
customPreset:
undefined
|
string
password:
Password
Returns
CustomPreset
load
Existing
Addresses
load
Existing
Addresses
(
target
:
string
, password
:
Password
)
:
Addresses
Parameters
target:
string
password:
Password
Returns
Addresses
load
Existing
Addresses
If
Preset
load
Existing
Addresses
If
Preset
(
target
:
string
, password
:
Password
)
:
undefined
|
Addresses
Parameters
target:
string
password:
Password
Returns
undefined
|
Addresses
load
Existing
Preset
Data
load
Existing
Preset
Data
(
target
:
string
, password
:
Password
)
:
ConfigPreset
Parameters
target:
string
password:
Password
Returns
ConfigPreset
load
Existing
Preset
Data
If
Preset
load
Existing
Preset
Data
If
Preset
(
target
:
string
, password
:
Password
)
:
undefined
|
ConfigPreset
Parameters
target:
string
password:
Password
Returns
undefined
|
ConfigPreset
merge
Presets
merge
Presets
<
T
>
(
object
:
undefined
|
T
,
...
otherArgs
:
(
undefined
|
CustomPreset
)
[]
)
:
T
Type parameters
T
:
CustomPreset
<
T
>
Parameters
object:
undefined
|
T
Rest
...
otherArgs:
(
undefined
|
CustomPreset
)
[]
Returns
T
Static
load
Assembly
load
Assembly
(
preset
:
string
, assembly
:
string
, workingDir
:
string
)
:
CustomPreset
Parameters
preset:
string
assembly:
string
workingDir:
string
Returns
CustomPreset
Static
Private
load
Bundled
Preset
load
Bundled
Preset
(
presetFile
:
string
, bundledLocation
:
string
, workingDir
:
string
, errorMessage
:
string
)
:
CustomPreset
Parameters
presetFile:
string
bundledLocation:
string
workingDir:
string
errorMessage:
string
Returns
CustomPreset
Static
load
Network
Preset
load
Network
Preset
(
preset
:
string
, workingDir
:
string
)
:
CustomPreset
Parameters
preset:
string
workingDir:
string
Returns
CustomPreset
Static
load
Shared
Preset
load
Shared
Preset
(
)
:
CustomPreset
Returns
CustomPreset
Static
to
Config
to
Config
(
account
:
Account
|
PublicAccount
)
:
ConfigAccount
Parameters
account:
Account
|
PublicAccount
Returns
ConfigAccount
Exports
Config
Loader
constructor
preset
Info
Logged
apply
Value
Template
create
Preset
Data
dynamic
Default
Node
Configuration
expand
Repeat
expand
Services
Repeat
get
Default
Configuration
get
Generated
Address
Location
get
Generated
Preset
Location
load
Custom
Preset
load
Existing
Addresses
load
Existing
Addresses
If
Preset
load
Existing
Preset
Data
load
Existing
Preset
Data
If
Preset
merge
Presets
load
Assembly
load
Bundled
Preset
load
Network
Preset
load
Shared
Preset
to
Config
Generated using
TypeDoc
Helper object that knows how to load addresses and preset files.