Class: Gitlab::Ci::Status::Pipeline::Factory

Inherits:
Factory
  • Object
show all
Defined in:
lib/gitlab/ci/status/pipeline/factory.rb

Class Method Summary collapse

Methods inherited from Factory

#compound_extended_status, #core_status, #extended_statuses, #fabricate!, #initialize

Constructor Details

This class inherits a constructor from Gitlab::Ci::Status::Factory

Class Method Details

.common_helpersObject


14
15
16
# File 'lib/gitlab/ci/status/pipeline/factory.rb', line 14

def self.common_helpers
  Status::Pipeline::Common
end

.extended_statusesObject


8
9
10
11
12
# File 'lib/gitlab/ci/status/pipeline/factory.rb', line 8

def self.extended_statuses
  [[Status::SuccessWarning,
    Status::Pipeline::Delayed,
    Status::Pipeline::Blocked]]
end