Class: FluentCommandBuilder::TeamFoundation::V100::CloakFolder
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::CloakFolder
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, server_folder) ⇒ CloakFolder
Returns a new instance of CloakFolder.
1951
1952
1953
1954
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1951
def initialize(underlying_builder, server_folder)
super underlying_builder
@b.append " workfold /cloak #{@b.format server_folder}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1967
1968
1969
1970
1971
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1967
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1955
1956
1957
1958
1959
1960
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1955
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
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1961
1962
1963
1964
1965
1966
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1961
def workspace(workspace_name, workspace_owner=nil)
@b.append " /workspace:#{@b.format workspace_name}"
@b.append ";#{@b.format workspace_owner}" unless workspace_owner.nil?
yield @b if block_given?
self
end
|