class AzkabanScheduler::Schedule
Constants
- Stats
Attributes
id[RW]
stats[RW]
Public Class Methods
new(project_name, flow_name, options={})
click to toggle source
# File lib/azkaban_scheduler/schedule.rb, line 6 def initialize(project_name, flow_name, options={}) @project_name = project_name @flow_name = flow_name @period = options[:period] @is_recurring = !!options[:period] @time = options[:time] || Time.now.to_i @failure_emails = options[:failure_emails] @success_emails = options[:success_emails] end