Class: FluentCommandBuilder::TeamFoundationTEE::V100::Labels
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Labels
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 = nil) ⇒ Labels
Returns a new instance of Labels.
952
953
954
955
956
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 952
def initialize(underlying_builder, label_name=nil)
super underlying_builder
@b.append ' labels'
@b.append " #{@b.format label_name}" unless label_name.nil?
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
967
968
969
970
971
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 967
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
962
963
964
965
966
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 962
def format(format)
@b.append " -format:#{@b.format format}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
972
973
974
975
976
977
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 972
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
957
958
959
960
961
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 957
def owner(owner_name)
@b.append " -owner:#{@b.format owner_name}"
yield @b if block_given?
self
end
|