Class: FluentCommandBuilder::TeamFoundation::V100::ShowServerFolderMappings
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::ShowServerFolderMappings
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, server_folder) ⇒ ShowServerFolderMappings
1877
1878
1879
1880
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1877
def initialize(underlying_builder, server_folder)
super underlying_builder
@b.append " workfold #{@b.format server_folder}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1893
1894
1895
1896
1897
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1893
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
1881
1882
1883
1884
1885
1886
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1881
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
1887
1888
1889
1890
1891
1892
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1887
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
|