ScriptBehaviour

Contents

bpmn-server / ScriptBehaviour

Class: ScriptBehaviour

Behaviour
ioSpecification
timer
message
signal

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

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ScriptBehaviour(node, definition): ScriptBehaviour

Parameters

Name Type
node Node
definition any

Returns

ScriptBehaviour

Inherited from

Behaviour.constructor

Defined in

elements/behaviours/Behaviour.ts:40

Properties

node

node: Node

Inherited from

Behaviour.node

Defined in

elements/behaviours/Behaviour.ts:38


definition

definition: any

Inherited from

Behaviour.definition

Defined in

elements/behaviours/Behaviour.ts:39


scripts

scripts: string[]

Defined in

elements/behaviours/Script.ts:30

Methods

restored

restored(item): void

Parameters

Name Type
item any

Returns

void

Inherited from

Behaviour.restored

Defined in

elements/behaviours/Behaviour.ts:45


enter

enter(item): void

Parameters

Name Type
item Item

Returns

void

Inherited from

Behaviour.enter

Defined in

elements/behaviours/Behaviour.ts:48


start

start(item): void

Parameters

Name Type
item Item

Returns

void

Inherited from

Behaviour.start

Defined in

elements/behaviours/Behaviour.ts:49


run

run(item): void

Parameters

Name Type
item Item

Returns

void

Inherited from

Behaviour.run

Defined in

elements/behaviours/Behaviour.ts:50


end

end(item): void

Parameters

Name Type
item Item

Returns

void

Inherited from

Behaviour.end

Defined in

elements/behaviours/Behaviour.ts:51


exit

exit(item): void

Parameters

Name Type
item Item

Returns

void

Inherited from

Behaviour.exit

Defined in

elements/behaviours/Behaviour.ts:52


resume

resume(item): void

Parameters

Name Type
item Item

Returns

void

Inherited from

Behaviour.resume

Defined in

elements/behaviours/Behaviour.ts:53


getNodeAttributes

getNodeAttributes(attributes): void

Parameters

Name Type
attributes any[]

Returns

void

Inherited from

Behaviour.getNodeAttributes

Defined in

elements/behaviours/Behaviour.ts:54


getItemAttributes

getItemAttributes(item, attributes): void

Parameters

Name Type
item Item
attributes any[]

Returns

void

Inherited from

Behaviour.getItemAttributes

Defined in

elements/behaviours/Behaviour.ts:55


init

init(): void

Returns

void

Overrides

Behaviour.init

Defined in

elements/behaviours/Script.ts:31


describe

describe(): any[]

Returns

any[]

Overrides

Behaviour.describe

Defined in

elements/behaviours/Script.ts:63