Class: FluentCommandBuilder::TeamFoundationTEE::V101::Reconcile

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) ⇒ Reconcile

Returns a new instance of Reconcile.



1274
1275
1276
1277
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1274

def initialize(underlying_builder)
  super underlying_builder
  @b.append ' reconcile'
end

Instance Method Details

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

Yields:

  • (@b)


1278
1279
1280
1281
1282
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1278

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)


1283
1284
1285
1286
1287
1288
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1283

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