factory.rb 398 Bytes
Newer Older
Kamil Trzcinski's avatar
Kamil Trzcinski committed
1 2 3 4 5
module Gitlab
  module Ci
    module Status
      module Build
        class Factory < Status::Factory
6 7 8
          def self.extended_statuses
            [Status::Build::Stop, Status::Build::Play,
             Status::Build::Cancelable, Status::Build::Retryable]
Kamil Trzcinski's avatar
Kamil Trzcinski committed
9 10
          end

11 12
          def self.common_helpers
            Status::Build::Common
Kamil Trzcinski's avatar
Kamil Trzcinski committed
13 14 15 16 17 18
          end
        end
      end
    end
  end
end