Skip to content
ralphhanna edited this page Dec 18, 2023 · 3 revisions

bpmn-server / Cron

Class: Cron

super class for various objects that are part of the server

Hierarchy

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new Cron(server): Cron

Parameters

Name Type
server IBPMNServer

Returns

Cron

Inherited from

ServerComponent.constructor

Defined in

server/ServerComponent.ts:10

Properties

server

server: any

Inherited from

ServerComponent.server

Defined in

server/ServerComponent.ts:9

Accessors

appDelegate

get appDelegate(): any

Returns

any

Inherited from

ServerComponent.appDelegate

Defined in

server/ServerComponent.ts:18


cache

get cache(): CacheManager

Returns

CacheManager

Inherited from

ServerComponent.cache

Defined in

server/ServerComponent.ts:17


configuration

get configuration(): any

Returns

any

Inherited from

ServerComponent.configuration

Defined in

server/ServerComponent.ts:14


cron

get cron(): Cron

Returns

Cron

Inherited from

ServerComponent.cron

Defined in

server/ServerComponent.ts:16


dataStore

get dataStore(): any

Returns

any

Inherited from

ServerComponent.dataStore

Defined in

server/ServerComponent.ts:20


definitions

get definitions(): any

Returns

any

Inherited from

ServerComponent.definitions

Defined in

server/ServerComponent.ts:21


engine

get engine(): IEngine

Returns

IEngine

Inherited from

ServerComponent.engine

Defined in

server/ServerComponent.ts:19


listener

get listener(): any

Returns

any

Inherited from

ServerComponent.listener

Defined in

server/ServerComponent.ts:22


logger

get logger(): any

Returns

any

Inherited from

ServerComponent.logger

Defined in

server/ServerComponent.ts:15

Methods

checkTimers

checkTimers(duration?): Promise<void>

Parameters

Name Type Default value
duration number 0

Returns

Promise<void>

Implementation of

ICron.checkTimers

Defined in

server/Cron.ts:26


start

start(): Promise<void>

Returns

Promise<void>

Implementation of

ICron.start

Defined in

server/Cron.ts:29


startTimers

startTimers(): Promise<void>

Returns

Promise<void>

Implementation of

ICron.startTimers

Defined in

server/Cron.ts:32


checkCron

checkCron(expression, referenceDateTime): number

Parameters

Name Type
expression any
referenceDateTime any

Returns

number

Defined in

server/Cron.ts:128


timeDue

timeDue(expression, referenceDateTime): any

Parameters

Name Type
expression any
referenceDateTime any

Returns

any

Defined in

server/Cron.ts:147


timerEnded

timerEnded(item): void

Parameters

Name Type
item any

Returns

void

Defined in

server/Cron.ts:22


timerScheduled

timerScheduled(timeDue): void

Parameters

Name Type
timeDue any

Returns

void

Defined in

server/Cron.ts:19

Clone this wiki locally