Class: FluentCommandBuilder::TeamFoundationTEE::V100::History
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::History
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.
826
827
828
829
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 826
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
881
882
883
884
885
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 881
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
850
851
852
853
854
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 850
def format(format)
@b.append " -format:#{@b.format format}"
yield @b if block_given?
self
end
|
#item_mode {|@b| ... } ⇒ Object
860
861
862
863
864
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 860
def item_mode
@b.append ' -itemMode'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
870
871
872
873
874
875
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 870
def login(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
865
866
867
868
869
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 865
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
840
841
842
843
844
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 840
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#slot_mode {|@b| ... } ⇒ Object
855
856
857
858
859
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 855
def slot_mode
@b.append ' -slotMode'
yield @b if block_given?
self
end
|
#sort(sort) {|@b| ... } ⇒ Object
876
877
878
879
880
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 876
def sort(sort)
@b.append " -sort:#{@b.format sort}"
yield @b if block_given?
self
end
|
#stop_after(number) {|@b| ... } ⇒ Object
835
836
837
838
839
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 835
def stop_after(number)
@b.append " -stopAfter:#{@b.format number}"
yield @b if block_given?
self
end
|
#user(user_name) {|@b| ... } ⇒ Object
845
846
847
848
849
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 845
def user(user_name)
@b.append " -user:#{@b.format user_name}"
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
830
831
832
833
834
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 830
def version(version_spec)
@b.append " -version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|