Class: FluentCommandBuilder::TeamFoundationTEE::V100::Label
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Label
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, label_name, item_spec, scope = nil) ⇒ Label
Returns a new instance of Label.
888
889
890
891
892
893
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 888
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
909
910
911
912
913
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 909
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
925
926
927
928
929
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 925
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
904
905
906
907
908
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 904
def ()
@b.append " -comment:#{@b.format }"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
919
920
921
922
923
924
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 919
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
894
895
896
897
898
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 894
def owner(owner_name)
@b.append " -owner:#{@b.format owner_name}"
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
914
915
916
917
918
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 914
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
899
900
901
902
903
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 899
def version(version_spec)
@b.append " -version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|