Class: Gitlab::Analytics::CycleAnalytics::Aggregated::LabelFilter

Inherits:
Issuables::LabelFilter show all
Extended by:
Utils::Override
Defined in:
lib/gitlab/analytics/cycle_analytics/aggregated/label_filter.rb

Overview

This class makes it possible to add label filters to stage event tables

Constant Summary

Constants inherited from Issuables::BaseFilter

Issuables::BaseFilter::FILTER_ANY, Issuables::BaseFilter::FILTER_NONE

Instance Attribute Summary

Attributes included from Cache::RequestCache

#request_cache_key_block

Attributes inherited from Issuables::BaseFilter

#params

Instance Method Summary collapse

Methods included from Utils::Override

extended, extensions, included, method_added, override, prepended, queue_verification, verify!

Methods inherited from Issuables::LabelFilter

#filter, #label_names_excluded_from_priority_sort

Methods included from Cache::RequestCache

extended, #request_cache, #request_cache_key

Methods inherited from Issuables::BaseFilter

#filter

Constructor Details

#initialize(stage:, project:, group:, **kwargs) ⇒ LabelFilter

Returns a new instance of LabelFilter.



11
12
13
14
15
# File 'lib/gitlab/analytics/cycle_analytics/aggregated/label_filter.rb', line 11

def initialize(stage:, project:, group:, **kwargs)
  @stage = stage

  super(project: project, group: group, **kwargs)
end