Class: JenkinsJob::BuildStep::Ant
- Inherits:
- BasicObject
- Defined in:
- lib/rubyjobbuilderdsl/buildstep/ant.rb
Instance Attribute Summary collapse
-
#buildfile_ ⇒ Object
readonly
Returns the value of attribute buildfile_.
-
#java_opts_ ⇒ Object
readonly
Returns the value of attribute java_opts_.
-
#properties_ ⇒ Object
readonly
Returns the value of attribute properties_.
-
#targets_ ⇒ Object
readonly
Returns the value of attribute targets_.
Instance Method Summary collapse
- #buildfile(value) ⇒ Object
-
#initialize ⇒ Ant
constructor
A new instance of Ant.
- #java_opts(*value) ⇒ Object
- #property(value) ⇒ Object
- #target(*value) ⇒ Object
Constructor Details
#initialize ⇒ Ant
6 7 8 9 10 |
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 6 def initialize @targets_ = [] @properties_ = {} @java_opts_ = [] end |
Instance Attribute Details
#buildfile_ ⇒ Object (readonly)
Returns the value of attribute buildfile_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 4 def buildfile_ @buildfile_ end |
#java_opts_ ⇒ Object (readonly)
Returns the value of attribute java_opts_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 4 def java_opts_ @java_opts_ end |
#properties_ ⇒ Object (readonly)
Returns the value of attribute properties_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 4 def properties_ @properties_ end |
#targets_ ⇒ Object (readonly)
Returns the value of attribute targets_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 4 def targets_ @targets_ end |
Instance Method Details
#buildfile(value) ⇒ Object
16 17 18 |
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 16 def buildfile(value) @buildfile_ = value end |
#java_opts(*value) ⇒ Object
24 25 26 |
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 24 def java_opts(*value) @java_opts_ = value end |
#property(value) ⇒ Object
20 21 22 |
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 20 def property(value) @properties_ = value end |
#target(*value) ⇒ Object
12 13 14 |
# File 'lib/rubyjobbuilderdsl/buildstep/ant.rb', line 12 def target(*value) @targets_ = value end |