Class: CatalogEntity ‹Metadata, Status, Spec›#
Type parameters#
▪ Metadata: CatalogEntityMetadata
▪ Status: CatalogEntityStatus
▪ Spec: CatalogEntitySpec
Hierarchy#
- CatalogEntity
↳ WebLink
Implements#
Index#
Constructors#
Properties#
Methods#
Constructors#
constructor#
+ new CatalogEntity(data: CatalogEntityData‹Metadata, Status, Spec›): CatalogEntity
Defined in src/common/catalog/catalog-entity.ts:153
Parameters:
| Name | Type |
|---|---|
data |
CatalogEntityData‹Metadata, Status, Spec› |
Returns: CatalogEntity
Properties#
Abstract apiVersion#
• apiVersion: string
Implementation of CatalogEntityKindData.apiVersion
Defined in src/common/catalog/catalog-entity.ts:148
Abstract kind#
• kind: string
Implementation of CatalogEntityKindData.kind
Defined in src/common/catalog/catalog-entity.ts:149
metadata#
• metadata: Metadata
Defined in src/common/catalog/catalog-entity.ts:151
spec#
• spec: Spec
Defined in src/common/catalog/catalog-entity.ts:153
status#
• status: Status
Defined in src/common/catalog/catalog-entity.ts:152
Methods#
getId#
▸ getId(): string
Defined in src/common/catalog/catalog-entity.ts:162
Returns: string
getName#
▸ getName(): string
Defined in src/common/catalog/catalog-entity.ts:166
Returns: string
Abstract onContextMenuOpen#
▸ onContextMenuOpen(context: CatalogEntityContextMenuContext): void | Promise‹void›
Defined in src/common/catalog/catalog-entity.ts:172
Parameters:
| Name | Type |
|---|---|
context |
CatalogEntityContextMenuContext |
Returns: void | Promise‹void›
Abstract onDetailsOpen#
▸ onDetailsOpen(context: CatalogEntityActionContext): void | Promise‹void›
Defined in src/common/catalog/catalog-entity.ts:171
Parameters:
| Name | Type |
|---|---|
context |
CatalogEntityActionContext |
Returns: void | Promise‹void›
Optional Abstract onRun#
▸ onRun(context: CatalogEntityActionContext): void | Promise‹void›
Defined in src/common/catalog/catalog-entity.ts:170
Parameters:
| Name | Type |
|---|---|
context |
CatalogEntityActionContext |
Returns: void | Promise‹void›
Abstract onSettingsOpen#
▸ onSettingsOpen(context: CatalogEntitySettingsContext): void | Promise‹void›
Defined in src/common/catalog/catalog-entity.ts:173
Parameters:
| Name | Type |
|---|---|
context |
CatalogEntitySettingsContext |
Returns: void | Promise‹void›