Class: Gitlab::Ci::Status::Pipeline::Blocked

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

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Extended

#initialize

Constructor Details

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

Class Method Details

.matches?(pipeline, user) ⇒ Boolean

Returns:

  • (Boolean)

16
17
18
# File 'lib/gitlab/ci/status/pipeline/blocked.rb', line 16

def self.matches?(pipeline, user)
  pipeline.blocked?
end

Instance Method Details

#labelObject


12
13
14
# File 'lib/gitlab/ci/status/pipeline/blocked.rb', line 12

def label
  s_('CiStatusLabel|waiting for manual action')
end

#textObject


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

def text
  s_('CiStatusText|blocked')
end