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.



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

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

Instance Method Details

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

Yields:

  • (@b)


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

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)


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

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