Class: FluentCommandBuilder::TeamFoundationTEE::V100::DeleteLabel
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::DeleteLabel
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) ⇒ DeleteLabel
Returns a new instance of DeleteLabel.
932
933
934
935
936
937
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 932
def initialize(underlying_builder, label_name, item_spec, scope=nil)
super underlying_builder
@b.append " label -delete #{@b.format label_name}"
@b.append "@#{@b.format scope}" unless scope.nil?
@b.append " #{@b.format item_spec}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
944
945
946
947
948
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 944
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
938
939
940
941
942
943
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 938
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
|