Class: FluentCommandBuilder::TeamFoundationTEE::V100::Delete
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Delete
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) ⇒ Delete
Returns a new instance of Delete.
456
457
458
459
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 456
def initialize(underlying_builder, item_spec)
super underlying_builder
@b.append " delete #{@b.format item_spec}"
end
|
Instance Method Details
#lock(lock_type) {|@b| ... } ⇒ Object
460
461
462
463
464
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 460
def lock(lock_type)
@b.append " -lock:#{@b.format lock_type}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
470
471
472
473
474
475
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 470
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
465
466
467
468
469
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 465
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|