Class: Cyclid::API::Plugins::Notifier::Base

Inherits:
Object
  • Object
show all
Defined in:
app/cyclid/plugins/dispatcher.rb

Overview

Base class for Notifiers

Direct Known Subclasses

Local

Instance Method Summary collapse

Constructor Details

#initialize(job_id, callback_object) ⇒ Base

Returns a new instance of Base.



47
48
# File 'app/cyclid/plugins/dispatcher.rb', line 47

def initialize(job_id, callback_object)
end

Instance Method Details

#completion(success) ⇒ Object

Notify any callbacks that the job has completed



59
60
# File 'app/cyclid/plugins/dispatcher.rb', line 59

def completion(success)
end

#ended=(time) ⇒ Object

Update the JobRecord ended field



55
56
# File 'app/cyclid/plugins/dispatcher.rb', line 55

def ended=(time)
end

#status=(status) ⇒ Object

Update the JobRecord status



51
52
# File 'app/cyclid/plugins/dispatcher.rb', line 51

def status=(status)
end

#write(data) ⇒ Object

Proxy data to the log buffer



63
64
# File 'app/cyclid/plugins/dispatcher.rb', line 63

def write(data)
end