Skip to content

behaviour

ralphhanna edited this page Dec 18, 2023 · 3 revisions

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

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

definition

definition: any

Implementation of

IBehaviour.definition

Defined in

elements/behaviours/Behaviour.ts:39


node

node: Node

Implementation of

IBehaviour.node

Defined in

elements/behaviours/Behaviour.ts:38

Methods

describe

describe(): any[]

Returns

any[]

Implementation of

IBehaviour.describe

Defined in

elements/behaviours/Behaviour.ts:46


end

end(item): void

Parameters

Name Type
item Item

Returns

void

Implementation of

IBehaviour.end

Defined in

elements/behaviours/Behaviour.ts:51


enter

enter(item): void

Parameters

Name Type
item Item

Returns

void

Defined in

elements/behaviours/Behaviour.ts:48


exit

exit(item): void

Parameters

Name Type
item Item

Returns

void

Defined in

elements/behaviours/Behaviour.ts:52


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


getNodeAttributes

getNodeAttributes(attributes): void

Parameters

Name Type
attributes any[]

Returns

void

Implementation of

IBehaviour.getNodeAttributes

Defined in

elements/behaviours/Behaviour.ts:54


init

init(): void

Returns

void

Implementation of

IBehaviour.init

Defined in

elements/behaviours/Behaviour.ts:47


restored

restored(item): void

Parameters

Name Type
item any

Returns

void

Implementation of

IBehaviour.restored

Defined in

elements/behaviours/Behaviour.ts:45


resume

resume(item): void

Parameters

Name Type
item Item

Returns

void

Implementation of

IBehaviour.resume

Defined in

elements/behaviours/Behaviour.ts:53


run

run(item): void

Parameters

Name Type
item Item

Returns

void

Implementation of

IBehaviour.run

Defined in

elements/behaviours/Behaviour.ts:50


start

start(item): void

Parameters

Name Type
item Item

Returns

void

Implementation of

IBehaviour.start

Defined in

elements/behaviours/Behaviour.ts:49

Clone this wiki locally