Class: FluentCommandBuilder::TeamFoundationTEE::V101::Workspaces
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Workspaces
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) ⇒ Workspaces
Returns a new instance of Workspaces.
1946
1947
1948
1949
1950
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1946
def initialize(underlying_builder, workspace_name=nil)
super underlying_builder
@b.append ' workspaces'
@b.append " #{@b.format workspace_name}" unless workspace_name.nil?
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1961
1962
1963
1964
1965
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1961
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#computer(computer_name) {|@b| ... } ⇒ Object
1956
1957
1958
1959
1960
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1956
def computer(computer_name)
@b.append " -computer:#{@b.format computer_name}"
yield @b if block_given?
self
end
|
1966
1967
1968
1969
1970
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1966
def format(format)
@b.append " -format:#{@b.format format}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1981
1982
1983
1984
1985
1986
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1981
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
|
#owner(owner_name) {|@b| ... } ⇒ Object
1951
1952
1953
1954
1955
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1951
def owner(owner_name)
@b.append " -owner:#{@b.format owner_name}"
yield @b if block_given?
self
end
|
#update_computer_name(old_computer_name) {|@b| ... } ⇒ Object
1976
1977
1978
1979
1980
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1976
def update_computer_name(old_computer_name)
@b.append " -updateComputerName:#{@b.format old_computer_name}"
yield @b if block_given?
self
end
|
#update_user_name(old_user_name) {|@b| ... } ⇒ Object
1971
1972
1973
1974
1975
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1971
def update_user_name(old_user_name)
@b.append " -updateUserName:#{@b.format old_user_name}"
yield @b if block_given?
self
end
|