fluent_command_builder 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,40 +39,40 @@ module FluentCommandBuilder
39
39
  @builder.append ' cover'
40
40
  @builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
41
41
  end
42
- def analyse_target_arguments arg
43
- @builder.append " /AnalyseTargetArguments=#{@builder.format arg}"
42
+ def analyse_target_arguments bool
43
+ @builder.append " /analyseTargetArguments=#{@builder.format bool}"
44
44
  self
45
45
  end
46
- def filters arg
47
- @builder.append " /Filters=#{@builder.format arg}"
46
+ def filters filters
47
+ @builder.append " /filters=#{@builder.format filters, ';'}"
48
48
  self
49
49
  end
50
- def inherit_console arg
51
- @builder.append " /InheritConsole=#{@builder.format arg}"
50
+ def inherit_console bool
51
+ @builder.append " /inheritConsole=#{@builder.format bool}"
52
52
  self
53
53
  end
54
- def log_file arg
55
- @builder.append " /LogFile=#{@builder.format arg}"
54
+ def log_file log_file
55
+ @builder.append " /logFile=#{@builder.format log_file}"
56
56
  self
57
57
  end
58
- def output arg
59
- @builder.append " /Output=#{@builder.format arg}"
58
+ def output snapshot_path
59
+ @builder.append " /output=#{@builder.format snapshot_path}"
60
60
  self
61
61
  end
62
- def target_arguments arg
63
- @builder.append " /TargetArguments=#{@builder.format arg}"
62
+ def target_arguments target_arguments
63
+ @builder.append " /targetArguments=#{@builder.format target_arguments}"
64
64
  self
65
65
  end
66
- def target_executable arg
67
- @builder.append " /TargetExecutable=#{@builder.format arg}"
66
+ def target_executable target_executable
67
+ @builder.append " /targetExecutable=#{@builder.format target_executable}"
68
68
  self
69
69
  end
70
- def target_working_dir arg
71
- @builder.append " /TargetWorkingDir=#{@builder.format arg}"
70
+ def target_working_dir target_working_dir
71
+ @builder.append " /targetWorkingDir=#{@builder.format target_working_dir}"
72
72
  self
73
73
  end
74
- def temp_dir arg
75
- @builder.append " /TempDir=#{@builder.format arg}"
74
+ def temp_dir temp_dir
75
+ @builder.append " /tempDir=#{@builder.format temp_dir}"
76
76
  self
77
77
  end
78
78
  def to_s
@@ -85,16 +85,16 @@ module FluentCommandBuilder
85
85
  @builder.append ' merge'
86
86
  @builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
87
87
  end
88
- def output arg
89
- @builder.append " /Output=#{@builder.format arg}"
88
+ def output snapshot_path
89
+ @builder.append " /output=#{@builder.format snapshot_path}"
90
90
  self
91
91
  end
92
- def source arg
93
- @builder.append " /Source=#{@builder.format arg}"
92
+ def source source
93
+ @builder.append " /source=#{@builder.format source}"
94
94
  self
95
95
  end
96
- def temp_dir arg
97
- @builder.append " /TempDir=#{@builder.format arg}"
96
+ def temp_dir temp_dir
97
+ @builder.append " /tempDir=#{@builder.format temp_dir}"
98
98
  self
99
99
  end
100
100
  def to_s
@@ -107,16 +107,16 @@ module FluentCommandBuilder
107
107
  @builder.append ' report'
108
108
  @builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
109
109
  end
110
- def output arg
111
- @builder.append " /Output=#{@builder.format arg}"
110
+ def output snapshot_path
111
+ @builder.append " /output=#{@builder.format snapshot_path}"
112
112
  self
113
113
  end
114
- def report_type arg
115
- @builder.append " /ReportType=#{@builder.format arg}"
114
+ def report_type report_type
115
+ @builder.append " /reportType=#{@builder.format report_type}"
116
116
  self
117
117
  end
118
- def source arg
119
- @builder.append " /Source=#{@builder.format arg}"
118
+ def source source
119
+ @builder.append " /source=#{@builder.format source}"
120
120
  self
121
121
  end
122
122
  def to_s
@@ -129,12 +129,12 @@ module FluentCommandBuilder
129
129
  @builder.append ' list'
