Class: God::EventCondition

Inherits:
Condition show all
Defined in:
lib/god/condition.rb

Direct Known Subclasses

Conditions::ProcessExits

Instance Attribute Summary

Attributes inherited from Condition

#info, #notify, #phase, #transition

Attributes inherited from Behavior

#watch

Instance Method Summary collapse

Methods inherited from Condition

#friendly_name, generate, valid?

Methods inherited from Behavior

#after_restart, #after_start, #after_stop, #before_restart, #before_start, #before_stop, #friendly_name, generate, #valid?

Methods included from Configurable

#base_name, #complain, complain, #friendly_name, #prepare, #reset, #valid?

Instance Method Details

#deregisterObject



73
74
75
# File 'lib/god/condition.rb', line 73

def deregister
  raise AbstractMethodNotOverriddenError.new("EventCondition#deregister must be overridden in subclasses")
end

#registerObject



69
70
71
# File 'lib/god/condition.rb', line 69

def register
  raise AbstractMethodNotOverriddenError.new("EventCondition#register must be overridden in subclasses")
end