Class: FluentCommandBuilder::TeamFoundation::V100::CheckinShelveset
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::CheckinShelveset
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_100.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, shelveset_name, shelveset_owner = nil) ⇒ CheckinShelveset
Returns a new instance of CheckinShelveset.
432
433
434
435
436
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 432
def initialize(underlying_builder, shelveset_name, shelveset_owner=nil)
super underlying_builder
@b.append " checkin /shelveset:#{@b.format shelveset_name}"
@b.append ";#{@b.format shelveset_owner}" unless shelveset_owner.nil?
end
|
Instance Method Details
#author(author_name) {|@b| ... } ⇒ Object
458
459
460
461
462
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 458
def author(author_name)
@b.append " /author:#{@b.format author_name}"
yield @b if block_given?
self
end
|
#bypass {|@b| ... } ⇒ Object
437
438
439
440
441
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 437
def bypass
@b.append ' /bypass'
yield @b if block_given?
self
end
|
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
453
454
455
456
457
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 453
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#force {|@b| ... } ⇒ Object
463
464
465
466
467
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 463
def force
@b.append ' /force'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
447
448
449
450
451
452
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 447
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
|
#no_prompt {|@b| ... } ⇒ Object
442
443
444
445
446
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 442
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|