Class: FluentCommandBuilder::TeamFoundation::V100::Undo
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::Undo
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_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.
1720
1721
1722
1723
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1720
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
1746
1747
1748
1749
1750
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1746
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
1740
1741
1742
1743
1744
1745
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1740
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
1735
1736
1737
1738
1739
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1735
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
1730
1731
1732
1733
1734
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1730
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1724
1725
1726
1727
1728
1729
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1724
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
|