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#
Defined in#
Properties#
engine#
• engine: Engine
Implementation of#
Defined in#
listener#
• listener: EventEmitter
Implementation of#
Defined in#
configuration#
• configuration: IConfiguration
Implementation of#
Defined in#
logger#
• logger: ILogger
Implementation of#
Defined in#
definitions#
• definitions: any
Implementation of#
Defined in#
appDelegate#
• appDelegate: IAppDelegate
Implementation of#
Defined in#
dataStore#
• dataStore: IDataStore
Implementation of#
Defined in#
cache#
• cache: ICacheManager
Implementation of#
Defined in#
cron#
• cron: Cron
Implementation of#
Defined in#
error#
• error: any
Defined in#
instance#
▪ Static
Private
instance: BPMNServer
Defined in#
Accessors#
engine#
• get
engine(): Engine
Returns#
Defined in#
Methods#
status#
▸ status(): Object
Returns#
Object
Name | Type |
---|---|
version |
any |
cache |
() => any |
engineRunning |
number |
engineCalls |
number |
memoryUsage |
any |
Defined in#
getVersion#
▸ getVersion(): any
Returns#
any
Defined in#
getInstance#
▸ getInstance(): BPMNServer