Class: FluentCommandBuilder::TeamFoundationTEE::V100::DeleteShelveset
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::DeleteShelveset
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, shelveset_name, shelveset_owner = nil) ⇒ DeleteShelveset
Returns a new instance of DeleteShelveset.
1375
1376
1377
1378
1379
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1375
def initialize(underlying_builder, shelveset_name, shelveset_owner=nil)
super underlying_builder
@b.append " shelve -delete #{@b.format shelveset_name}"
@b.append ";#{@b.format shelveset_owner}" unless shelveset_owner.nil?
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1386
1387
1388
1389
1390
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1386
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
1380
1381
1382
1383
1384
1385
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1380
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
|