Class: FluentCommandBuilder::TeamFoundationTEE::V100::UnmapFolder
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::UnmapFolder
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) ⇒ UnmapFolder
1648
1649
1650
1651
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1648
def initialize(underlying_builder)
super underlying_builder
@b.append ' workfold -unmap'
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1664
1665
1666
1667
1668
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1664
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
1652
1653
1654
1655
1656
1657
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1652
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
1669
1670
1671
1672
1673
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1669
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1658
1659
1660
1661
1662
1663
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1658
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
|