Class: FluentCommandBuilder::Tf::TEE2010::ReconcileForgetBuild
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::TEE2010::ReconcileForgetBuild
- Defined in:
- lib/fluent_command_builder/command_builders/tf_tee_2010.rb
Instance Method Summary collapse
-
#initialize(builder, build_name, item_spec = nil) ⇒ ReconcileForgetBuild
constructor
A new instance of ReconcileForgetBuild.
- #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) ⇒ ReconcileForgetBuild
Returns a new instance of ReconcileForgetBuild.
1301 1302 1303 1304 1305 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1301 def initialize(builder, build_name, item_spec=nil) super builder @builder.append " reconcile -forgetBuild:#{@builder.format build_name}" @builder.append " #{@builder.format item_spec}" unless item_spec.nil? end |
Instance Method Details
#recursive {|@builder| ... } ⇒ Object
1317 1318 1319 1320 1321 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1317 def recursive @builder.append ' -recursive' yield @builder if block_given? self end |
#team_project(team_project_name) {|@builder| ... } ⇒ Object
1306 1307 1308 1309 1310 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1306 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
1311 1312 1313 1314 1315 1316 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1311 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 |