summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/status/build/factory.rb
blob: 8f420a93954aabec7ba5bcb25aad4ab82d1dbcfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Gitlab
  module Ci
    module Status
      module Build
        class Factory < Status::Factory
          private

          def extended_statuses
            [Stop, Play, Cancelable, Retryable]
          end

          def core_status
            super.extend(Status::Build::Common)
          end
        end
      end
    end
  end
end