Class: Temporalio::Activity::Info
- Inherits:
-
Object
- Object
- Temporalio::Activity::Info
- Defined in:
- lib/temporalio/activity/info.rb
Overview
WARNING: This class may have required parameters added to its constructor. Users should not instantiate this class or it may break in incompatible ways.
Information about an activity.
Instance Attribute Summary collapse
-
#activity_id ⇒ String
ID for the activity.
-
#activity_type ⇒ String
Type name for the activity.
-
#attempt ⇒ Integer
Attempt the activity is on.
-
#current_attempt_scheduled_time ⇒ Time
When the current attempt was scheduled.
-
#heartbeat_details ⇒ Array<Object>
Details from the last heartbeat of the last attempt.
-
#heartbeat_timeout ⇒ Float?
Heartbeat timeout set by the caller.
-
#local? ⇒ Boolean
Whether the activity is a local activity or not.
-
#schedule_to_close_timeout ⇒ Float?
Schedule to close timeout set by the caller.
-
#scheduled_time ⇒ Time
When the activity was scheduled.
-
#start_to_close_timeout ⇒ Float?
Start to close timeout set by the caller.
-
#started_time ⇒ Time
When the activity started.
-
#task_queue ⇒ String
Task queue this activity is on.
-
#task_token ⇒ String
Task token uniquely identifying this activity.
-
#workflow_id ⇒ String
Workflow ID that started this activity.
-
#workflow_namespace ⇒ String
Namespace this activity is on.
-
#workflow_run_id ⇒ String
Workflow run ID that started this activity.
-
#workflow_type ⇒ String
Workflow type name that started this activity.
Instance Attribute Details
#activity_id ⇒ String
Returns ID for the activity.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#activity_type ⇒ String
Returns Type name for the activity.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#attempt ⇒ Integer
Returns Attempt the activity is on.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#current_attempt_scheduled_time ⇒ Time
Returns When the current attempt was scheduled.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#heartbeat_details ⇒ Array<Object>
Returns Details from the last heartbeat of the last attempt.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#heartbeat_timeout ⇒ Float?
Returns Heartbeat timeout set by the caller.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#local? ⇒ Boolean
Returns Whether the activity is a local activity or not.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#schedule_to_close_timeout ⇒ Float?
Returns Schedule to close timeout set by the caller.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#scheduled_time ⇒ Time
Returns When the activity was scheduled.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#start_to_close_timeout ⇒ Float?
Returns Start to close timeout set by the caller.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#started_time ⇒ Time
Returns When the activity started.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#task_queue ⇒ String
Returns Task queue this activity is on.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#task_token ⇒ String
Returns Task token uniquely identifying this activity. Note, this is a ‘ASCII-8BIT` encoded string, not a `UTF-8` encoded string nor a valid UTF-8 string.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#workflow_id ⇒ String
Returns Workflow ID that started this activity.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#workflow_namespace ⇒ String
Returns Namespace this activity is on.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#workflow_run_id ⇒ String
Returns Workflow run ID that started this activity.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |
#workflow_type ⇒ String
Returns Workflow type name that started this activity.
65 |
# File 'lib/temporalio/activity/info.rb', line 65 class Info; end |