Class: FluentCommandBuilder::TeamFoundationTEE::V100::CloakFolder

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

Returns a new instance of CloakFolder.



1676
1677
1678
1679
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1676

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

Instance Method Details

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

Yields:

  • (@b)


1692
1693
1694
1695
1696
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1692

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)


1680
1681
1682
1683
1684
1685
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1680

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)


1686
1687
1688
1689
1690
1691
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1686

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