Class: FluentCommandBuilder::Tf::TEE2010::ReconcileBuild
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::TEE2010::ReconcileBuild
- Defined in:
- lib/fluent_command_builder/command_builders/tf_tee_2010.rb
Instance Method Summary collapse
-
#initialize(builder, build_name, item_spec = nil) ⇒ ReconcileBuild
constructor
A new instance of ReconcileBuild.
- #recursive {|@builder| ... } ⇒ Object
- #team_project(team_project_name) {|@builder| ... } ⇒ Object
- #workspace(workspace_name, workspace_owner = nil) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, build_name, item_spec = nil) ⇒ ReconcileBuild
Returns a new instance of ReconcileBuild.
1255 1256 1257 1258 1259 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1255 def initialize(builder, build_name, item_spec=nil) super builder @builder.append " reconcile -buildName:#{@builder.format build_name}" @builder.append " #{@builder.format item_spec}" unless item_spec.nil? end |
Instance Method Details
#recursive {|@builder| ... } ⇒ Object
1271 1272 1273 1274 1275 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1271 def recursive @builder.append ' -recursive' yield @builder if block_given? self end |
#team_project(team_project_name) {|@builder| ... } ⇒ Object
1260 1261 1262 1263 1264 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1260 def team_project(team_project_name) @builder.append " -teamProject:#{@builder.format team_project_name}" yield @builder if block_given? self end |
#workspace(workspace_name, workspace_owner = nil) {|@builder| ... } ⇒ Object
1265 1266 1267 1268 1269 1270 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1265 def workspace(workspace_name, workspace_owner=nil) @builder.append " -workspace:#{@builder.format workspace_name}" @builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil? yield @builder if block_given? self end |