Class: FluentCommandBuilder::TeamFoundationTEE::V100::Shelvesets
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Shelvesets
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 = nil) ⇒ Shelvesets
Returns a new instance of Shelvesets.
1393
1394
1395
1396
1397
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1393
def initialize(underlying_builder, shelveset_name=nil)
super underlying_builder
@b.append ' shelvesets'
@b.append " #{@b.format shelveset_name}" unless shelveset_name.nil?
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1408
1409
1410
1411
1412
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1408
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
1403
1404
1405
1406
1407
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1403
def format(format)
@b.append " -format:#{@b.format format}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1413
1414
1415
1416
1417
1418
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1413
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
|
#owner(owner_name) {|@b| ... } ⇒ Object
1398
1399
1400
1401
1402
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1398
def owner(owner_name)
@b.append " -owner:#{@b.format owner_name}"
yield @b if block_given?
self
end
|