Class: FluentCommandBuilder::TeamFoundationTEE::V101::Label
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Label
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, label_name, item_spec, scope = nil) ⇒ Label
Returns a new instance of Label.
920
921
922
923
924
925
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 920
def initialize(underlying_builder, label_name, item_spec, scope=nil)
super underlying_builder
@b.append " label #{@b.format label_name}"
@b.append "@#{@b.format scope}" unless scope.nil?
@b.append " #{@b.format item_spec}"
end
|
Instance Method Details
#child(lock_type) {|@b| ... } ⇒ Object
941
942
943
944
945
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 941
def child(lock_type)
@b.append " -child:#{@b.format lock_type}"
yield @b if block_given?
self
end
|
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
957
958
959
960
961
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 957
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
936
937
938
939
940
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 936
def ()
@b.append " -comment:#{@b.format }"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
951
952
953
954
955
956
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 951
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
|
#owner(owner_name) {|@b| ... } ⇒ Object
926
927
928
929
930
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 926
def owner(owner_name)
@b.append " -owner:#{@b.format owner_name}"
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
946
947
948
949
950
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 946
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
931
932
933
934
935
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 931
def version(version_spec)
@b.append " -version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|