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:160
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:155
Abstract kind#
• kind: string
Implementation of CatalogEntityKindData.kind
Defined in src/common/catalog/catalog-entity.ts:156
metadata#
• metadata: Metadata
Defined in src/common/catalog/catalog-entity.ts:158
spec#
• spec: Spec
Defined in src/common/catalog/catalog-entity.ts:160
status#
• status: Status
Defined in src/common/catalog/catalog-entity.ts:159
Methods#
getId#
▸ getId(): string
Defined in src/common/catalog/catalog-entity.ts:169
Returns: string
getName#
▸ getName(): string
Defined in src/common/catalog/catalog-entity.ts:173
Returns: string
Abstract onContextMenuOpen#
▸ onContextMenuOpen(context: CatalogEntityContextMenuContext): void | Promise‹void›
Defined in src/common/catalog/catalog-entity.ts:179
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:178
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:177
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:180
Parameters:
| Name | Type |
|---|---|
context |
CatalogEntitySettingsContext |
Returns: void | Promise‹void›