Class: FluentCommandBuilder::TeamFoundationTEE::V100::History

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, item_spec) ⇒ History

Returns a new instance of History.



827
828
829
830
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 827

def initialize(underlying_builder, item_spec)
  super underlying_builder
  @b.append " history #{@b.format item_spec}"
end

Instance Method Details

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

Yields:

  • (@b)


882
883
884
885
886
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 882

def collection(team_project_collection_url)
  @b.append " -collection:#{@b.format team_project_collection_url}"
  yield @b if block_given?
  self
end

#format(format) {|@b| ... } ⇒ Object

Yields:

  • (@b)


851
852
853
854
855
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 851

def format(format)
  @b.append " -format:#{@b.format format}"
  yield @b if block_given?
  self
end

#item_mode {|@b| ... } ⇒ Object

Yields:

  • (@b)


861
862
863
864
865
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 861

def item_mode
  @b.append ' -itemMode'
  yield @b if block_given?
  self
end

#login(username, password = nil) {|@b| ... } ⇒ Object

Yields:

  • (@b)


871
872
873
874
875
876
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 871

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

#no_prompt {|@b| ... } ⇒ Object

Yields:

  • (@b)


866
867
868
869
870
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 866

def no_prompt
  @b.append ' -noPrompt'
  yield @b if block_given?
  self
end

#recursive {|@b| ... } ⇒ Object

Yields:

  • (@b)


841
842
843
844
845
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 841

def recursive
  @b.append ' -recursive'
  yield @b if block_given?
  self
end

#slot_mode {|@b| ... } ⇒ Object

Yields:

  • (@b)


856
857
858
859
860
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 856

def slot_mode
  @b.append ' -slotMode'
  yield @b if block_given?
  self
end

#sort(sort) {|@b| ... } ⇒ Object

Yields:

  • (@b)


877
878
879
880
881
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 877

def sort(sort)
  @b.append " -sort:#{@b.format sort}"
  yield @b if block_given?
  self
end

#stop_after(number) {|@b| ... } ⇒ Object

Yields:

  • (@b)


836
837
838
839
840
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 836

def stop_after(number)
  @b.append " -stopAfter:#{@b.format number}"
  yield @b if block_given?
  self
end

#user(user_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


846
847
848
849
850
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 846

def user(user_name)
  @b.append " -user:#{@b.format user_name}"
  yield @b if block_given?
  self
end

#version(version_spec) {|@b| ... } ⇒ Object

Yields:

  • (@b)


831
832
833
834
835
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 831

def version(version_spec)
  @b.append " -version:#{@b.format version_spec}"
  yield @b if block_given?
  self
end