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