Class: FluentCommandBuilder::AppCfgPython::V16::Backends

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/appcfg_python_16.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.



81
82
83
84
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 81

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

Instance Method Details

#configure(backend) ⇒ Object



85
86
87
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 85

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

#delete(backend) ⇒ Object



88
89
90
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 88

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

#listObject



91
92
93
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 91

def list
  List.new @b
end

#rollback(backend) ⇒ Object



94
95
96
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 94

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

#start(backend) ⇒ Object



97
98
99
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 97

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

#stop(backend) ⇒ Object



100
101
102
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 100

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

#update(backend) ⇒ Object



103
104
105
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 103

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