Class: Hatchet::Features::RunFilter
- Inherits:
-
Object
- Object
- Hatchet::Features::RunFilter
- Defined in:
- lib/hatchet/features/runs.rb
Overview
Filter options for listing task runs
Instance Attribute Summary collapse
-
#additional_metadata ⇒ Object
Returns the value of attribute additional_metadata.
-
#since ⇒ Object
Returns the value of attribute since.
-
#statuses ⇒ Object
Returns the value of attribute statuses.
-
#until_time ⇒ Object
Returns the value of attribute until_time.
-
#workflow_ids ⇒ Object
Returns the value of attribute workflow_ids.
Instance Method Summary collapse
-
#initialize(since:, until_time: nil, statuses: nil, workflow_ids: nil, additional_metadata: nil) ⇒ RunFilter
constructor
A new instance of RunFilter.
Constructor Details
#initialize(since:, until_time: nil, statuses: nil, workflow_ids: nil, additional_metadata: nil) ⇒ RunFilter
Returns a new instance of RunFilter.
12 13 14 15 16 17 18 |
# File 'lib/hatchet/features/runs.rb', line 12 def initialize(since:, until_time: nil, statuses: nil, workflow_ids: nil, additional_metadata: nil) @since = since @until_time = until_time @statuses = statuses @workflow_ids = workflow_ids @additional_metadata = end |
Instance Attribute Details
#additional_metadata ⇒ Object
Returns the value of attribute additional_metadata.
10 11 12 |
# File 'lib/hatchet/features/runs.rb', line 10 def @additional_metadata end |
#since ⇒ Object
Returns the value of attribute since.
10 11 12 |
# File 'lib/hatchet/features/runs.rb', line 10 def since @since end |
#statuses ⇒ Object
Returns the value of attribute statuses.
10 11 12 |
# File 'lib/hatchet/features/runs.rb', line 10 def statuses @statuses end |
#until_time ⇒ Object
Returns the value of attribute until_time.
10 11 12 |
# File 'lib/hatchet/features/runs.rb', line 10 def until_time @until_time end |
#workflow_ids ⇒ Object
Returns the value of attribute workflow_ids.
10 11 12 |
# File 'lib/hatchet/features/runs.rb', line 10 def workflow_ids @workflow_ids end |