Class: FluentCommandBuilder::TeamFoundationTEE::V101::History
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::History
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.
859
860
861
862
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 859
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
914
915
916
917
918
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 914
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
883
884
885
886
887
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 883
def format(format)
@b.append " -format:#{@b.format format}"
yield @b if block_given?
self
end
|
#item_mode {|@b| ... } ⇒ Object
893
894
895
896
897
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 893
def item_mode
@b.append ' -itemMode'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
903
904
905
906
907
908
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 903
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
898
899
900
901
902
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 898
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
873
874
875
876
877
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 873
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#slot_mode {|@b| ... } ⇒ Object
888
889
890
891
892
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 888
def slot_mode
@b.append ' -slotMode'
yield @b if block_given?
self
end
|
#sort(sort) {|@b| ... } ⇒ Object
909
910
911
912
913
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 909
def sort(sort)
@b.append " -sort:#{@b.format sort}"
yield @b if block_given?
self
end
|
#stop_after(number) {|@b| ... } ⇒ Object
868
869
870
871
872
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 868
def stop_after(number)
@b.append " -stopAfter:#{@b.format number}"
yield @b if block_given?
self
end
|
#user(user_name) {|@b| ... } ⇒ Object
878
879
880
881
882
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 878
def user(user_name)
@b.append " -user:#{@b.format user_name}"
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
863
864
865
866
867
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 863
def version(version_spec)
@b.append " -version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|