Class: FluentCommandBuilder::TeamFoundation::V100::Shelve
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::Shelve
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, shelveset_name, item_spec) ⇒ Shelve
1560
1561
1562
1563
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1560
def initialize(underlying_builder, shelveset_name, item_spec)
super underlying_builder
@b.append " shelve #{@b.format shelveset_name} #{@b.format item_spec}"
end
|
Instance Method Details
1574
1575
1576
1577
1578
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1574
def ()
@b.append " /comment:#{@b.format comment}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1594
1595
1596
1597
1598
1599
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1594
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
|
#move {|@b| ... } ⇒ Object
1564
1565
1566
1567
1568
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1564
def move
@b.append ' /move'
yield @b if block_given?
self
end
|
#no_prompt {|@b| ... } ⇒ Object
1589
1590
1591
1592
1593
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1589
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
1579
1580
1581
1582
1583
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1579
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#replace {|@b| ... } ⇒ Object
1569
1570
1571
1572
1573
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1569
def replace
@b.append ' /replace'
yield @b if block_given?
self
end
|
#validate {|@b| ... } ⇒ Object
1584
1585
1586
1587
1588
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1584
def validate
@b.append ' /validate'
yield @b if block_given?
self
end
|