bpmn-server / Loop
Class: Loop#
Table of contents#
Constructors#
Properties#
Methods#
Constructors#
constructor#
• new Loop(node
, token
, dataObject?
): Loop
Parameters#
Name | Type |
---|---|
node |
Node |
token |
Token |
dataObject? |
any |
Returns#
Defined in#
Properties#
id#
• id: any
Defined in#
node#
• node: any
Defined in#
ownerToken#
• ownerToken: any
Defined in#
definition#
• definition: LoopBehaviour
Defined in#
sequence#
• sequence: any
Defined in#
dataPath#
• dataPath: any
Defined in#
items#
• items: any
[]
Defined in#
completed#
• completed: any
Defined in#
Methods#
isSequential#
▸ isSequential(): any
Returns#
any
Defined in#
isStandard#
▸ isStandard(): boolean
Returns#
boolean
Defined in#
save#
▸ save(): Object
Returns#
Object
Name | Type |
---|---|
id |
any |
nodeId |
any |
ownerTokenId |
any |
dataPath |
any |
items |
any [] |
completed |
any |
sequence |
any |
Defined in#
load#
▸ load(execution
, dataObject
): Loop
Parameters#
Name | Type |
---|---|
execution |
any |
dataObject |
any |
Returns#
Defined in#
getKeyName#
▸ getKeyName(): string
Returns#
string
Defined in#
isDone#
▸ isDone(): boolean
Returns#
boolean
Defined in#
getNext#
▸ getNext(): any
Returns#
any
Defined in#
checkStart#
▸ checkStart(token
): Promise
\<boolean
>
Parameters#
Name | Type |
---|---|
token |
any |
Returns#
Promise
\<boolean
>
Defined in#
cancel#
▸ cancel(fromItem
): Promise
\<void
>
Parameters#
Name | Type |
---|---|
fromItem |
any |
Returns#
Promise
\<void
>
Defined in#
checkNext#
▸ checkNext(token
): Promise
\<boolean
>
Parameters#
Name | Type |
---|---|
token |
Token |
Returns#
Promise
\<boolean
>