Class: FluentCommandBuilder::TeamFoundationTEE::V101::Destroy
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Destroy
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) ⇒ Destroy
Returns a new instance of Destroy.
511
512
513
514
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 511
def initialize(underlying_builder, item_spec)
super underlying_builder
@b.append " destroy #{@b.format item_spec}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
556
557
558
559
560
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 556
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#force {|@b| ... } ⇒ Object
540
541
542
543
544
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 540
def force
@b.append ' -force'
yield @b if block_given?
self
end
|
#keep_history {|@b| ... } ⇒ Object
515
516
517
518
519
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 515
def keep_history
@b.append ' -keepHistory'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
550
551
552
553
554
555
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 550
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
535
536
537
538
539
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 535
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#preview {|@b| ... } ⇒ Object
525
526
527
528
529
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 525
def preview
@b.append ' -preview'
yield @b if block_given?
self
end
|
#silent {|@b| ... } ⇒ Object
545
546
547
548
549
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 545
def silent
@b.append ' -silent'
yield @b if block_given?
self
end
|
#start_cleanup {|@b| ... } ⇒ Object
530
531
532
533
534
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 530
def start_cleanup
@b.append ' -startCleanup'
yield @b if block_given?
self
end
|
#stop_at(version_spec) {|@b| ... } ⇒ Object
520
521
522
523
524
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 520
def stop_at(version_spec)
@b.append " -stopAt:#{@b.format version_spec}"
yield @b if block_given?
self
end
|