Skip to content

bpmn-server / BPMNServer

Class: BPMNServer#

The main class of Server Layer provides the full functionalities:

    at start of the app:
        new BPMNServer(configuration,options);

    after that point:

        BPMNServer.engine.start(...)
        BPMNServer.engine.invoke(...)
        BPMNServer.dataStore.findInstances(...)
        BPMNServer.dataStore.findItems(...)

Implements#

Table of contents#

Constructors#

Properties#

Accessors#

Methods#

Constructors#

constructor#

new BPMNServer(configuration, logger?, options?): BPMNServer

Server Constructor

Parameters#

Name Type Description
configuration IConfiguration see
logger? ILogger
options Object -

Returns#

BPMNServer

Defined in#

server/BPMNServer.ts:64

Properties#

engine#

engine: Engine

Implementation of#

IBPMNServer.engine

Defined in#

server/BPMNServer.ts:44


listener#

listener: EventEmitter

Implementation of#

IBPMNServer.listener

Defined in#

server/BPMNServer.ts:45


configuration#

configuration: IConfiguration

Implementation of#

IBPMNServer.configuration

Defined in#

server/BPMNServer.ts:46


logger#

logger: ILogger

Implementation of#

IBPMNServer.logger

Defined in#

server/BPMNServer.ts:47


definitions#

definitions: any

Implementation of#

IBPMNServer.definitions

Defined in#

server/BPMNServer.ts:48


appDelegate#

appDelegate: IAppDelegate

Implementation of#

IBPMNServer.appDelegate

Defined in#

server/BPMNServer.ts:49


dataStore#

dataStore: IDataStore

Implementation of#

IBPMNServer.dataStore

Defined in#

server/BPMNServer.ts:50


cache#

cache: ICacheManager

Implementation of#

IBPMNServer.cache

Defined in#

server/BPMNServer.ts:51


cron#

cron: Cron

Implementation of#

IBPMNServer.cron

Defined in#

server/BPMNServer.ts:52


error#

error: any

Defined in#

server/BPMNServer.ts:53


instance#

Static Private instance: BPMNServer

Defined in#

server/BPMNServer.ts:55

Accessors#

engine#

get engine(): Engine

Returns#

Engine

Defined in#

server/BPMNServer.ts:117

Methods#

status#

status(): Object

Returns#

Object

Name Type
version any
cache () => any
engineRunning number
engineCalls number
memoryUsage any

Defined in#

server/BPMNServer.ts:93


getVersion#

getVersion(): any

Returns#

any

Defined in#

server/BPMNServer.ts:102


getInstance#

getInstance(): BPMNServer

Returns#

BPMNServer

Defined in#

server/BPMNServer.ts:120