Class: FluentCommandBuilder::TeamFoundationTEE::V101::Properties
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Properties
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, item_spec) ⇒ Properties
Returns a new instance of Properties.
1240
1241
1242
1243
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1240
def initialize(underlying_builder, item_spec)
super underlying_builder
@b.append " properties #{@b.format item_spec}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1244
1245
1246
1247
1248
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1244
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
1254
1255
1256
1257
1258
1259
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1254
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
|
#recursive {|@b| ... } ⇒ Object
1249
1250
1251
1252
1253
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1249
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
1260
1261
1262
1263
1264
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1260
def version(version_spec)
@b.append " -version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1265
1266
1267
1268
1269
1270
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1265
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
|