Class: FluentCommandBuilder::TeamFoundationTEE::V100::Status
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Status
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) ⇒ Status
Returns a new instance of Status.
1421
1422
1423
1424
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1421
def initialize(underlying_builder, item_spec)
super underlying_builder
@b.append " status #{@b.format item_spec}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1425
1426
1427
1428
1429
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1425
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
1448
1449
1450
1451
1452
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1448
def format(format)
@b.append " -format:#{@b.format format}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1430
1431
1432
1433
1434
1435
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1430
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
1453
1454
1455
1456
1457
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1453
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#shelveset(shelveset_name, shelveset_owner = nil) {|@b| ... } ⇒ Object
1442
1443
1444
1445
1446
1447
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1442
def shelveset(shelveset_name, shelveset_owner=nil)
@b.append " -shelveset:#{@b.format shelveset_name}"
@b.append ";#{@b.format shelveset_owner}" unless shelveset_owner.nil?
yield @b if block_given?
self
end
|
#user(user_name) {|@b| ... } ⇒ Object
1458
1459
1460
1461
1462
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1458
def user(user_name)
@b.append " -user:#{@b.format user_name}"
yield @b if block_given?
self
end
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1436
1437
1438
1439
1440
1441
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1436
def workspace(workspace_name, workspace_owner=nil)
@b.append " -workspace:#{@b.format workspace_name}"
@b.append ";#{@b.format workspace_owner}" unless workspace_owner.nil?
yield @b if block_given?
self
end
|