Class: FluentCommandBuilder::TeamFoundationTEE::V100::ModifyWorkspace
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::ModifyWorkspace
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, workspace_name = nil, workspace_owner = nil) ⇒ ModifyWorkspace
Returns a new instance of ModifyWorkspace.
1784
1785
1786
1787
1788
1789
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1784
def initialize(underlying_builder, workspace_name=nil, workspace_owner=nil)
super underlying_builder
@b.append ' workspace '
@b.append "#{@b.format workspace_name}" unless workspace_name.nil?
@b.append ";#{@b.format workspace_owner}" unless workspace_owner.nil?
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1800
1801
1802
1803
1804
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1800
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
1795
1796
1797
1798
1799
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1795
def ()
@b.append " -comment:#{@b.format }"
yield @b if block_given?
self
end
|
#computer(computer_name) {|@b| ... } ⇒ Object
1790
1791
1792
1793
1794
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1790
def computer(computer_name)
@b.append " -computer:#{@b.format computer_name}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1810
1811
1812
1813
1814
1815
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1810
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
|
#new_name(workspace_name) {|@b| ... } ⇒ Object
1816
1817
1818
1819
1820
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1816
def new_name(workspace_name)
@b.append " -newName:#{@b.format workspace_name}"
yield @b if block_given?
self
end
|
#new_owner(owner_name) {|@b| ... } ⇒ Object
1821
1822
1823
1824
1825
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1821
def new_owner(owner_name)
@b.append " -newOwner:#{@b.format owner_name}"
yield @b if block_given?
self
end
|
#permission(permission) {|@b| ... } ⇒ Object
1805
1806
1807
1808
1809
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1805
def permission(permission)
@b.append " -permission:#{@b.format permission}"
yield @b if block_given?
self
end
|