Class: FluentCommandBuilder::TeamFoundation::V100::View
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::View
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) ⇒ View
Returns a new instance of View.
1805
1806
1807
1808
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1805
def initialize(underlying_builder, item_spec)
super underlying_builder
@b.append " view #{@b.format item_spec}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1809
1810
1811
1812
1813
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1809
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#console {|@b| ... } ⇒ Object
1814
1815
1816
1817
1818
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1814
def console
@b.append ' /console'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1845
1846
1847
1848
1849
1850
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1845
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
1835
1836
1837
1838
1839
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1835
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|
#output(local_file) {|@b| ... } ⇒ Object
1824
1825
1826
1827
1828
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1824
def output(local_file)
@b.append " /output:#{@b.format local_file}"
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
1819
1820
1821
1822
1823
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1819
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#shelveset(shelveset_name, shelveset_owner = nil) {|@b| ... } ⇒ Object
1829
1830
1831
1832
1833
1834
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1829
def shelveset(shelveset_name, shelveset_owner=nil)
@b.append " /shelveset:#{@b.format shelveset_name}"
@b.append ";#{@b.format shelveset_owner}" unless shelveset_owner.nil?
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
1840
1841
1842
1843
1844
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1840
def version(version_spec)
@b.append " /version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|