Class: FluentCommandBuilder::TeamFoundationTEE::V100::Branch
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Branch
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, old_item, new_item) ⇒ Branch
Returns a new instance of Branch.
235
236
237
238
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 235
def initialize(underlying_builder, old_item, new_item)
super underlying_builder
@b.append " branch #{@b.format old_item} #{@b.format new_item}"
end
|
Instance Method Details
#author(author_name) {|@b| ... } ⇒ Object
274
275
276
277
278
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 274
def author(author_name)
@b.append " -author:#{@b.format author_name}"
yield @b if block_given?
self
end
|
#checkin {|@b| ... } ⇒ Object
264
265
266
267
268
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 264
def checkin
@b.append ' -checkin'
yield @b if block_given?
self
end
|
269
270
271
272
273
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 269
def ()
@b.append " -comment:#{@b.format }"
yield @b if block_given?
self
end
|
#lock(lock_type) {|@b| ... } ⇒ Object
249
250
251
252
253
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 249
def lock(lock_type)
@b.append " -lock:#{@b.format lock_type}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
279
280
281
282
283
284
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 279
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
|
#no_get {|@b| ... } ⇒ Object
244
245
246
247
248
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 244
def no_get
@b.append ' -noGet'
yield @b if block_given?
self
end
|
#no_prompt {|@b| ... } ⇒ Object
254
255
256
257
258
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 254
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#silent {|@b| ... } ⇒ Object
259
260
261
262
263
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 259
def silent
@b.append ' -silent'
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
239
240
241
242
243
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 239
def version(version_spec)
@b.append " -version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|