Class: CatalogEntity<Metadata, Status, Spec>#
Type parameters#
Name | Type |
---|---|
Metadata |
Metadata : CatalogEntityMetadata = CatalogEntityMetadata |
Status |
Status : CatalogEntityStatus = CatalogEntityStatus |
Spec |
Spec : CatalogEntitySpec = CatalogEntitySpec |
Hierarchy#
- CatalogEntity
↳ WebLink
Implements#
Table of contents#
Constructors#
Properties#
Methods#
Constructors#
constructor#
• new CatalogEntity<Metadata, Status, Spec>(data
)
Type parameters#
Name | Type |
---|---|
Metadata |
Metadata : CatalogEntityMetadata = CatalogEntityMetadata |
Status |
Status : CatalogEntityStatus = CatalogEntityStatus |
Spec |
Spec : CatalogEntitySpec = CatalogEntitySpec |
Parameters#
Name | Type |
---|---|
data |
CatalogEntityData<Metadata, Status, Spec> |
Properties#
apiVersion#
• Readonly
Abstract
apiVersion: string
Implementation of#
CatalogEntityKindData.apiVersion
kind#
• Readonly
Abstract
kind: string
Implementation of#
metadata#
• metadata: Metadata
spec#
• spec: Spec
status#
• status: Status
Methods#
getId#
▸ getId(): string
Returns#
string
getName#
▸ getName(): string
Returns#
string
onContextMenuOpen#
▸ Abstract
onContextMenuOpen(context
): void
| Promise
<void>
Parameters#
Name | Type |
---|---|
context |
CatalogEntityContextMenuContext |
Returns#
void
| Promise
<void>
onRun#
▸ Optional
Abstract
onRun(context
): void
| Promise
<void>
Parameters#
Name | Type |
---|---|
context |
CatalogEntityActionContext |
Returns#
void
| Promise
<void>
onSettingsOpen#
▸ Abstract
onSettingsOpen(context
): void
| Promise
<void>
Parameters#
Name | Type |
---|---|
context |
CatalogEntitySettingsContext |
Returns#
void
| Promise
<void>