Class: FluentCommandBuilder::TeamFoundationTEE::V100::CheckinShelveset
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::CheckinShelveset
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) ⇒ CheckinShelveset
Returns a new instance of CheckinShelveset.
400
401
402
403
404
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 400
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
421
422
423
424
425
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 421
def author(author_name)
@b.append " -author:#{@b.format author_name}"
yield @b if block_given?
self
end
|
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
416
417
418
419
420
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 416
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
410
411
412
413
414
415
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 410
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
405
406
407
408
409
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 405
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|