class AWS::Flow::DecisionStateMachineBase

@api private

Attributes

id[R]

Public Class Methods

new(id) click to toggle source
# File lib/aws/decider/state_machines.rb, line 118
def initialize(id)
  @id = id
  @current_state = :created
end

Public Instance Methods

done?() click to toggle source
# File lib/aws/decider/state_machines.rb, line 150
def done?
  @current_state == :completed || @current_state == :completed_after_cancellation_decision_sent
end
handle_started_event(event) click to toggle source
# File lib/aws/decider/state_machines.rb, line 124
def handle_started_event(event)
  @state_history << :handle_started_event
end