Class: JenkinsJob::Flow

Inherits:
Common::Common show all
Defined in:
lib/rubyjobbuilderdsl/flow.rb

Instance Attribute Summary collapse

Attributes inherited from Common::Common

#builder, #concurrent_, #desc_, #logrotate_, #node_, #parameters_, #postbuild_, #properties_, #quiet_period_, #scm_, #triggers_, #wrappers_

Instance Method Summary collapse

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

#nameObject (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