class Lacerda::Reporter

Public Class Methods

new(options = {}) click to toggle source
# File lib/lacerda/reporter.rb, line 4
def initialize(options = {})
end

Public Instance Methods

check_consumer(consuming_service) click to toggle source
# File lib/lacerda/reporter.rb, line 28
def check_consumer(consuming_service)
  # Called before all consumed objects are iterated
end
check_consuming() click to toggle source
# File lib/lacerda/reporter.rb, line 23
def check_consuming
  # Called before all consumers' consumed objects are iterated to make
  # sure they have a publisher that meets their specification.
end
check_published_object(consumed_object_name, publisher_name, publisher_exists, is_published) click to toggle source
# File lib/lacerda/reporter.rb, line 32
def check_published_object(consumed_object_name, publisher_name, publisher_exists, is_published)
  # Called after a consumed object was inspected (does a publish specification
  # for this object exist?)
end
check_publisher(publishing_service) click to toggle source
# File lib/lacerda/reporter.rb, line 12
def check_publisher(publishing_service)
  # Called before one single publisher is checked against its consumers
end
check_publishing() click to toggle source
# File lib/lacerda/reporter.rb, line 7
def check_publishing
  # Called before all publishers are iterated to check if they satisfy
  # their consumers.
end
object_publish_specification_errors(consumed_object, errors) click to toggle source
# File lib/lacerda/reporter.rb, line 17
def object_publish_specification_errors(consumed_object, errors)
  # Called after a consumed object's specification has been checked against
  # the publisher's specification of that object. It returns an array of
  # errors
end
result(errors) click to toggle source
# File lib/lacerda/reporter.rb, line 37
def result(errors)
  # Called when everything is done with an array of errors. If that array
  # is empty, go ahead and assume all specifications are valid
end