Home Manual Reference Source Test Repository
public class | source

PeriodicityUpdateBuilder

Constructor Summary

Public Constructor
public

constructor(ogapi: *, taskId: *, taskObj: *)

Member Summary

Public Members
public

task_id: *

Method Summary

Public Methods
public

build(): *

public

executeEach(date: Date, end: number or Date): ExecuteEach

The operation will execute with a period that you must define with ExecuteEachBuilder

public

executeEvery(date: Date, end: number or Date): ExecuteEvery

The operation will execute with a period that you must define with ExecuteEveryBuilder

Public Constructors

public constructor(ogapi: *, taskId: *, taskObj: *) source

Params:

NameTypeAttributeDescription
ogapi *
taskId *
taskObj *

Public Members

public task_id: * source

Public Methods

public build(): * source

Return:

*

public executeEach(date: Date, end: number or Date): ExecuteEach source

The operation will execute with a period that you must define with ExecuteEachBuilder

Params:

NameTypeAttributeDescription
date Date
  • nullable: false

Date when operation will be executed

end number or Date

When periodicity ends. By repetitions or by date

Return:

ExecuteEach

Throw:

Error

throw error when date is not typeof Date

public executeEvery(date: Date, end: number or Date): ExecuteEvery source

The operation will execute with a period that you must define with ExecuteEveryBuilder

Params:

NameTypeAttributeDescription
date Date
  • nullable: false

Date when operation will be executed

end number or Date

When periodicity ends. By repetitions or by date

Return:

ExecuteEvery

Throw:

Error

throw error when date is not typeof Date