Class: FluentCommandBuilder::TeamFoundationTEE::V101::ReconcileForgetBuild
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::ReconcileForgetBuild
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, build_name, item_spec = nil) ⇒ ReconcileForgetBuild
Returns a new instance of ReconcileForgetBuild.
1336
1337
1338
1339
1340
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1336
def initialize(underlying_builder, build_name, item_spec=nil)
super underlying_builder
@b.append " reconcile -forgetBuild:#{@b.format build_name}"
@b.append " #{@b.format item_spec}" unless item_spec.nil?
end
|
Instance Method Details
#recursive {|@b| ... } ⇒ Object
1352
1353
1354
1355
1356
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1352
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#team_project(team_project_name) {|@b| ... } ⇒ Object
1341
1342
1343
1344
1345
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1341
def team_project(team_project_name)
@b.append " -teamProject:#{@b.format team_project_name}"
yield @b if block_given?
self
end
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1346
1347
1348
1349
1350
1351
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1346
def workspace(workspace_name, workspace_owner=nil)
@b.append " -workspace:#{@b.format workspace_name}"
@b.append ";#{@b.format workspace_owner}" unless workspace_owner.nil?
yield @b if block_given?
self
end
|