Class: Gitlab::Ci::Status::Build::Factory
- Defined in:
- lib/gitlab/ci/status/build/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_helpers ⇒ Object
31 32 33 |
# File 'lib/gitlab/ci/status/build/factory.rb', line 31 def self.common_helpers Status::Build::Common end |
.extended_statuses ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/gitlab/ci/status/build/factory.rb', line 8 def self.extended_statuses [[Status::Build::Erased, Status::Build::Scheduled, Status::Build::Manual, Status::Build::Canceled, Status::Build::Created, Status::Build::Preparing, Status::Build::Pending, Status::Build::Skipped, Status::Build::WaitingForApproval], [Status::Build::WaitingForResource, Status::Build::Cancelable, Status::Build::Retryable], [Status::Build::FailedUnmetPrerequisites, Status::Build::Failed], [Status::Build::FailedAllowed, Status::Build::Unschedule, Status::Build::Play, Status::Build::Stop], [Status::Build::Action], [Status::Build::Retried]] end |