Class: FluentCommandBuilder::TeamFoundationTEE::V101::ReconcileChangeset

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, changeset_name, item_spec = nil) ⇒ ReconcileChangeset

Returns a new instance of ReconcileChangeset.



1313
1314
1315
1316
1317
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1313

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

Instance Method Details

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

Yields:

  • (@b)


1329
1330
1331
1332
1333
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1329

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

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

Yields:

  • (@b)


1318
1319
1320
1321
1322
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1318

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)


1323
1324
1325
1326
1327
1328
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1323

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