Class: FluentCommandBuilder::TeamFoundationTEE::V100::ShowServerFolderMappings
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::ShowServerFolderMappings
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, server_folder) ⇒ ShowServerFolderMappings
Returns a new instance of ShowServerFolderMappings.
1602
1603
1604
1605
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1602
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
1618
1619
1620
1621
1622
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1618
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
1606
1607
1608
1609
1610
1611
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1606
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
1612
1613
1614
1615
1616
1617
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1612
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
|