Class: FluentCommandBuilder::TeamFoundationTEE::V101::DecloakFolder

Inherits:
CommandBase
  • Object
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) ⇒ DecloakFolder

Returns a new instance of DecloakFolder.



1817
1818
1819
1820
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1817

def initialize(underlying_builder, server_folder)
  super underlying_builder
  @b.append " workfold -decloak #{@b.format server_folder}"
end

Instance Method Details

#collection(team_project_collection_url) {|@b| ... } ⇒ Object

Yields:

  • (@b)


1833
1834
1835
1836
1837
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1833

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

Yields:

  • (@b)


1821
1822
1823
1824
1825
1826
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1821

def (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

Yields:

  • (@b)


1827
1828
1829
1830
1831
1832
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1827

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