bpmn-server / IModelCheck
Interface: IModelCheck#
A model check an add-on registers: of each element, of each process, and the decision files the model uses through it.
Table of contents#
Properties#
Methods#
Properties#
name#
• name: string
whose, for a check that fails
Defined in#
packages/bpmn-server/src/engine/AddOns.ts:76
Methods#
verifyNode#
▸ verifyNode(check, node, def): void | Promise\<void>
Checks of a process's element (node the engine's, def its model element) when a model is verified.
Parameters#
| Name | Type |
|---|---|
check |
IAddOnModelCheck |
node |
any |
def |
any |
Returns#
void | Promise\<void>
Defined in#
packages/bpmn-server/src/engine/AddOns.ts:78
verifyProcess#
▸ verifyProcess(check, proc, def): void | Promise\<void>
Checks of a process (proc the engine's, def its model element).
Parameters#
| Name | Type |
|---|---|
check |
IAddOnModelCheck |
proc |
any |
def |
any |
Returns#
void | Promise\<void>
Defined in#
packages/bpmn-server/src/engine/AddOns.ts:80
decisionFiles#
▸ decisionFiles(definition, folder): IAddOnDecisionFile[] | Promise\<IAddOnDecisionFile[]>
The decision files a model uses through it.
Parameters#
| Name | Type |
|---|---|
definition |
any |
folder |
string |
Returns#
IAddOnDecisionFile[] | Promise\<IAddOnDecisionFile[]>
Defined in#
packages/bpmn-server/src/engine/AddOns.ts:82
verifyModel#
▸ verifyModel(check, model): void | Promise\<void>
Checks of the whole model, once: its source, its definition, and the decision files it uses (its business rule tasks' and the add-ons'), each with its text, those whose actors are read.
Parameters#
| Name | Type |
|---|---|
check |
IAddOnModelCheck |
model |
Object |
model.source |
string |
model.definition |
any |
model.decisions |
{ what: string ; text: string }[] |
Returns#
void | Promise\<void>
Defined in#
packages/bpmn-server/src/engine/AddOns.ts:87