Class: FluentCommandBuilder::TeamFoundation::V100::MapFolder
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::MapFolder
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, local_folder) ⇒ MapFolder
1900
1901
1902
1903
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1900
def initialize(underlying_builder, server_folder, local_folder)
super underlying_builder
@b.append " workfold /map #{@b.format server_folder} #{@b.format local_folder}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1916
1917
1918
1919
1920
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1916
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
1904
1905
1906
1907
1908
1909
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1904
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
1910
1911
1912
1913
1914
1915
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1910
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
|