Class: FluentCommandBuilder::TeamFoundationTEE::V100::Unlabel
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Unlabel
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, label_name, item_spec) ⇒ Unlabel
Returns a new instance of Unlabel.
1526
1527
1528
1529
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1526
def initialize(underlying_builder, label_name, item_spec)
super underlying_builder
@b.append " unlabel #{@b.format label_name} #{@b.format item_spec}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1530
1531
1532
1533
1534
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1530
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
1540
1541
1542
1543
1544
1545
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1540
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
1535
1536
1537
1538
1539
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1535
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|