Class: FluentCommandBuilder::TeamFoundationTEE::V101::UnmapFolder
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::UnmapFolder
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) ⇒ UnmapFolder
Returns a new instance of UnmapFolder.
1766
1767
1768
1769
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1766
def initialize(underlying_builder)
super underlying_builder
@b.append ' workfold -unmap'
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1782
1783
1784
1785
1786
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1782
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
1770
1771
1772
1773
1774
1775
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1770
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
|
#recursive {|@b| ... } ⇒ Object
1787
1788
1789
1790
1791
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1787
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1776
1777
1778
1779
1780
1781
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1776
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
|