Class: FluentCommandBuilder::AppCfgPython::V17::Rollback

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/appcfg_python_17.rb,
lib/fluent_command_builder/command_builders/appcfg_python_17.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder, directory) ⇒ Rollback

Returns a new instance of Rollback.



395
396
397
398
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 395

def initialize(underlying_builder, backend)
  super underlying_builder
  @b.append " rollback #{@b.format backend}"
end

Instance Method Details

#allow_any_runtime {|@b| ... } ⇒ Object

Yields:

  • (@b)


469
470
471
472
473
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 469

def allow_any_runtime
  @b.append ' --allow_any_runtime'
  yield @b if block_given?
  self
end

#application(app_id) {|@b| ... } ⇒ Object

Yields:

  • (@b)


454
455
456
457
458
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 454

def application(app_id)
  @b.append " --application=#{@b.format app_id}"
  yield @b if block_given?
  self
end

#email(email) {|@b| ... } ⇒ Object

Yields:

  • (@b)


429
430
431
432
433
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 429

def email(email)
  @b.append " --email=#{@b.format email}"
  yield @b if block_given?
  self
end

#help {|@b| ... } ⇒ Object

Yields:

  • (@b)


399
400
401
402
403
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 399

def help
  @b.append ' --help'
  yield @b if block_given?
  self
end

#host(host) {|@b| ... } ⇒ Object

Yields:

  • (@b)


434
435
436
437
438
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 434

def host(host)
  @b.append " --host=#{@b.format host}"
  yield @b if block_given?
  self
end

#insecure {|@b| ... } ⇒ Object

Yields:

  • (@b)


424
425
426
427
428
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 424

def insecure
  @b.append ' --insecure'
  yield @b if block_given?
  self
end

#no_cookies {|@b| ... } ⇒ Object

Yields:

  • (@b)


439
440
441
442
443
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 439

def no_cookies
  @b.append ' --no_cookies'
  yield @b if block_given?
  self
end

#noauth_local_webserver {|@b| ... } ⇒ Object

Yields:

  • (@b)


484
485
486
487
488
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 484

def noauth_local_webserver
  @b.append ' --noauth_local_webserver'
  yield @b if block_given?
  self
end

#noisy {|@b| ... } ⇒ Object

Yields:

  • (@b)


414
415
416
417
418
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 414

def noisy
  @b.append ' --noisy'
  yield @b if block_given?
  self
end

#oauth2 {|@b| ... } ⇒ Object

Yields:

  • (@b)


474
475
476
477
478
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 474

def oauth2
  @b.append ' --oauth2'
  yield @b if block_given?
  self
end

#oauth2_refresh_token(oauth2_refresh_token) {|@b| ... } ⇒ Object

Yields:

  • (@b)


479
480
481
482
483
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 479

def oauth2_refresh_token(oauth2_refresh_token)
  @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
  yield @b if block_given?
  self
end

#passin {|@b| ... } ⇒ Object

Yields:

  • (@b)


449
450
451
452
453
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 449

def passin
  @b.append ' --passin'
  yield @b if block_given?
  self
end

#quiet {|@b| ... } ⇒ Object

Yields:

  • (@b)


404
405
406
407
408
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 404

def quiet
  @b.append ' --quiet'
  yield @b if block_given?
  self
end

#runtime(runtime) {|@b| ... } ⇒ Object

Yields:

  • (@b)


464
465
466
467
468
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 464

def runtime(runtime)
  @b.append " --runtime=#{@b.format runtime}"
  yield @b if block_given?
  self
end

#server(server) {|@b| ... } ⇒ Object

Yields:

  • (@b)


419
420
421
422
423
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 419

def server(server)
  @b.append " --server=#{@b.format server}"
  yield @b if block_given?
  self
end

#skip_sdk_update_check {|@b| ... } ⇒ Object

Yields:

  • (@b)


444
445
446
447
448
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 444

def skip_sdk_update_check
  @b.append ' --skip_sdk_update_check'
  yield @b if block_given?
  self
end

#verbose {|@b| ... } ⇒ Object

Yields:

  • (@b)


409
410
411
412
413
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 409

def verbose
  @b.append ' --verbose'
  yield @b if block_given?
  self
end

#version(version) {|@b| ... } ⇒ Object

Yields:

  • (@b)


459
460
461
462
463
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 459

def version(version)
  @b.append " --version=#{@b.format version}"
  yield @b if block_given?
  self
end