Class: FluentCommandBuilder::TeamFoundationTEE::V101::History

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

Returns a new instance of History.



858
859
860
861
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 858

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)


913
914
915
916
917
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 913

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)


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

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

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

Yields:

  • (@b)


892
893
894
895
896
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 892

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

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

Yields:

  • (@b)


902
903
904
905
906
907
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 902

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)


897
898
899
900
901
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 897

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


887
888
889
890
891
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 887

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

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

Yields:

  • (@b)


908
909
910
911
912
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 908

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

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

Yields:

  • (@b)


867
868
869
870
871
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 867

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

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

Yields:

  • (@b)


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

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)


862
863
864
865
866
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 862

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