Class: FluentCommandBuilder::TeamFoundation::V100::Status
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::Status
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_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.
1649
1650
1651
1652
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1649
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
1653
1654
1655
1656
1657
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1653
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
1676
1677
1678
1679
1680
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1676
def format(format)
@b.append " /format:#{@b.format format}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1658
1659
1660
1661
1662
1663
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1658
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
1681
1682
1683
1684
1685
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1681
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#shelveset(shelveset_name, shelveset_owner = nil) {|@b| ... } ⇒ Object
1670
1671
1672
1673
1674
1675
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1670
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
1686
1687
1688
1689
1690
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1686
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
1664
1665
1666
1667
1668
1669
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1664
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
|