Class: AWS::Flow::DecisionContext

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (DecisionContext) initialize(activity_client, workflow_client, workflow_clock, workflow_context, decision_helper)

Returns a new instance of DecisionContext



20
21
22
23
24
25
26
# File 'aws-flow-ruby/aws-flow/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

- (Object) activity_client

Returns the value of attribute activity_client



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

def activity_client
  @activity_client
end

- (Object) decision_helper

Returns the value of attribute decision_helper



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

def decision_helper
  @decision_helper
end

- (Object) workflow_client

Returns the value of attribute workflow_client



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

def workflow_client
  @workflow_client
end

- (Object) workflow_clock

Returns the value of attribute workflow_clock



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

def workflow_clock
  @workflow_clock
end

- (Object) workflow_context

Returns the value of attribute workflow_context



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

def workflow_context
  @workflow_context
end