Class: FluentCommandBuilder::TeamFoundationTEE::V100::Checkin
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Checkin
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, item_spec = nil) ⇒ Checkin
Returns a new instance of Checkin.
348
349
350
351
352
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 348
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
353
354
355
356
357
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 353
def author(author_name)
@b.append " -author:#{@b.format author_name}"
yield @b if block_given?
self
end
|
358
359
360
361
362
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 358
def ()
@b.append " -comment:#{@b.format }"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
393
394
395
396
397
398
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 393
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
363
364
365
366
367
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 363
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#notes(notes) {|@b| ... } ⇒ Object
368
369
370
371
372
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 368
def notes(notes)
@b.append " -notes:#{@b.format notes, ';', '='}"
yield @b if block_given?
self
end
|
#override(reason) {|@b| ... } ⇒ Object
373
374
375
376
377
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 373
def override(reason)
@b.append " -override:#{@b.format reason}"
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
378
379
380
381
382
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 378
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#saved {|@b| ... } ⇒ Object
383
384
385
386
387
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 383
def saved
@b.append ' -saved'
yield @b if block_given?
self
end
|
#validate {|@b| ... } ⇒ Object
388
389
390
391
392
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 388
def validate
@b.append ' -validate'
yield @b if block_given?
self
end
|