Class: FluentCommandBuilder::TeamFoundationTEE::V101::Undo
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Undo
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, item_spec) ⇒ Undo
Returns a new instance of Undo.
1611
1612
1613
1614
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1611
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
1637
1638
1639
1640
1641
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1637
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
1631
1632
1633
1634
1635
1636
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1631
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
1626
1627
1628
1629
1630
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1626
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
1621
1622
1623
1624
1625
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1621
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1615
1616
1617
1618
1619
1620
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1615
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
|