Class: FluentCommandBuilder::Tf::TEE2010::Checkin
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::TEE2010::Checkin
- Defined in:
- lib/fluent_command_builder/command_builders/tf_tee_2010.rb
Instance Method Summary collapse
- #author(author_name) {|@builder| ... } ⇒ Object
- #bypass {|@builder| ... } ⇒ Object
- #comment(comment) {|@builder| ... } ⇒ Object
- #force {|@builder| ... } ⇒ Object
-
#initialize(builder, item_spec = nil) ⇒ Checkin
constructor
A new instance of Checkin.
- #login(username, password = nil) {|@builder| ... } ⇒ Object
- #no_prompt {|@builder| ... } ⇒ Object
- #notes(notes) {|@builder| ... } ⇒ Object
- #override(reason) {|@builder| ... } ⇒ Object
- #recursive {|@builder| ... } ⇒ Object
- #saved {|@builder| ... } ⇒ Object
- #validate {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, item_spec = nil) ⇒ Checkin
Returns a new instance of Checkin.
341 342 343 344 345 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 341 def initialize(builder, item_spec=nil) super builder @builder.append ' checkin' @builder.append " #{@builder.format item_spec}" unless item_spec.nil? end |
Instance Method Details
#author(author_name) {|@builder| ... } ⇒ Object
346 347 348 349 350 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 346 def () @builder.append " -author:#{@builder.format }" yield @builder if block_given? self end |
#bypass {|@builder| ... } ⇒ Object
386 387 388 389 390 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 386 def bypass @builder.append ' -bypass' yield @builder if block_given? self end |
#comment(comment) {|@builder| ... } ⇒ Object
351 352 353 354 355 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 351 def comment(comment) @builder.append " -comment:#{@builder.format comment}" yield @builder if block_given? self end |
#force {|@builder| ... } ⇒ Object
397 398 399 400 401 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 397 def force @builder.append ' -force' yield @builder if block_given? self end |
#login(username, password = nil) {|@builder| ... } ⇒ Object
391 392 393 394 395 396 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 391 def login(username, password=nil) @builder.append " -login:#{@builder.format username}" @builder.append ",#{@builder.format password}" unless password.nil? yield @builder if block_given? self end |
#no_prompt {|@builder| ... } ⇒ Object
356 357 358 359 360 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 356 def no_prompt @builder.append ' -noPrompt' yield @builder if block_given? self end |
#notes(notes) {|@builder| ... } ⇒ Object
361 362 363 364 365 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 361 def notes(notes) @builder.append " -notes:#{@builder.format notes, ';', '='}" yield @builder if block_given? self end |
#override(reason) {|@builder| ... } ⇒ Object
366 367 368 369 370 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 366 def override(reason) @builder.append " -override:#{@builder.format reason}" yield @builder if block_given? self end |
#recursive {|@builder| ... } ⇒ Object
371 372 373 374 375 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 371 def recursive @builder.append ' -recursive' yield @builder if block_given? self end |
#saved {|@builder| ... } ⇒ Object
376 377 378 379 380 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 376 def saved @builder.append ' -saved' yield @builder if block_given? self end |
#validate {|@builder| ... } ⇒ Object
381 382 383 384 385 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 381 def validate @builder.append ' -validate' yield @builder if block_given? self end |