Class: SimpleToolNodeMapping
Hierarchy
-
↳
SimpleToolNodeMapping
Constructors
constructor
• new SimpleToolNodeMapping(objs?
): SimpleToolNodeMapping
Parameters
Name | Type | Default value |
---|---|---|
objs | BaseTool [] | [] |
Returns
Overrides
BaseObjectNodeMapping.constructor
Defined in
packages/core/src/objects/base.ts:94
Properties
_tools
• Private
_tools: Record
<string
, BaseTool
>
Defined in
packages/core/src/objects/base.ts:92
Methods
_addObj
▸ _addObj(tool
): void
Parameters
Name | Type |
---|---|
tool | BaseTool |
Returns
void
Overrides
Defined in
packages/core/src/objects/base.ts:110
_fromNode
▸ _fromNode(node
): BaseTool
Parameters
Name | Type |
---|---|
node | BaseNode <Metadata > |
Returns
Overrides
BaseObjectNodeMapping._fromNode
Defined in
packages/core/src/objects/base.ts:114
addObj
▸ addObj(obj
): void
Parameters
Name | Type |
---|---|
obj | BaseTool |
Returns
void
Overrides
Defined in
packages/core/src/objects/base.ts:129
fromNode
▸ fromNode(node
): BaseTool
Parameters
Name | Type |
---|---|
node | BaseNode <Metadata > |
Returns
Overrides
BaseObjectNodeMapping.fromNode
Defined in
packages/core/src/objects/base.ts:133
fromObjects
▸ fromObjects<OT
>(objs
, ...args
): BaseObjectNodeMapping
Type parameters
Name |
---|
OT |
Parameters
Name | Type |
---|---|
objs | any |
...args | any [] |
Returns
Overrides
BaseObjectNodeMapping.fromObjects
Defined in
packages/core/src/objects/base.ts:141
objNodeMapping
▸ objNodeMapping(): Record
<any
, any
>
Returns
Record
<any
, any
>
Overrides
BaseObjectNodeMapping.objNodeMapping
Defined in
packages/core/src/objects/base.ts:102
persist
▸ persist(persistDir
, objNodeMappingFilename
): void