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



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

def deregister
  raise AbstractMethodNotOverriddenError, 'EventCondition#deregister must be overridden in subclasses'
end

#registerObject



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

def register
  raise AbstractMethodNotOverriddenError, 'EventCondition#register must be overridden in subclasses'
end