--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: from_state
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: retry_in
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: retry_times
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: retry_within
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: times
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: to_state
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: within
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Condition Symbol :flapping Type: Trigger"
- !ruby/struct:SM::Flow::P 
  body: Trigger when a Task transitions to or from a state or states a given number of times within a given period.
- !ruby/struct:SM::Flow::P 
  body: Paramaters
- !ruby/struct:SM::Flow::VERB 
  body: "  Required\n    <tt>times</tt> is the number of times that the Task must transition before\n            triggering.\n    <tt>within</tt> is the number of seconds within which the Task must transition\n             the specified number of times before triggering. You may use\n             the sugar methods #seconds, #minutes, #hours, #days to clarify\n             your code (see examples).\n    --one or both of--\n    <tt>from_state</tt> is the state (as a Symbol) from which the transition must occur.\n    +to_state is the state (as a Symbol) to which the transition must occur.\n\n  Optional:\n    <tt>retry_in</tt> is the number of seconds after which to re-monitor the Task after\n               it has been disabled by the condition.\n    <tt>retry_times</tt> is the number of times after which to permanently unmonitor\n                  the Task.\n    <tt>retry_within</tt> is the number of seconds within which\n"
- !ruby/struct:SM::Flow::P 
  body: Examples
- !ruby/struct:SM::Flow::P 
  body: Trigger if
constants: []

full_name: God::Conditions::Flapping
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: prepare
- !ruby/object:RI::MethodSummary 
  name: process
- !ruby/object:RI::MethodSummary 
  name: valid?
name: Flapping
superclass: TriggerCondition
