Class: FluentCommandBuilder::TeamFoundationTEE::V101::Status
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Status
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_tee_101.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.
1539
1540
1541
1542
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1539
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
1543
1544
1545
1546
1547
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1543
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
1566
1567
1568
1569
1570
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1566
def format(format)
@b.append " -format:#{@b.format format}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1548
1549
1550
1551
1552
1553
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1548
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
1571
1572
1573
1574
1575
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1571
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#shelveset(shelveset_name, shelveset_owner = nil) {|@b| ... } ⇒ Object
1560
1561
1562
1563
1564
1565
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1560
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
1576
1577
1578
1579
1580
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1576
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
1554
1555
1556
1557
1558
1559
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1554
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
|