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.
951
952
953
954
955
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 951
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
966
967
968
969
970
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 966
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
961
962
963
964
965
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 961
def format(format)
@b.append " -format:#{@b.format format}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
971
972
973
974
975
976
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 971
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
956
957
958
959
960
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 956
def owner(owner_name)
@b.append " -owner:#{@b.format owner_name}"
yield @b if block_given?
self
end
|