Class: FluentCommandBuilder::TeamFoundationTEE::V101::Lock
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Lock
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) ⇒ Lock
Returns a new instance of Lock.
1011
1012
1013
1014
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1011
def initialize(underlying_builder, item_spec)
super underlying_builder
@b.append " lock #{@b.format item_spec}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1037
1038
1039
1040
1041
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1037
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#lock(lock_type) {|@b| ... } ⇒ Object
1015
1016
1017
1018
1019
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1015
def lock(lock_type)
@b.append " -lock:#{@b.format lock_type}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1031
1032
1033
1034
1035
1036
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1031
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
1026
1027
1028
1029
1030
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1026
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1020
1021
1022
1023
1024
1025
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1020
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
|