Class: AWS::Flow::ActivityRegistrationOptions

Inherits:
ActivityOptions show all
Defined in:
aws-flow-ruby/aws-flow/lib/aws/decider/options.rb

Overview

This class is used to capture the options passed during activity declaration.

Instance Attribute Summary

Attributes inherited from ActivityOptions

#default_task_heartbeat_timeout, #default_task_list, #default_task_priority, #default_task_schedule_to_close_timeout, #default_task_schedule_to_start_timeout, #default_task_start_to_close_timeout

Class Method Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from ActivityOptions

#activity_name, #activity_name=, #exponential_retry, #get_full_options, #initialize

Methods inherited from Options

#get_options, inherited, #initialize

Constructor Details

This class inherits a constructor from AWS::Flow::ActivityOptions

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AWS::Flow::Options

Class Method Details

+ (Object) registration_options

Default registration options. These can be set only during Activity registration.

  • default_task_heartbeat_timeout
  • default_task_schedule_to_close_timeout
  • default_task_schedule_to_start_timeout
  • default_task_start_to_close_timeout


814
815
816
817
818
819
820
821
822
823
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 814

def registration_options
  [
    :default_task_heartbeat_timeout,
    :default_task_schedule_to_close_timeout,
    :default_task_schedule_to_start_timeout,
    :default_task_start_to_close_timeout,
    :default_task_list,
    :default_task_priority
  ]
end

Instance Method Details

- (Object) get_registration_options

Return the options for this Activity that are set during registration.



839
840
841
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 839

def get_registration_options
  get_options(self.class.registration_options)
end