Class: FluentCommandBuilder::AppCfgPython::V17::Backends

Inherits:
CommandBase
  • Object
show all
Defined in:
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) ⇒ Backends

Returns a new instance of Backends.



80
81
82
83
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 80

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

Instance Method Details

#configure(backend) ⇒ Object



84
85
86
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 84

def configure(backend)
  Configure.new @b, backend
end

#delete(backend) ⇒ Object



87
88
89
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 87

def delete(backend)
  Delete.new @b, backend
end

#listObject



90
91
92
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 90

def list
  List.new @b
end

#rollback(backend) ⇒ Object



93
94
95
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 93

def rollback(backend)
  Rollback.new @b, backend
end

#start(backend) ⇒ Object



96
97
98
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 96

def start(backend)
  Start.new @b, backend
end

#stop(backend) ⇒ Object



99
100
101
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 99

def stop(backend)
  Stop.new @b, backend
end

#update(backend) ⇒ Object



102
103
104
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 102

def update(backend)
  Update.new @b, backend
end