Class: JenkinsJob::Flow
- Inherits:
-
Common::Common
- Object
- Common::Common
- JenkinsJob::Flow
- Defined in:
- lib/rubyjobbuilderdsl/flow.rb
Instance Attribute Summary collapse
-
#dsl_ ⇒ Object
readonly
Returns the value of attribute dsl_.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Common::Common
#builder, #concurrent_, #desc_, #logrotate_, #node_, #parameters_, #postbuild_, #properties_, #quiet_period_, #scm_, #triggers_, #wrappers_
Instance Method Summary collapse
- #dsl(value) ⇒ Object
-
#initialize(name, builder) ⇒ Flow
constructor
A new instance of Flow.
Methods inherited from Common::Common
#artifactory, #blocked_by, #concurrent, #desc, #gerrit, #git, #logrotate, #node, #parameter, #password, #password_parameter, #pollscm, #postbuild, #quiet_period, #scms, #timed, #timeout, #timestamps
Constructor Details
#initialize(name, builder) ⇒ Flow
Returns a new instance of Flow.
5 6 7 8 |
# File 'lib/rubyjobbuilderdsl/flow.rb', line 5 def initialize(name, builder) super(builder) @name = name end |
Instance Attribute Details
#dsl_ ⇒ Object (readonly)
Returns the value of attribute dsl_.
3 4 5 |
# File 'lib/rubyjobbuilderdsl/flow.rb', line 3 def dsl_ @dsl_ end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/rubyjobbuilderdsl/flow.rb', line 3 def name @name end |
Instance Method Details
#dsl(value) ⇒ Object
10 11 12 |
# File 'lib/rubyjobbuilderdsl/flow.rb', line 10 def dsl(value) @dsl_ = value end |