Exception: Shikibu::WaitForTimerSignal
- Defined in:
- lib/shikibu/errors.rb
Overview
Internal signal for workflow suspension (waiting for timer)
Instance Attribute Summary collapse
-
#activity_id ⇒ Object
readonly
Returns the value of attribute activity_id.
-
#expires_at ⇒ Object
readonly
Returns the value of attribute expires_at.
-
#timer_id ⇒ Object
readonly
Returns the value of attribute timer_id.
Instance Method Summary collapse
-
#initialize(timer_id:, expires_at:, activity_id: nil) ⇒ WaitForTimerSignal
constructor
A new instance of WaitForTimerSignal.
Constructor Details
#initialize(timer_id:, expires_at:, activity_id: nil) ⇒ WaitForTimerSignal
Returns a new instance of WaitForTimerSignal.
107 108 109 110 111 112 |
# File 'lib/shikibu/errors.rb', line 107 def initialize(timer_id:, expires_at:, activity_id: nil) @timer_id = timer_id @expires_at = expires_at @activity_id = activity_id super("Waiting for timer #{timer_id}") end |
Instance Attribute Details
#activity_id ⇒ Object (readonly)
Returns the value of attribute activity_id.
105 106 107 |
# File 'lib/shikibu/errors.rb', line 105 def activity_id @activity_id end |
#expires_at ⇒ Object (readonly)
Returns the value of attribute expires_at.
105 106 107 |
# File 'lib/shikibu/errors.rb', line 105 def expires_at @expires_at end |
#timer_id ⇒ Object (readonly)
Returns the value of attribute timer_id.
105 106 107 |
# File 'lib/shikibu/errors.rb', line 105 def timer_id @timer_id end |