Class: FluentCommandBuilder::TeamFoundationTEE::V101::ReconcileBuild

Inherits:
CommandBase
  • Object
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) ⇒ ReconcileBuild

Returns a new instance of ReconcileBuild.



1290
1291
1292
1293
1294
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1290

def initialize(underlying_builder, build_name, item_spec=nil)
  super underlying_builder
  @b.append " reconcile -buildName:#{@b.format build_name}"
  @b.append " #{@b.format item_spec}" unless item_spec.nil?
end

Instance Method Details

#recursive {|@b| ... } ⇒ Object

Yields:

  • (@b)


1306
1307
1308
1309
1310
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1306

def recursive
  @b.append ' -recursive'
  yield @b if block_given?
  self
end

#team_project(team_project_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


1295
1296
1297
1298
1299
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1295

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

Yields:

  • (@b)


1300
1301
1302
1303
1304
1305
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1300

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