Execute Each Builder

ExecuteEachBuilder

ExecuteEachBuilder Objects

class ExecuteEachBuilder()

Defines the builder to configure a period of operation. With this builder you can select how repeat the operation. By days, hours or minutes.

constructor
function constructor()

Constructor

Arguments:

  • parent BaseOperationBuilder - this is a operationBaseBuilder.
  • date Date - Date when operation will be executed
  • periodicityName string - Name associated to periodicity
  • end number or Date - When periodicity ends. By repetitions or by date

days
function days(days: number) -> 'BaseOperationBuilder'

Set a difference of days in each repetition

Arguments:

  • days number

Returns:

  • BaseOperationBuilder

hours
function hours(hours: number) -> 'BaseOperationBuilder'

Set a difference of hours in each repetition

Arguments:

  • hours number

Returns:

  • BaseOperationBuilder

minutes
function minutes(minutes: number) -> 'BaseOperationBuilder'

Set a difference of minutes in each repetition

Arguments:

  • minutes number

Returns:

  • BaseOperationBuilder