Class: FluentCommandBuilder::TeamFoundation::V100::Checkin
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::Checkin
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, item_spec = nil) ⇒ Checkin
Returns a new instance of Checkin.
368
369
370
371
372
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 368
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
373
374
375
376
377
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 373
def author(author_name)
@b.append " /author:#{@b.format author_name}"
yield @b if block_given?
self
end
|
#bypass {|@b| ... } ⇒ Object
413
414
415
416
417
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 413
def bypass
@b.append ' /bypass'
yield @b if block_given?
self
end
|
378
379
380
381
382
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 378
def ()
@b.append " /comment:#{@b.format }"
yield @b if block_given?
self
end
|
#force {|@b| ... } ⇒ Object
424
425
426
427
428
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 424
def force
@b.append ' /force'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
418
419
420
421
422
423
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 418
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
383
384
385
386
387
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 383
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|
#notes(notes) {|@b| ... } ⇒ Object
388
389
390
391
392
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 388
def notes(notes)
@b.append " /notes:#{@b.format notes, ';', '='}"
yield @b if block_given?
self
end
|
#override(reason) {|@b| ... } ⇒ Object
393
394
395
396
397
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 393
def override(reason)
@b.append " /override:#{@b.format reason}"
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
398
399
400
401
402
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 398
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#saved {|@b| ... } ⇒ Object
403
404
405
406
407
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 403
def saved
@b.append ' /saved'
yield @b if block_given?
self
end
|
#validate {|@b| ... } ⇒ Object
408
409
410
411
412
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 408
def validate
@b.append ' /validate'
yield @b if block_given?
self
end
|