Class: FluentCommandBuilder::TeamFoundationTEE::V100::Resolve
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Resolve
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 = nil) ⇒ Resolve
Returns a new instance of Resolve.
1258
1259
1260
1261
1262
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1258
def initialize(underlying_builder, item_spec=nil)
super underlying_builder
@b.append ' resolve'
@b.append " #{@b.format item_spec}" unless item_spec.nil?
end
|
Instance Method Details
#auto(resolution) {|@b| ... } ⇒ Object
1263
1264
1265
1266
1267
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1263
def auto(resolution)
@b.append " -auto:#{@b.format resolution}"
yield @b if block_given?
self
end
|
#convert_to_type(convert_type) {|@b| ... } ⇒ Object
1278
1279
1280
1281
1282
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1278
def convert_to_type(convert_type)
@b.append " -convertToType:#{@b.format convert_type}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1298
1299
1300
1301
1302
1303
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1298
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(path) {|@b| ... } ⇒ Object
1288
1289
1290
1291
1292
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1288
def new_name(path)
@b.append " -newName:#{@b.format path}"
yield @b if block_given?
self
end
|
#no_prompt {|@b| ... } ⇒ Object
1293
1294
1295
1296
1297
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1293
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#override_type(override_type) {|@b| ... } ⇒ Object
1273
1274
1275
1276
1277
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1273
def override_type(override_type)
@b.append " -overrideType:#{@b.format override_type}"
yield @b if block_given?
self
end
|
#preview {|@b| ... } ⇒ Object
1268
1269
1270
1271
1272
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1268
def preview
@b.append ' -preview'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
1283
1284
1285
1286
1287
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1283
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|