bpmn-server / Definition
Class: Definition#
Implements#
Table of contents#
Constructors#
Properties#
Methods#
Constructors#
constructor#
• new Definition(name
, source
, server
): Definition
Parameters#
Name | Type |
---|---|
name |
string |
source |
string |
server |
BPMNServer |
Returns#
Defined in#
Properties#
name#
• name: any
Implementation of#
Defined in#
processes#
• processes: Map
\<any
, any
>
Implementation of#
Defined in#
rootElements#
• rootElements: any
Implementation of#
Defined in#
nodes#
• nodes: Map
\<any
, any
>
Implementation of#
Defined in#
flows#
• flows: any
[] = []
Implementation of#
Defined in#
source#
• source: any
Implementation of#
Defined in#
logger#
• logger: any
Implementation of#
Defined in#
server#
• server: any
Defined in#
moddle#
• moddle: any
Defined in#
accessRules#
• accessRules: any
[] = []
Implementation of#
Defined in#
Methods#
loadProcess#
▸ loadProcess(definition
, processElement
, parentProcess
): Process
Parameters#
Name | Type |
---|---|
definition |
any |
processElement |
any |
parentProcess |
any |
Returns#
Defined in#
load#
▸ load(): Promise
\<any
>
Returns#
Promise
\<any
>
Implementation of#
Defined in#
getJson#
▸ getJson(): string
Returns#
string
Implementation of#
Defined in#
getDefinition#
▸ getDefinition(source
, logger
): Promise
\<any
>
Parameters#
Name | Type |
---|---|
source |
any |
logger |
any |
Returns#
Promise
\<any
>
Implementation of#
Defined in#
getFields#
▸ getFields(elementId
): Promise
\<any
>
Parameters#
Name | Type |
---|---|
elementId |
any |
Returns#
Promise
\<any
>
Defined in#
getStartNodes#
▸ getStartNodes(userInvokable?
): any
[]
Parameters#
Name | Type | Default value |
---|---|---|
userInvokable |
boolean |
false |
Returns#
any
[]
Defined in#
getStartNode#
▸ getStartNode(): any
Returns#
any
Implementation of#
Defined in#
getNodeById#
▸ getNodeById(id
): any
Parameters#
Name | Type |
---|---|
id |
any |
Returns#
any