Class: JenkinsJob::Postbuild::PMDPublisher
- Inherits:
- BasicObject
- Defined in:
- lib/rubyjobbuilderdsl/postbuild/pmd_publisher.rb
Instance Attribute Summary collapse
-
#pmd_results_ ⇒ Object
readonly
Returns the value of attribute pmd_results_.
-
#threshold_limit_ ⇒ Object
readonly
Returns the value of attribute threshold_limit_.
Instance Method Summary collapse
-
#initialize ⇒ PMDPublisher
constructor
A new instance of PMDPublisher.
- #pmd_results(value) ⇒ Object
- #threshold_limit(value) ⇒ Object
Constructor Details
#initialize ⇒ PMDPublisher
Returns a new instance of PMDPublisher.
6 7 8 |
# File 'lib/rubyjobbuilderdsl/postbuild/pmd_publisher.rb', line 6 def initialize @threshold_limit_ = 'low' end |
Instance Attribute Details
#pmd_results_ ⇒ Object (readonly)
Returns the value of attribute pmd_results_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/pmd_publisher.rb', line 4 def pmd_results_ @pmd_results_ end |
#threshold_limit_ ⇒ Object (readonly)
Returns the value of attribute threshold_limit_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/pmd_publisher.rb', line 4 def threshold_limit_ @threshold_limit_ end |
Instance Method Details
#pmd_results(value) ⇒ Object
10 11 12 |
# File 'lib/rubyjobbuilderdsl/postbuild/pmd_publisher.rb', line 10 def pmd_results(value) @pmd_results_ = value end |
#threshold_limit(value) ⇒ Object
14 15 16 |
# File 'lib/rubyjobbuilderdsl/postbuild/pmd_publisher.rb', line 14 def threshold_limit(value) @threshold_limit_ = value end |