Class: FluentCommandBuilder::TeamFoundation::V100::Merges
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::Merges
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, destination, source = nil) ⇒ Merges
Returns a new instance of Merges.
1175
1176
1177
1178
1179
1180
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1175
def initialize(underlying_builder, destination, source=nil)
super underlying_builder
@b.append ' merges'
@b.append " #{@b.format source}" unless source.nil?
@b.append " #{@b.format destination}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1207
1208
1209
1210
1211
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1207
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#extended {|@b| ... } ⇒ Object
1186
1187
1188
1189
1190
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1186
def extended
@b.append ' /extended'
yield @b if block_given?
self
end
|
1191
1192
1193
1194
1195
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1191
def format(format)
@b.append " /format:#{@b.format format}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1196
1197
1198
1199
1200
1201
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1196
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
1181
1182
1183
1184
1185
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1181
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#show_all {|@b| ... } ⇒ Object
1202
1203
1204
1205
1206
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1202
def show_all
@b.append ' /showAll'
yield @b if block_given?
self
end
|