Class: FluentCommandBuilder::TeamFoundationTEE::V101::Checkin
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Checkin
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, item_spec = nil) ⇒ Checkin
Returns a new instance of Checkin.
359
360
361
362
363
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 359
def initialize(underlying_builder, item_spec=nil)
super underlying_builder
@b.append ' checkin'
@b.append " #{@b.format item_spec}" unless item_spec.nil?
end
|
Instance Method Details
#author(author_name) {|@b| ... } ⇒ Object
364
365
366
367
368
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 364
def author(author_name)
@b.append " -author:#{@b.format author_name}"
yield @b if block_given?
self
end
|
#bypass {|@b| ... } ⇒ Object
404
405
406
407
408
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 404
def bypass
@b.append ' -bypass'
yield @b if block_given?
self
end
|
369
370
371
372
373
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 369
def ()
@b.append " -comment:#{@b.format }"
yield @b if block_given?
self
end
|
#force {|@b| ... } ⇒ Object
415
416
417
418
419
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 415
def force
@b.append ' -force'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
409
410
411
412
413
414
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 409
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
374
375
376
377
378
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 374
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#notes(notes) {|@b| ... } ⇒ Object
379
380
381
382
383
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 379
def notes(notes)
@b.append " -notes:#{@b.format notes, ';', '='}"
yield @b if block_given?
self
end
|
#override(reason) {|@b| ... } ⇒ Object
384
385
386
387
388
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 384
def override(reason)
@b.append " -override:#{@b.format reason}"
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
389
390
391
392
393
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 389
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#saved {|@b| ... } ⇒ Object
394
395
396
397
398
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 394
def saved
@b.append ' -saved'
yield @b if block_given?
self
end
|
#validate {|@b| ... } ⇒ Object
399
400
401
402
403
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 399
def validate
@b.append ' -validate'
yield @b if block_given?
self
end
|