Class: FluentCommandBuilder::TeamFoundationTEE::V100::Properties
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Properties
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, item_spec) ⇒ Properties
Returns a new instance of Properties.
1209
1210
1211
1212
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1209
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
1213
1214
1215
1216
1217
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1213
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
1223
1224
1225
1226
1227
1228
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1223
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
1218
1219
1220
1221
1222
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1218
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
1229
1230
1231
1232
1233
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1229
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
1234
1235
1236
1237
1238
1239
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1234
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
|