SchedulePredicate

SchedulePredicate

Represent SchedulePredicate for a Trigger

Constructor

new SchedulePredicate(schedule)

Create a ScheduleOncePredicate.
Parameters:
Name Type Description
schedule string Cron expression to fire trigger.

Methods

(static) fromJson(obj) → {SchedulePredicate}

This method is for internal use only.
Parameters:
Name Type Description
obj JSON object that represented a SchedulePredicate.
Returns:
SchedulePredicate instance
Type
SchedulePredicate

getEventSource() → {string}

Gets the string represented EventSource
Returns:
EventSource
Type
string

toJson() → {Object}

This method is for internal use only.
Returns:
JSON object that represented this instance.
Type
Object