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.



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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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