Skip to content

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#

name#

name: any

Implementation of#

IDefinition.name

Defined in#

elements/Definition.ts:24


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


nodes#

nodes: Map\<any, any>

Implementation of#

IDefinition.nodes

Defined in#

elements/Definition.ts:27


flows#

flows: any[] = []

Implementation of#

IDefinition.flows

Defined in#

elements/Definition.ts:28


source#

source: any

Implementation of#

IDefinition.source

Defined in#

elements/Definition.ts:29


logger#

logger: any

Implementation of#

IDefinition.logger

Defined in#

elements/Definition.ts:30


server#

server: any

Defined in#

elements/Definition.ts:31


moddle#

moddle: any

Defined in#

elements/Definition.ts:32


accessRules#

accessRules: any[] = []

Implementation of#

IDefinition.accessRules

Defined in#

elements/Definition.ts:33

Methods#

loadProcess#

loadProcess(definition, processElement, parentProcess): Process

Parameters#

Name Type
definition any
processElement any
parentProcess any

Returns#

Process

Defined in#

elements/Definition.ts:44


load#

load(): Promise\<any>

Returns#

Promise\<any>

Implementation of#

IDefinition.load

Defined in#

elements/Definition.ts:143


getJson#

getJson(): string

Returns#

string

Implementation of#

IDefinition.getJson

Defined in#

elements/Definition.ts:285


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:312


getFields#

getFields(elementId): Promise\<any>

Parameters#

Name Type
elementId any

Returns#

Promise\<any>

Defined in#

elements/Definition.ts:325


getStartNodes#

getStartNodes(userInvokable?): any[]

Parameters#

Name Type Default value
userInvokable boolean false

Returns#

any[]

Defined in#

elements/Definition.ts:336


getStartNode#

getStartNode(): any

Returns#

any

Implementation of#

IDefinition.getStartNode

Defined in#

elements/Definition.ts:347


getNodeById#

getNodeById(id): any

Parameters#

Name Type
id any

Returns#

any

Implementation of#

IDefinition.getNodeById

Defined in#

elements/Definition.ts:350