Class: FluentCommandBuilder::TeamFoundation::V100::History
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::History
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_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.
885
886
887
888
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 885
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
940
941
942
943
944
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 940
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
909
910
911
912
913
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 909
def format(format)
@b.append " /format:#{@b.format format}"
yield @b if block_given?
self
end
|
#item_mode {|@b| ... } ⇒ Object
919
920
921
922
923
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 919
def item_mode
@b.append ' /itemMode'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
929
930
931
932
933
934
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 929
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
924
925
926
927
928
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 924
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
899
900
901
902
903
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 899
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#slot_mode {|@b| ... } ⇒ Object
914
915
916
917
918
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 914
def slot_mode
@b.append ' /slotMode'
yield @b if block_given?
self
end
|
#sort(sort) {|@b| ... } ⇒ Object
935
936
937
938
939
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 935
def sort(sort)
@b.append " /sort:#{@b.format sort}"
yield @b if block_given?
self
end
|
#stop_after(number) {|@b| ... } ⇒ Object
894
895
896
897
898
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 894
def stop_after(number)
@b.append " /stopAfter:#{@b.format number}"
yield @b if block_given?
self
end
|
#user(user_name) {|@b| ... } ⇒ Object
904
905
906
907
908
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 904
def user(user_name)
@b.append " /user:#{@b.format user_name}"
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
889
890
891
892
893
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 889
def version(version_spec)
@b.append " /version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|