Class: SolidFlow::Replay::ExecutionState
- Inherits:
-
Struct
- Object
- Struct
- SolidFlow::Replay::ExecutionState
- Defined in:
- lib/solid_flow/replay.rb
Instance Attribute Summary collapse
-
#cursor_index ⇒ Object
Returns the value of attribute cursor_index.
-
#cursor_step ⇒ Object
Returns the value of attribute cursor_step.
-
#graph_signature ⇒ Object
Returns the value of attribute graph_signature.
-
#id ⇒ Object
Returns the value of attribute id.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#state ⇒ Object
Returns the value of attribute state.
-
#workflow ⇒ Object
Returns the value of attribute workflow.
Instance Method Summary collapse
Instance Attribute Details
#cursor_index ⇒ Object
Returns the value of attribute cursor_index
71 72 73 |
# File 'lib/solid_flow/replay.rb', line 71 def cursor_index @cursor_index end |
#cursor_step ⇒ Object
Returns the value of attribute cursor_step
71 72 73 |
# File 'lib/solid_flow/replay.rb', line 71 def cursor_step @cursor_step end |
#graph_signature ⇒ Object
Returns the value of attribute graph_signature
71 72 73 |
# File 'lib/solid_flow/replay.rb', line 71 def graph_signature @graph_signature end |
#id ⇒ Object
Returns the value of attribute id
71 72 73 |
# File 'lib/solid_flow/replay.rb', line 71 def id @id end |
#metadata ⇒ Object
Returns the value of attribute metadata
71 72 73 |
# File 'lib/solid_flow/replay.rb', line 71 def @metadata end |
#state ⇒ Object
Returns the value of attribute state
71 72 73 |
# File 'lib/solid_flow/replay.rb', line 71 def state @state end |
#workflow ⇒ Object
Returns the value of attribute workflow
71 72 73 |
# File 'lib/solid_flow/replay.rb', line 71 def workflow @workflow end |
Instance Method Details
#finished? ⇒ Boolean
81 82 83 |
# File 'lib/solid_flow/replay.rb', line 81 def finished? %w[completed failed cancelled].include?(state) end |