Class: FluentCommandBuilder::DevAppserverPython::V17::DevAppserverPython

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



24
25
26
27
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 24

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)


33
34
35
36
37
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 33

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

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

Yields:

  • (@b)


58
59
60
61
62
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 58

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

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

Yields:

  • (@b)


28
29
30
31
32
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 28

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

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

Yields:

  • (@b)


63
64
65
66
67
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 63

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

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

Yields:

  • (@b)


68
69
70
71
72
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 68

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

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

Yields:

  • (@b)


73
74
75
76
77
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 73

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

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

Yields:

  • (@b)


38
39
40
41
42
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 38

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

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

Yields:

  • (@b)


78
79
80
81
82
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 78

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

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

Yields:

  • (@b)


83
84
85
86
87
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 83

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)


43
44
45
46
47
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 43

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

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

Yields:

  • (@b)


88
89
90
91
92
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 88

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

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

Yields:

  • (@b)


93
94
95
96
97
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 93

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

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

Yields:

  • (@b)


98
99
100
101
102
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 98

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

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

Yields:

  • (@b)


103
104
105
106
107
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 103

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

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

Yields:

  • (@b)


108
109
110
111
112
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 108

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

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

Yields:

  • (@b)


48
49
50
51
52
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 48

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

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

Yields:

  • (@b)


113
114
115
116
117
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 113

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

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

Yields:

  • (@b)


118
119
120
121
122
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 118

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)


123
124
125
126
127
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 123

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

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

Yields:

  • (@b)


128
129
130
131
132
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 128

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)


143
144
145
146
147
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 143

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)


133
134
135
136
137
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 133

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)


148
149
150
151
152
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 148

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)


138
139
140
141
142
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 138

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

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

Yields:

  • (@b)


153
154
155
156
157
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 153

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

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

Yields:

  • (@b)


53
54
55
56
57
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 53

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

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

Yields:

  • (@b)


158
159
160
161
162
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 158

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

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

Yields:

  • (@b)


163
164
165
166
167
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 163

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

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

Yields:

  • (@b)


168
169
170
171
172
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 168

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)


173
174
175
176
177
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 173

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)


188
189
190
191
192
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 188

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)


178
179
180
181
182
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 178

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)


183
184
185
186
187
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 183

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)


193
194
195
196
197
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 193

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

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

Yields:

  • (@b)


198
199
200
201
202
# File 'lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb', line 198

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