Class: Gitlab::Analytics::CycleAnalytics::StageEvents::IssueCreated

Inherits:
StageEvent
  • Object
show all
Defined in:
lib/gitlab/analytics/cycle_analytics/stage_events/issue_created.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from StageEvent

#apply_negated_query_customization, #apply_query_customization, #hash_code, #html_description, #include_in, #initialize, label_based?, #timestamp_projection

Methods included from Utils::Override

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

Methods included from CycleAnalytics::MetricsTables

#build_table, #issue_metrics_table, #issue_table, #mr_closing_issues_table, #mr_diff_commits_table, #mr_diff_table, #mr_metrics_table, #mr_table, #projects_table, #routes_table, #user_table

Constructor Details

This class inherits a constructor from Gitlab::Analytics::CycleAnalytics::StageEvents::StageEvent

Class Method Details

.identifierObject


12
13
14
# File 'lib/gitlab/analytics/cycle_analytics/stage_events/issue_created.rb', line 12

def self.identifier
  :issue_created
end

.nameObject


8
9
10
# File 'lib/gitlab/analytics/cycle_analytics/stage_events/issue_created.rb', line 8

def self.name
  s_("CycleAnalyticsEvent|Issue created")
end

Instance Method Details

#column_listObject


20
21
22
# File 'lib/gitlab/analytics/cycle_analytics/stage_events/issue_created.rb', line 20

def column_list
  [issue_table[:created_at]]
end

#object_typeObject


16
17
18
# File 'lib/gitlab/analytics/cycle_analytics/stage_events/issue_created.rb', line 16

def object_type
  Issue
end