Class: FluentCommandBuilder::TeamFoundationTEE::V101::CloakFolder
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::CloakFolder
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, server_folder) ⇒ CloakFolder
Returns a new instance of CloakFolder.
1794
1795
1796
1797
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1794
def initialize(underlying_builder, server_folder)
super underlying_builder
@b.append " workfold -cloak #{@b.format server_folder}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1810
1811
1812
1813
1814
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1810
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
1798
1799
1800
1801
1802
1803
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1798
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
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1804
1805
1806
1807
1808
1809
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1804
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
|