Class: FluentCommandBuilder::DevAppserverPython::V16::DevAppserverPython

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

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder, application_root = nil) ⇒ DevAppserverPython

Returns a new instance of DevAppserverPython.



25
26
27
28
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 25

def initialize(underlying_builder, application_root=nil)
  super underlying_builder
  @b.append " #{@b.format application_root}" unless application_root.nil?
end

Instance Method Details

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

Yields:

  • (@b)


34
35
36
37
38
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 34

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

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

Yields:

  • (@b)


59
60
61
62
63
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 59

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

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

Yields:

  • (@b)


29
30
31
32
33
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 29

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

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

Yields:

  • (@b)


64
65
66
67
68
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 64

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

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

Yields:

  • (@b)


69
70
71
72
73
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 69

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

#blobstore_path(dir) {|@b| ... } ⇒ Object

Yields:

  • (@b)


74
75
76
77
78
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 74

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

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

Yields:

  • (@b)


39
40
41
42
43
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 39

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

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

Yields:

  • (@b)


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

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

#datastore_path(ds_file) {|@b| ... } ⇒ Object

Yields:

  • (@b)


84
85
86
87
88
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 84

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

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

Yields:

  • (@b)


44
45
46
47
48
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 44

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

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

Yields:

  • (@b)


89
90
91
92
93
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 89

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

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

Yields:

  • (@b)


94
95
96
97
98
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 94

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

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

Yields:

  • (@b)


99
100
101
102
103
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 99

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

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

Yields:

  • (@b)


104
105
106
107
108
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 104

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

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

Yields:

  • (@b)


109
110
111
112
113
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 109

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

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

Yields:

  • (@b)


49
50
51
52
53
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 49

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

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

Yields:

  • (@b)


114
115
116
117
118
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 114

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

#history_path(path) {|@b| ... } ⇒ Object

Yields:

  • (@b)


119
120
121
122
123
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 119

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

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

Yields:

  • (@b)


124
125
126
127
128
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 124

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

#mysql_host(hostname) {|@b| ... } ⇒ Object

Yields:

  • (@b)


129
130
131
132
133
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 129

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

#mysql_password(password) {|@b| ... } ⇒ Object

Yields:

  • (@b)


144
145
146
147
148
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 144

def mysql_password(password)
  @b.append " --mysql_password=#{@b.format_password password}"
  yield @b if block_given?
  self
end

#mysql_port(port) {|@b| ... } ⇒ Object

Yields:

  • (@b)


134
135
136
137
138
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 134

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

#mysql_socket(path) {|@b| ... } ⇒ Object

Yields:

  • (@b)


149
150
151
152
153
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 149

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

#mysql_user(user) {|@b| ... } ⇒ Object

Yields:

  • (@b)


139
140
141
142
143
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 139

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

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

Yields:

  • (@b)


154
155
156
157
158
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 154

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

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

Yields:

  • (@b)


54
55
56
57
58
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 54

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

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

Yields:

  • (@b)


159
160
161
162
163
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 159

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

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

Yields:

  • (@b)


164
165
166
167
168
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 164

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

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

Yields:

  • (@b)


169
170
171
172
173
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 169

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

#smtp_host(hostname) {|@b| ... } ⇒ Object

Yields:

  • (@b)


174
175
176
177
178
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 174

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

#smtp_password(password) {|@b| ... } ⇒ Object

Yields:

  • (@b)


189
190
191
192
193
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 189

def smtp_password(password)
  @b.append " --smtp_password=#{@b.format_password password}"
  yield @b if block_given?
  self
end

#smtp_port(port) {|@b| ... } ⇒ Object

Yields:

  • (@b)


179
180
181
182
183
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 179

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

#smtp_user(user) {|@b| ... } ⇒ Object

Yields:

  • (@b)


184
185
186
187
188
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 184

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

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

Yields:

  • (@b)


194
195
196
197
198
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 194

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

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

Yields:

  • (@b)


199
200
201
202
203
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb', line 199

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