Class: JenkinsJob::Common::LogRotate
- Inherits:
- BasicObject
- Defined in:
- lib/rubyjobbuilderdsl/common/logrotate.rb
Instance Attribute Summary collapse
-
#artifact_days_to_keep_ ⇒ Object
readonly
Returns the value of attribute artifact_days_to_keep_.
-
#artifact_num_to_keep_ ⇒ Object
readonly
Returns the value of attribute artifact_num_to_keep_.
-
#days_to_keep_ ⇒ Object
readonly
Returns the value of attribute days_to_keep_.
-
#num_to_keep_ ⇒ Object
readonly
Returns the value of attribute num_to_keep_.
Instance Method Summary collapse
- #artifact_days_to_keep(value) ⇒ Object
- #artifact_num_to_keep(value) ⇒ Object
- #days_to_keep(value) ⇒ Object
- #num_to_keep(value) ⇒ Object
Instance Attribute Details
#artifact_days_to_keep_ ⇒ Object (readonly)
Returns the value of attribute artifact_days_to_keep_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/common/logrotate.rb', line 4 def artifact_days_to_keep_ @artifact_days_to_keep_ end |
#artifact_num_to_keep_ ⇒ Object (readonly)
Returns the value of attribute artifact_num_to_keep_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/common/logrotate.rb', line 4 def artifact_num_to_keep_ @artifact_num_to_keep_ end |
#days_to_keep_ ⇒ Object (readonly)
Returns the value of attribute days_to_keep_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/common/logrotate.rb', line 4 def days_to_keep_ @days_to_keep_ end |
#num_to_keep_ ⇒ Object (readonly)
Returns the value of attribute num_to_keep_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/common/logrotate.rb', line 4 def num_to_keep_ @num_to_keep_ end |
Instance Method Details
#artifact_days_to_keep(value) ⇒ Object
15 16 17 |
# File 'lib/rubyjobbuilderdsl/common/logrotate.rb', line 15 def artifact_days_to_keep(value) @artifact_days_to_keep_ = value end |
#artifact_num_to_keep(value) ⇒ Object
19 20 21 |
# File 'lib/rubyjobbuilderdsl/common/logrotate.rb', line 19 def artifact_num_to_keep(value) @artifact_num_to_keep_ = value end |
#days_to_keep(value) ⇒ Object
7 8 9 |
# File 'lib/rubyjobbuilderdsl/common/logrotate.rb', line 7 def days_to_keep(value) @days_to_keep_ = value end |
#num_to_keep(value) ⇒ Object
11 12 13 |
# File 'lib/rubyjobbuilderdsl/common/logrotate.rb', line 11 def num_to_keep(value) @num_to_keep_ = value end |