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