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