Class: FluentCommandBuilder::Tf::TEE2010::DecloakFolder

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/tf_tee_2010.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#execute!, #to_s

Constructor Details

#initialize(builder, server_folder) ⇒ DecloakFolder

Returns a new instance of DecloakFolder.



1782
1783
1784
1785
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1782

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

Instance Method Details

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

Yields:

  • (@builder)


1798
1799
1800
1801
1802
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1798

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

Yields:

  • (@builder)


1786
1787
1788
1789
1790
1791
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1786

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

Yields:

  • (@builder)


1792
1793
1794
1795
1796
1797
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1792

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