Class: FluentCommandBuilder::TeamFoundationTEE::V101::CheckinShelveset
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::CheckinShelveset
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_tee_101.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.
422
423
424
425
426
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 422
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
448
449
450
451
452
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 448
def author(author_name)
@b.append " -author:#{@b.format author_name}"
yield @b if block_given?
self
end
|
#bypass {|@b| ... } ⇒ Object
427
428
429
430
431
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 427
def bypass
@b.append ' -bypass'
yield @b if block_given?
self
end
|
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
443
444
445
446
447
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 443
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
453
454
455
456
457
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 453
def force
@b.append ' -force'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
437
438
439
440
441
442
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 437
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
432
433
434
435
436
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 432
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|