Class: SolidFlow::Replay::ExecutionState

Inherits:
Struct
  • Object
show all
Defined in:
lib/solid_flow/replay.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cursor_indexObject

Returns the value of attribute cursor_index

Returns:

  • (Object)

    the current value of cursor_index



71
72
73
# File 'lib/solid_flow/replay.rb', line 71

def cursor_index
  @cursor_index
end

#cursor_stepObject

Returns the value of attribute cursor_step

Returns:

  • (Object)

    the current value of cursor_step



71
72
73
# File 'lib/solid_flow/replay.rb', line 71

def cursor_step
  @cursor_step
end

#graph_signatureObject

Returns the value of attribute graph_signature

Returns:

  • (Object)

    the current value of graph_signature



71
72
73
# File 'lib/solid_flow/replay.rb', line 71

def graph_signature
  @graph_signature
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



71
72
73
# File 'lib/solid_flow/replay.rb', line 71

def id
  @id
end

#metadataObject

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



71
72
73
# File 'lib/solid_flow/replay.rb', line 71

def 
  @metadata
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



71
72
73
# File 'lib/solid_flow/replay.rb', line 71

def state
  @state
end

#workflowObject

Returns the value of attribute workflow

Returns:

  • (Object)

    the current value of workflow



71
72
73
# File 'lib/solid_flow/replay.rb', line 71

def workflow
  @workflow
end

Instance Method Details

#finished?Boolean

Returns:

  • (Boolean)


81
82
83
# File 'lib/solid_flow/replay.rb', line 81

def finished?
  %w[completed failed cancelled].include?(state)
end