Skip to content

definition

ralphhanna edited this page Dec 18, 2023 · 3 revisions

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

Definition

Defined in

elements/Definition.ts:34

Properties

accessRules

accessRules: any[] = []

Implementation of

IDefinition.accessRules

Defined in

elements/Definition.ts:33


flows

flows: any[] = []

Implementation of

IDefinition.flows

Defined in

elements/Definition.ts:28


logger

logger: any

Implementation of

IDefinition.logger

Defined in

elements/Definition.ts:30


moddle

moddle: any

Defined in

elements/Definition.ts:32


name

name: any

Implementation of

IDefinition.name

Defined in

elements/Definition.ts:24


nodes

nodes: Map<any, any>

Implementation of

IDefinition.nodes

Defined in

elements/Definition.ts:27


processes

processes: Map<any, any>

Implementation of

IDefinition.processes

Defined in

elements/Definition.ts:25


rootElements

rootElements: any

Implementation of

IDefinition.rootElements

Defined in

elements/Definition.ts:26


server

server: any

Defined in

elements/Definition.ts:31


source

source: any

Implementation of

IDefinition.source

Defined in

elements/Definition.ts:29

Methods

getDefinition

getDefinition(source, logger): Promise<any>

Parameters

Name Type
source any
logger any

Returns

Promise<any>

Implementation of

IDefinition.getDefinition

Defined in

elements/Definition.ts:297


getFields

getFields(elementId): Promise<any>

Parameters

Name Type
elementId any

Returns

Promise<any>

Defined in

elements/Definition.ts:310


getJson

getJson(): string

Returns

string

Implementation of

IDefinition.getJson

Defined in

elements/Definition.ts:275


getNodeById

getNodeById(id): any

Parameters

Name Type
id any

Returns

any

Implementation of

IDefinition.getNodeById

Defined in

elements/Definition.ts:335


getStartNode

getStartNode(): any

Returns

any

Implementation of

IDefinition.getStartNode

Defined in

elements/Definition.ts:332


getStartNodes

getStartNodes(userInvokable?): any[]

Parameters

Name Type Default value
userInvokable boolean false

Returns

any[]

Defined in

elements/Definition.ts:321


load

load(): Promise<any>

Returns

Promise<any>

Implementation of

IDefinition.load

Defined in

elements/Definition.ts:134


loadProcess

loadProcess(definition, processElement, parentProcess): Process

Parameters

Name Type
definition any
processElement any
parentProcess any

Returns

Process

Defined in

elements/Definition.ts:44

Clone this wiki locally