Class: Temporalio::Converters::StorageDriverWorkflowInfo
- Inherits:
-
Data
- Object
- Data
- Temporalio::Converters::StorageDriverWorkflowInfo
- Defined in:
- lib/temporalio/converters/storage_driver_workflow_info.rb,
lib/temporalio/converters/storage_driver_workflow_info.rb
Overview
Note:
WARNING: This API is experimental and may change in the future.
Identity of the workflow a payload is being stored on behalf of. Also used for workflow activities, which store against their owning workflow rather than themselves.
Instance Attribute Summary collapse
-
#id ⇒ String?
readonly
Workflow ID, if known.
-
#namespace ⇒ String
readonly
Workflow namespace.
-
#run_id ⇒ String?
readonly
Run ID, if known.
-
#type ⇒ String?
readonly
Workflow type name, if known.
Instance Method Summary collapse
-
#initialize(namespace:, id: nil, run_id: nil, type: nil) ⇒ StorageDriverWorkflowInfo
constructor
Create workflow target information.
Constructor Details
#initialize(namespace:, id: nil, run_id: nil, type: nil) ⇒ StorageDriverWorkflowInfo
Create workflow target information.
33 34 35 |
# File 'lib/temporalio/converters/storage_driver_workflow_info.rb', line 33 def initialize(namespace:, id: nil, run_id: nil, type: nil) super end |
Instance Attribute Details
#id ⇒ String? (readonly)
Returns Workflow ID, if known.
26 27 28 |
# File 'lib/temporalio/converters/storage_driver_workflow_info.rb', line 26 def id @id end |
#namespace ⇒ String (readonly)
Returns Workflow namespace.
26 27 28 |
# File 'lib/temporalio/converters/storage_driver_workflow_info.rb', line 26 def namespace @namespace end |
#run_id ⇒ String? (readonly)
Returns Run ID, if known. Unset when the run is not yet determined, such as when starting a child workflow or continuing as new.
26 27 28 |
# File 'lib/temporalio/converters/storage_driver_workflow_info.rb', line 26 def run_id @run_id end |
#type ⇒ String? (readonly)
Returns Workflow type name, if known.
26 27 28 |
# File 'lib/temporalio/converters/storage_driver_workflow_info.rb', line 26 def type @type end |