Class: AWS::Flow::DecisionContext

Inherits:
Object
  • Object
show all
Defined in:
lib/aws/decider/decision_context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(activity_client, workflow_client, workflow_clock, workflow_context, decision_helper) ⇒ DecisionContext

Returns a new instance of DecisionContext.



20
21
22
23
24
25
26
# File 'lib/aws/decider/decision_context.rb', line 20

def initialize(activity_client, workflow_client, workflow_clock, workflow_context, decision_helper)
  @activity_client = activity_client
  @workflow_client = workflow_client
  @workflow_clock = workflow_clock
  @workflow_context = workflow_context
  @decision_helper = decision_helper
end

Instance Attribute Details

#activity_clientObject

Returns the value of attribute activity_client.



19
20
21
# File 'lib/aws/decider/decision_context.rb', line 19

def activity_client
  @activity_client
end

#decision_helperObject

Returns the value of attribute decision_helper.



19
20
21
# File 'lib/aws/decider/decision_context.rb', line 19

def decision_helper
  @decision_helper
end

#workflow_clientObject

Returns the value of attribute workflow_client.



19
20
21
# File 'lib/aws/decider/decision_context.rb', line 19

def workflow_client
  @workflow_client
end

#workflow_clockObject

Returns the value of attribute workflow_clock.



19
20
21
# File 'lib/aws/decider/decision_context.rb', line 19

def workflow_clock
  @workflow_clock
end

#workflow_contextObject

Returns the value of attribute workflow_context.



19
20
21
# File 'lib/aws/decider/decision_context.rb', line 19

def workflow_context
  @workflow_context
end