Class: FluentCommandBuilder::TeamFoundation::V100::Destroy
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::Destroy
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) ⇒ Destroy
Returns a new instance of Destroy.
538
539
540
541
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 538
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
578
579
580
581
582
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 578
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#keep_history {|@b| ... } ⇒ Object
542
543
544
545
546
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 542
def keep_history
@b.append ' /keepHistory'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
572
573
574
575
576
577
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 572
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
562
563
564
565
566
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 562
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|
#preview {|@b| ... } ⇒ Object
552
553
554
555
556
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 552
def preview
@b.append ' /preview'
yield @b if block_given?
self
end
|
#silent {|@b| ... } ⇒ Object
567
568
569
570
571
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 567
def silent
@b.append ' /silent'
yield @b if block_given?
self
end
|
#start_cleanup {|@b| ... } ⇒ Object
557
558
559
560
561
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 557
def start_cleanup
@b.append ' /startCleanup'
yield @b if block_given?
self
end
|
#stop_at(version_spec) {|@b| ... } ⇒ Object
547
548
549
550
551
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 547
def stop_at(version_spec)
@b.append " /stopAt:#{@b.format version_spec}"
yield @b if block_given?
self
end
|