Class: FluentCommandBuilder::TeamFoundationTEE::V100::Shelve
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Shelve
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, shelveset_name, item_spec) ⇒ Shelve
Returns a new instance of Shelve.
1334
1335
1336
1337
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1334
def initialize(underlying_builder, shelveset_name, item_spec)
super underlying_builder
@b.append " shelve #{@b.format shelveset_name} #{@b.format item_spec}"
end
|
Instance Method Details
1348
1349
1350
1351
1352
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1348
def ()
@b.append " -comment:#{@b.format comment}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1368
1369
1370
1371
1372
1373
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1368
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
|
#move {|@b| ... } ⇒ Object
1338
1339
1340
1341
1342
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1338
def move
@b.append ' -move'
yield @b if block_given?
self
end
|
#no_prompt {|@b| ... } ⇒ Object
1363
1364
1365
1366
1367
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1363
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
1353
1354
1355
1356
1357
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1353
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#replace {|@b| ... } ⇒ Object
1343
1344
1345
1346
1347
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1343
def replace
@b.append ' -replace'
yield @b if block_given?
self
end
|
#validate {|@b| ... } ⇒ Object
1358
1359
1360
1361
1362
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1358
def validate
@b.append ' -validate'
yield @b if block_given?
self
end
|