Sha256: b337825f6cf33f613502cad33b896480972410ee8523018c86c1dc20fb86cb58

Contents?: true

Size: 545 Bytes

Versions: 5

Compression:

Stored size: 545 Bytes

Contents

module JenkinsJob
  module Common
    class LogRotate < BasicObject
      attr_reader :days_to_keep_, :num_to_keep_,
                  :artifact_days_to_keep_, :artifact_num_to_keep_

      def days_to_keep(value)
        @days_to_keep_ = value
      end

      def num_to_keep(value)
        @num_to_keep_ = value
      end

      def artifact_days_to_keep(value)
        @artifact_days_to_keep_ = value
      end

      def artifact_num_to_keep(value)
        @artifact_num_to_keep_ = value
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubyjobbuilderdsl-0.0.5 lib/rubyjobbuilderdsl/common/logrotate.rb
rubyjobbuilderdsl-0.0.3 lib/rubyjobbuilderdsl/common/logrotate.rb
rubyjobbuilderdsl-0.0.2 lib/rubyjobbuilderdsl/common/logrotate.rb
rubyjobbuilderdsl-0.0.1 lib/rubyjobbuilderdsl/common/logrotate.rb
rubyjobbuilderdsl-0.0.0 lib/rubyjobbuilderdsl/common/logrotate.rb