Exception: Shikibu::WaitForChannelSignal
- Defined in:
- lib/shikibu/errors.rb
Overview
Internal signal for workflow suspension (waiting for channel message)
Instance Attribute Summary collapse
-
#activity_id ⇒ Object
readonly
Returns the value of attribute activity_id.
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
-
#timeout_at ⇒ Object
readonly
Returns the value of attribute timeout_at.
Instance Method Summary collapse
-
#initialize(channel:, mode:, timeout_at: nil, activity_id: nil) ⇒ WaitForChannelSignal
constructor
A new instance of WaitForChannelSignal.
Constructor Details
#initialize(channel:, mode:, timeout_at: nil, activity_id: nil) ⇒ WaitForChannelSignal
Returns a new instance of WaitForChannelSignal.
119 120 121 122 123 124 125 |
# File 'lib/shikibu/errors.rb', line 119 def initialize(channel:, mode:, timeout_at: nil, activity_id: nil) @channel = channel @mode = mode @timeout_at = timeout_at @activity_id = activity_id super("Waiting for message on channel #{channel}") end |
Instance Attribute Details
#activity_id ⇒ Object (readonly)
Returns the value of attribute activity_id.
117 118 119 |
# File 'lib/shikibu/errors.rb', line 117 def activity_id @activity_id end |
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
117 118 119 |
# File 'lib/shikibu/errors.rb', line 117 def channel @channel end |
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
117 118 119 |
# File 'lib/shikibu/errors.rb', line 117 def mode @mode end |
#timeout_at ⇒ Object (readonly)
Returns the value of attribute timeout_at.
117 118 119 |
# File 'lib/shikibu/errors.rb', line 117 def timeout_at @timeout_at end |