Class: FluentCommandBuilder::TeamFoundationTEE::V100::Undo
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Undo
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, item_spec) ⇒ Undo
Returns a new instance of Undo.
1493
1494
1495
1496
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1493
def initialize(underlying_builder, item_spec)
super underlying_builder
@b.append " undo #{@b.format item_spec}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1519
1520
1521
1522
1523
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1519
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1513
1514
1515
1516
1517
1518
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1513
def login(username, password=nil)
@b.append " -login:#{@b.format username}"
@b.append ",#{@b.format_password password}" unless password.nil?
yield @b if block_given?
self
end
|
#no_prompt {|@b| ... } ⇒ Object
1508
1509
1510
1511
1512
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1508
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
1503
1504
1505
1506
1507
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1503
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1497
1498
1499
1500
1501
1502
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1497
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
|