Class: ManualScheduler

ManualScheduler()

new ManualScheduler()

Author:
Source:

Extends

Members

manualSchedules :Array.<ManualSchedule>

Type:
Source:

observable :Observable.<ManualScheduleEventSimple>

Type:
Source:

Methods

addManualSchedule(manualSchedule) → {this}

Parameters:
Name Type Description
manualSchedule ManualSchedule
Source:
Returns:
Type
this

addSchedule(schedule) → {this}

Calls addManualSchedule() with the given Schedule.
Parameters:
Name Type Description
schedule Schedule | ManualSchedule
Source:
Returns:
Type
this

getObservableForSchedule(schedule) → {Observable.<(T|ScheduleEvent|ManualScheduleEventSimple)>}

Directly obtains and returns a ManualSchedule's Observable. However, its items are mapped to ManualScheduleEventSimple objects, to conform with the type of this method.
Parameters:
Name Type Description
schedule T | Schedule | ManualSchedule
Source:
Returns:
An Observable for the designated schedule.
Type
Observable.<(T|ScheduleEvent|ManualScheduleEventSimple)>

hasManualSchedule(manualSchedule) → {Boolean}

Parameters:
Name Type Description
manualSchedule ManualSchedule
Source:
Returns:
Type
Boolean

hasSchedule(schedule) → {Boolean}

Calls hasManualSchedule() with the given Schedule.
Parameters:
Name Type Description
schedule ManualSchedule
Source:
Returns:
Type
Boolean

(generator) preliminaryEvents(afteropt, beforeopt) → {IterableIterator.<PreliminaryScheduleEvent.<ManualSchedule, any>>}

Parameters:
Name Type Attributes Description
after Date <optional>
Optional. Defaults to undefined.
before Date <optional>
Optional. Defaults to undefined.
Source:
Returns:
Type
IterableIterator.<PreliminaryScheduleEvent.<ManualSchedule, any>>

removeAllSchedules() → {Array.<ManualSchedule>}

Removes all ManualSchedules from this scheduler. This will lead to un-scheduling all of the schedules.
Source:
Returns:
Type
Array.<ManualSchedule>

removeManualSchedule(manualSchedule) → {this}

Parameters:
Name Type Description
manualSchedule ManualSchedule
Source:
Returns:
Type
this

removeSchedule(schedule) → {this}

Calls removeManualSchedule() with the given Schedule.
Parameters:
Name Type Description
schedule ManualSchedule
Source:
Returns:
Type
this