Skip to content

bpmn-server / Behaviour

Class: Behaviour#

Behaviour ioSpecification timer message signal

each behaviour is a class it scans def and insert itself to perform actions as required

Hierarchy#

  • Behaviour

CamundaFormData

IOBehaviour

MessageEventBehaviour

SignalEventBehaviour

TerminateBehaviour

TimerBehaviour

LoopBehaviour

ScriptBehaviour

Implements#

Table of contents#

Constructors#

Properties#

Methods#

Constructors#

constructor#

new Behaviour(node, definition): Behaviour

Parameters#

Name Type
node Node
definition any

Returns#

Behaviour

Defined in#

elements/behaviours/Behaviour.ts:40

Properties#

node#

node: Node

Implementation of#

IBehaviour.node

Defined in#

elements/behaviours/Behaviour.ts:38


definition#

definition: any

Implementation of#

IBehaviour.definition

Defined in#

elements/behaviours/Behaviour.ts:39

Methods#

restored#

restored(item): void

Parameters#

Name Type
item any

Returns#

void

Implementation of#

IBehaviour.restored

Defined in#

elements/behaviours/Behaviour.ts:45


describe#

describe(): any[]

Returns#

any[]

Implementation of#

IBehaviour.describe

Defined in#

elements/behaviours/Behaviour.ts:46


init#

init(): void

Returns#

void

Implementation of#

IBehaviour.init

Defined in#

elements/behaviours/Behaviour.ts:47


enter#

enter(item): void

Parameters#

Name Type
item Item

Returns#

void

Defined in#

elements/behaviours/Behaviour.ts:48


start#

start(item): void

Parameters#

Name Type
item Item

Returns#

void

Implementation of#

IBehaviour.start

Defined in#

elements/behaviours/Behaviour.ts:49


run#

run(item): void

Parameters#

Name Type
item Item

Returns#

void

Implementation of#

IBehaviour.run

Defined in#

elements/behaviours/Behaviour.ts:50


end#

end(item): void

Parameters#

Name Type
item Item

Returns#

void

Implementation of#

IBehaviour.end

Defined in#

elements/behaviours/Behaviour.ts:51


exit#

exit(item): void

Parameters#

Name Type
item Item

Returns#

void

Defined in#

elements/behaviours/Behaviour.ts:52


resume#

resume(item): void

Parameters#

Name Type
item Item

Returns#

void

Implementation of#

IBehaviour.resume

Defined in#

elements/behaviours/Behaviour.ts:53


getNodeAttributes#

getNodeAttributes(attributes): void

Parameters#

Name Type
attributes any[]

Returns#

void

Implementation of#

IBehaviour.getNodeAttributes

Defined in#

elements/behaviours/Behaviour.ts:54


getItemAttributes#

getItemAttributes(item, attributes): void

Parameters#

Name Type
item Item
attributes any[]

Returns#

void

Implementation of#

IBehaviour.getItemAttributes

Defined in#

elements/behaviours/Behaviour.ts:55