Class: FluentCommandBuilder::TeamFoundationTEE::V101::ModifyWorkspace
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::ModifyWorkspace
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, workspace_name = nil, workspace_owner = nil) ⇒ ModifyWorkspace
1903
1904
1905
1906
1907
1908
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1903
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
1919
1920
1921
1922
1923
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1919
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
1914
1915
1916
1917
1918
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1914
def ()
@b.append " -comment:#{@b.format comment}"
yield @b if block_given?
self
end
|
#computer(computer_name) {|@b| ... } ⇒ Object
1909
1910
1911
1912
1913
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1909
def computer(computer_name)
@b.append " -computer:#{@b.format computer_name}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1929
1930
1931
1932
1933
1934
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1929
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
1935
1936
1937
1938
1939
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1935
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
1940
1941
1942
1943
1944
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1940
def new_owner(owner_name)
@b.append " -newOwner:#{@b.format owner_name}"
yield @b if block_given?
self
end
|
#permission(permission) {|@b| ... } ⇒ Object
1924
1925
1926
1927
1928
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1924
def permission(permission)
@b.append " -permission:#{@b.format permission}"
yield @b if block_given?
self
end
|