130
130
  @builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
131
131
  end
132
- def output arg
133
- @builder.append " /Output=#{@builder.format arg}"
132
+ def output snapshot_path
133
+ @builder.append " /output=#{@builder.format snapshot_path}"
134
134
  self
135
135
  end
136
- def source arg
137
- @builder.append " /Source=#{@builder.format arg}"
136
+ def source source
137
+ @builder.append " /source=#{@builder.format source}"
138
138
  self
139
139
  end
140
140
  def to_s
@@ -147,8 +147,8 @@ module FluentCommandBuilder
147
147
  @builder.append ' delete'
148
148
  @builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
149
149
  end
150
- def source arg
151
- @builder.append " /Source=#{@builder.format arg}"
150
+ def source source
151
+ @builder.append " /source=#{@builder.format source}"
152
152
  self
153
153
  end
154
154
  def to_s
@@ -161,44 +161,44 @@ module FluentCommandBuilder
161
161
  @builder.append ' analyse'
162
162
  @builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
163
163
  end
164
- def analyse_target_arguments arg
165
- @builder.append " /AnalyseTargetArguments=#{@builder.format arg}"
164
+ def analyse_target_arguments bool
165
+ @builder.append " /analyseTargetArguments=#{@builder.format bool}"
166
166
  self
167
167
  end
168
- def filters arg
169
- @builder.append " /Filters=#{@builder.format arg}"
168
+ def filters filters
169
+ @builder.append " /filters=#{@builder.format filters, ';'}"
170
170
  self
171
171
  end
172
- def inherit_console arg
173
- @builder.append " /InheritConsole=#{@builder.format arg}"
172
+ def inherit_console bool
173
+ @builder.append " /inheritConsole=#{@builder.format bool}"
174
174
  self
175
175
  end
176
- def log_file arg
177
- @builder.append " /LogFile=#{@builder.format arg}"
176
+ def log_file log_file
177
+ @builder.append " /logFile=#{@builder.format log_file}"
178
178
  self
179
179
  end
180
- def output arg
181
- @builder.append " /Output=#{@builder.format arg}"
180
+ def output snapshot_path
181
+ @builder.append " /output=#{@builder.format snapshot_path}"
182
182
  self
183
183
  end
184
- def report_type arg
185
- @builder.append " /ReportType=#{@builder.format arg}"
184
+ def report_type report_type
185
+ @builder.append " /reportType=#{@builder.format report_type}"
186
186
  self
187
187
  end
188
- def target_arguments arg
189
- @builder.append " /TargetArguments=#{@builder.format arg}"
188
+ def target_arguments target_arguments
189
+ @builder.append " /targetArguments=#{@builder.format target_arguments}"
190
190
  self
191
191
  end
192
- def target_executable arg
193
- @builder.append " /TargetExecutable=#{@builder.format arg}"
192
+ def target_executable target_executable
193
+ @builder.append " /targetExecutable=#{@builder.format target_executable}"
194
194
  self
195
195
  end
196
- def target_working_dir arg
197
- @builder.append " /TargetWorkingDir=#{@builder.format arg}"
196
+ def target_working_dir target_working_dir
197
+ @builder.append " /targetWorkingDir=#{@builder.format target_working_dir}"
198
198
  self
199
199
  end
200
- def temp_dir arg
201
- @builder.append " /TempDir=#{@builder.format arg}"
200
+ def temp_dir temp_dir
201
+ @builder.append " /tempDir=#{@builder.format temp_dir}"
202
202
  self
203
203
  end
204
204
  def to_s
@@ -211,12 +211,12 @@ module FluentCommandBuilder
211
211
  @builder.append ' zip'
212
212
  @builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
213
213
  end
214
- def output arg
215
- @builder.append " /Output=#{@builder.format arg}"
214
+ def output snapshot_path
215
+ @builder.append " /output=#{@builder.format snapshot_path}"
216
216
  self
217
217
  end
218
- def source arg
219
- @builder.append " /Source=#{@builder.format arg}"
218
+ def source source
219
+ @builder.append " /source=#{@builder.format source}"
220
220
  self
221
221
  end
222
222
  def to_s