Class: AWS::Flow::DecisionStateMachineBase Private
- Inherits:
-
Object
- Object
- AWS::Flow::DecisionStateMachineBase
- Extended by:
- DecisionStateMachineDFA
- Defined in:
- lib/aws/decider/state_machines.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
ActivityDecisionStateMachine, ChildWorkflowDecisionStateMachine, SignalDecisionStateMachine, TimerDecisionStateMachine
Instance Attribute Summary collapse
- #id ⇒ Object readonly private
Attributes included from DecisionStateMachineDFA
#start_state, #states, #symbols, #transitions
Instance Method Summary collapse
- #done? ⇒ Boolean private
- #handle_started_event(event) ⇒ Object private
-
#initialize(id) ⇒ DecisionStateMachineBase
constructor
private
A new instance of DecisionStateMachineBase.
Methods included from DecisionStateMachineDFA
add_transition, add_transitions, get_start_state, get_transitions, init, self_transitions, uncovered_transitions
Constructor Details
#initialize(id) ⇒ DecisionStateMachineBase
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of DecisionStateMachineBase.
118 119 120 121 |
# File 'lib/aws/decider/state_machines.rb', line 118 def initialize(id) @id = id @current_state = :created end |
Instance Attribute Details
#id ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
116 117 118 |
# File 'lib/aws/decider/state_machines.rb', line 116 def id @id end |
Instance Method Details
#done? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
149 150 151 |
# File 'lib/aws/decider/state_machines.rb', line 149 def done? @current_state == :completed || @current_state == :completed_after_cancellation_decision_sent end |
#handle_started_event(event) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
124 125 126 |
# File 'lib/aws/decider/state_machines.rb', line 124 def handle_started_event(event) @state_history << :handle_started_event end |