Class: FluentCommandBuilder::Tf::TEE2010::ShowServerFolderMappings
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::TEE2010::ShowServerFolderMappings
- Defined in:
- lib/fluent_command_builder/command_builders/tf_tee_2010.rb
Instance Method Summary collapse
- #collection(team_project_collection_url) {|@builder| ... } ⇒ Object
-
#initialize(builder, server_folder) ⇒ ShowServerFolderMappings
constructor
A new instance of ShowServerFolderMappings.
- #login(username, password = nil) {|@builder| ... } ⇒ Object
- #workspace(workspace_name, workspace_owner = nil) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, server_folder) ⇒ ShowServerFolderMappings
Returns a new instance of ShowServerFolderMappings.
1685 1686 1687 1688 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1685 def initialize(builder, server_folder) super builder @builder.append " workfold #{@builder.format server_folder}" end |
Instance Method Details
#collection(team_project_collection_url) {|@builder| ... } ⇒ Object
1701 1702 1703 1704 1705 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1701 def collection(team_project_collection_url) @builder.append " -collection:#{@builder.format team_project_collection_url}" yield @builder if block_given? self end |
#login(username, password = nil) {|@builder| ... } ⇒ Object
1689 1690 1691 1692 1693 1694 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1689 def login(username, password=nil) @builder.append " -login:#{@builder.format username}" @builder.append ",#{@builder.format password}" unless password.nil? yield @builder if block_given? self end |
#workspace(workspace_name, workspace_owner = nil) {|@builder| ... } ⇒ Object
1695 1696 1697 1698 1699 1700 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1695 def workspace(workspace_name, workspace_owner=nil) @builder.append " -workspace:#{@builder.format workspace_name}" @builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil? yield @builder if block_given? self end |