Commit | Line | Data |
---|---|---|
0df4af5f JRJ |
1 | /******************************************************************************* |
2 | * Copyright (c) 2014 Ericsson | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are made | |
5 | * available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: | |
10 | * Jonathan Rajotte Julien - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.internal.lttng2.control.ui.views.service; | |
14 | ||
15 | import org.eclipse.jdt.annotation.NonNullByDefault; | |
16 | ||
17 | /** | |
18 | * Non-externalized strings for use with the LTTng Control services. This | |
19 | * nformation is extracted from mi_lttng.xsd from lttng-tool libmi. | |
20 | * | |
21 | * @author Jonathan Rajotte | |
22 | */ | |
23 | @SuppressWarnings("nls") | |
24 | @NonNullByDefault | |
25 | public interface MIStrings { | |
26 | ||
27 | /** | |
28 | * Represent the command_action xml element | |
29 | */ | |
30 | String COMMAND_ACTION = "snapshot_action"; | |
31 | ||
32 | /** | |
33 | * Represent the command_add_context xml element | |
34 | */ | |
35 | String COMMAND_ADD_CONTEXT = "add-context"; | |
36 | ||
37 | /** | |
38 | * Represent the command_calibrate xml element | |
39 | */ | |
40 | String COMMAND_CALIBRATE = "calibrate"; | |
41 | ||
42 | /** | |
43 | * Represent the command_create xml element | |
44 | */ | |
45 | String COMMAND_CREATE = "create"; | |
46 | ||
47 | /** | |
48 | * Represent the command_destroy xml element | |
49 | */ | |
50 | String COMMAND_DESTROY = "destroy"; | |
51 | ||
52 | /** | |
53 | * Represent the command_disable_channel xml element | |
54 | */ | |
55 | String COMMAND_DISABLE_CHANNEL = "disable-channel"; | |
56 | ||
57 | /** | |
58 | * Represent the command_disable_event xml element | |
59 | */ | |
60 | String COMMAND_DISABLE_EVENT = "disable-event"; | |
61 | ||
62 | /** | |
63 | * Represent the command_enable_channels xml element | |
64 | */ | |
65 | String COMMAND_ENABLE_CHANNELS = "enable-channel"; | |
66 | ||
67 | /** | |
68 | * Represent the command_enable_event xml element | |
69 | */ | |
70 | String COMMAND_ENABLE_EVENT = "enable-event"; | |
71 | ||
72 | /** | |
73 | * Represent the command_list xml element | |
74 | */ | |
75 | String COMMAND_LIST = "list"; | |
76 | ||
77 | /** | |
78 | * Represent the command_load xml element | |
79 | */ | |
80 | String COMMAND_LOAD = "load"; | |
81 | ||
82 | /** | |
83 | * Represent the command_name xml element | |
84 | */ | |
85 | String COMMAND_NAME = "name"; | |
86 | ||
87 | /** | |
88 | * Represent the command_output xml element | |
89 | */ | |
90 | String COMMAND_OUTPUT = "output"; | |
91 | ||
92 | /** | |
93 | * Represent the command_save xml element | |
94 | */ | |
95 | String COMMAND_SAVE = "save"; | |
96 | ||
97 | /** | |
98 | * Represent the command_set_session xml element | |
99 | */ | |
100 | String COMMAND_SET_SESSION = "set-session"; | |
101 | ||
102 | /** | |
103 | * Represent the command_snapshot xml element | |
104 | */ | |
105 | String COMMAND_SNAPSHOT = "snapshot"; | |
106 | ||
107 | /** | |
108 | * Represent the command_snapshot_add xml element | |
109 | */ | |
110 | String COMMAND_SNAPSHOT_ADD = "add_snapshot"; | |
111 | ||
112 | /** | |
113 | * Represent the command_snapshot_del xml element | |
114 | */ | |
115 | String COMMAND_SNAPSHOT_DEL = "del_snapshot"; | |
116 | ||
117 | /** | |
118 | * Represent the command_snapshot_list xml element | |
119 | */ | |
120 | String COMMAND_SNAPSHOT_LIST = "list_snapshot"; | |
121 | ||
122 | /** | |
123 | * Represent the command_snapshot_record xml element | |
124 | */ | |
125 | String COMMAND_SNAPSHOT_RECORD = "record_snapshot"; | |
126 | ||
127 | /** | |
128 | * Represent the command_start xml element | |
129 | */ | |
130 | String COMMAND_START = "start"; | |
131 | ||
132 | /** | |
133 | * Represent the command_stop xml element | |
134 | */ | |
135 | String COMMAND_STOP = "stop"; | |
136 | ||
137 | /** | |
138 | * Represent the command_success xml element | |
139 | */ | |
140 | String COMMAND_SUCCESS = "success"; | |
141 | ||
142 | /** | |
143 | * Represent the command_version xml element | |
144 | */ | |
145 | String COMMAND_VERSION = "version"; | |
146 | ||
147 | /** | |
148 | * Represent the version xml element | |
149 | */ | |
150 | String VERSION = "version"; | |
151 | ||
152 | /** | |
153 | * Represent the version_commit xml element | |
154 | */ | |
155 | String VERSION_COMMIT = "commit"; | |
156 | ||
157 | /** | |
158 | * Represent the version_description xml element | |
159 | */ | |
160 | String VERSION_DESCRIPTION = "description"; | |
161 | ||
162 | /** | |
163 | * Represent the version_license xml element | |
164 | */ | |
165 | String VERSION_LICENSE = "license"; | |
166 | ||
167 | /** | |
168 | * Represent the version_major xml element | |
169 | */ | |
170 | String VERSION_MAJOR = "major"; | |
171 | ||
172 | /** | |
173 | * Represent the version_minor xml element | |
174 | */ | |
175 | String VERSION_MINOR = "minor"; | |
176 | ||
177 | /** | |
178 | * Represent the version_patch_level xml element | |
179 | */ | |
180 | String VERSION_PATCH_LEVEL = "patchLevel"; | |
181 | ||
182 | /** | |
183 | * Represent the version_str xml element | |
184 | */ | |
185 | String VERSION_STR = "string"; | |
186 | ||
187 | /** | |
188 | * Represent the version_web xml element | |
189 | */ | |
190 | String VERSION_WEB = "url"; | |
191 | ||
192 | /** | |
193 | * Represent the version_name xml element | |
194 | */ | |
195 | String VERSION_NAME = "name"; | |
196 | /* String related to a lttng_event_field */ | |
197 | ||
198 | /** | |
199 | * Represent the event_field xml element | |
200 | */ | |
201 | String EVENT_FIELD = "event_field"; | |
202 | ||
203 | /** | |
204 | * Represent the event_fields xml element | |
205 | */ | |
206 | String EVENT_FIELDS = "event_fields"; | |
207 | ||
208 | /** | |
209 | * Represent the perf_counter_context xml element | |
210 | */ | |
211 | String PERF_COUNTER_CONTEXT = "perf_counter_context"; | |
212 | ||
213 | // ------------------------------------------------------------------------ | |
214 | // String related to pid | |
215 | // ------------------------------------------------------------------------/ | |
216 | ||
217 | /** | |
218 | * Represent the pids xml element | |
219 | */ | |
220 | String PIDS = "pids"; | |
221 | ||
222 | /** | |
223 | * Represent the pid xml element | |
224 | */ | |
225 | String PID = "pid"; | |
226 | ||
227 | /** | |
228 | * Represent the pid_id xml element | |
229 | */ | |
230 | String PID_ID = "id"; | |
231 | ||
232 | // ------------------------------------------------------------------------ | |
233 | // String related to save command | |
234 | // ------------------------------------------------------------------------ | |
235 | /** | |
236 | * Represent the save xml element | |
237 | */ | |
238 | String SAVE = "save"; | |
239 | ||
240 | // ------------------------------------------------------------------------ | |
241 | // String related to load command | |
242 | // ------------------------------------------------------------------------ | |
243 | /** | |
244 | * Represent the load xml element | |
245 | */ | |
246 | String LOAD = "load"; | |
247 | ||
248 | // ------------------------------------------------------------------------ | |
249 | // String related to general element of mi_lttng | |
250 | // ------------------------------------------------------------------------ | |
251 | /** | |
252 | * Represent the empty xml element | |
253 | */ | |
254 | String EMPTY = ""; | |
255 | ||
256 | /** | |
257 | * Represent the id xml element | |
258 | */ | |
259 | String ID = "id"; | |
260 | ||
261 | /** | |
262 | * Represent the nowrite xml element | |
263 | */ | |
264 | String NOWRITE = "nowrite"; | |
265 | ||
266 | /** | |
267 | * Represent the success xml element | |
268 | */ | |
269 | String SUCCESS = "success"; | |
270 | ||
271 | /** | |
272 | * Represent the type_enum xml element | |
273 | */ | |
274 | String TYPE_ENUM = "ENUM"; | |
275 | ||
276 | /** | |
277 | * Represent the type_float xml element | |
278 | */ | |
279 | String TYPE_FLOAT = "FLOAT"; | |
280 | ||
281 | /** | |
282 | * Represent the type_integer xml element | |
283 | */ | |
284 | String TYPE_INTEGER = "INTEGER"; | |
285 | ||
286 | /** | |
287 | * Represent the type_other xml element | |
288 | */ | |
289 | String TYPE_OTHER = "OTHER"; | |
290 | ||
291 | /** | |
292 | * Represent the type_string xml element | |
293 | */ | |
294 | String TYPE_STRING = "STRING"; | |
295 | ||
296 | // ------------------------------------------------------------------------ | |
297 | // String related to lttng_calibrate | |
298 | // ------------------------------------------------------------------------ | |
299 | /** | |
300 | * Represent the calibrate xml element | |
301 | */ | |
302 | String CALIBRATE = "calibrate"; | |
303 | ||
304 | /** | |
305 | * Represent the calibrate_function xml element | |
306 | */ | |
307 | String CALIBRATE_FUNCTION = "FUNCTION"; | |
308 | ||
309 | // ------------------------------------------------------------------------ | |
310 | // String related to a lttng_snapshot_output | |
311 | // ------------------------------------------------------------------------ | |
312 | /** | |
313 | * Represent the snapshot_ctrl_url xml element | |
314 | */ | |
315 | String SNAPSHOT_CTRL_URL = "ctrl_url"; | |
316 | ||
317 | /** | |
318 | * Represent the snapshot_data_url xml element | |
319 | */ | |
320 | String SNAPSHOT_DATA_URL = "data_url"; | |
321 | ||
322 | /** | |
323 | * Represent the snapshot_max_size xml element | |
324 | */ | |
325 | ||
326 | String SNAPSHOT_MAX_SIZE = "max_size"; | |
327 | ||
328 | /** | |
329 | * Represent the snapshot_n_ptr xml element | |
330 | */ | |
331 | String SNAPSHOT_N_PTR = "n_ptr"; | |
332 | ||
333 | /** | |
334 | * Represent the snapshot_session_name xml element | |
335 | */ | |
336 | String SNAPSHOT_SESSION_NAME = "session_name"; | |
337 | ||
338 | /** | |
339 | * Represent the snapshots xml element | |
340 | */ | |
341 | String SNAPSHOTS = "snapshots"; | |
342 | /** | |
343 | * Represent the channel xml element | |
344 | */ | |
345 | String CHANNEL = "channel"; | |
346 | ||
347 | /** | |
348 | * Represent the channels xml element | |
349 | */ | |
350 | String CHANNELS = "channels"; | |
351 | ||
352 | /** | |
353 | * Represent the domain xml element | |
354 | */ | |
355 | String DOMAIN = "domain"; | |
356 | ||
357 | /** | |
358 | * Represent the domains xml element | |
359 | */ | |
360 | String DOMAINS = "domains"; | |
361 | ||
362 | /** | |
363 | * Represent the event xml element | |
364 | */ | |
365 | String EVENT = "event"; | |
366 | ||
367 | /** | |
368 | * Represent the events xml element | |
369 | */ | |
370 | String EVENTS = "events"; | |
371 | ||
372 | /** | |
373 | * Represent the context xml element | |
374 | */ | |
375 | String CONTEXT = "context"; | |
376 | ||
377 | /** | |
378 | * Represent the contexts xml element | |
379 | */ | |
380 | String CONTEXTS = "contexts"; | |
381 | ||
382 | /** | |
383 | * Represent the attributes xml element | |
384 | */ | |
385 | String ATTRIBUTES = "attributes"; | |
386 | ||
387 | /** | |
388 | * Represent the exclusion xml element | |
389 | */ | |
390 | String EXCLUSION = "exclusion"; | |
391 | ||
392 | /** | |
393 | * Represent the exclusions xml element | |
394 | */ | |
395 | String EXCLUSIONS = "exclusions"; | |
396 | ||
397 | /** | |
398 | * Represent the function_attributes xml element | |
399 | */ | |
400 | String FUNCTION_ATTRIBUTES = "function_attributes"; | |
401 | ||
402 | /** | |
403 | * Represent the probe_attributes xml element | |
404 | */ | |
405 | String PROBE_ATTRIBUTES = "probe_attributes"; | |
406 | ||
407 | /** | |
408 | * Represent the symbol_name xml element | |
409 | */ | |
410 | String SYMBOL_NAME = "symbol_name"; | |
411 | ||
412 | /** | |
413 | * Represent the address xml element | |
414 | */ | |
415 | String ADDRESS = "address"; | |
416 | ||
417 | /** | |
418 | * Represent the offset xml element | |
419 | */ | |
420 | String OFFSET = "offset"; | |
421 | ||
422 | /** | |
423 | * Represent the name xml element | |
424 | */ | |
425 | String NAME = "name"; | |
426 | ||
427 | /** | |
428 | * Represent the enabled xml element | |
429 | */ | |
430 | String ENABLED = "enabled"; | |
431 | ||
432 | /** | |
433 | * Represent the overwrite_mode xml element | |
434 | */ | |
435 | String OVERWRITE_MODE = "overwrite_mode"; | |
436 | ||
437 | /** | |
438 | * Represent the subbuf_size xml element | |
439 | */ | |
440 | String SUBBUF_SIZE = "subbuffer_size"; | |
441 | ||
442 | /** | |
443 | * Represent the num_subbuf xml element | |
444 | */ | |
445 | String NUM_SUBBUF = "subbuffer_count"; | |
446 | ||
447 | /** | |
448 | * Represent the switch_timer_interval xml element | |
449 | */ | |
450 | String SWITCH_TIMER_INTERVAL = "switch_timer_interval"; | |
451 | ||
452 | /** | |
453 | * Represent the read_timer_interval xml element | |
454 | */ | |
455 | String READ_TIMER_INTERVAL = "read_timer_interval"; | |
456 | ||
457 | /** | |
458 | * Represent the output xml element | |
459 | */ | |
460 | String OUTPUT = "output"; | |
461 | ||
462 | /** | |
463 | * Represent the output_type xml element | |
464 | */ | |
465 | String OUTPUT_TYPE = "output_type"; | |
466 | ||
467 | /** | |
468 | * Represent the tracefile_size xml element | |
469 | */ | |
470 | String TRACEFILE_SIZE = "tracefile_size"; | |
471 | ||
472 | /** | |
473 | * Represent the tracefile_count xml element | |
474 | */ | |
475 | String TRACEFILE_COUNT = "tracefile_count"; | |
476 | ||
477 | /** | |
478 | * Represent the live_timer_interval xml element | |
479 | */ | |
480 | String LIVE_TIMER_INTERVAL = "live_timer_interval"; | |
481 | ||
482 | /** | |
483 | * Represent the type xml element | |
484 | */ | |
485 | String TYPE = "type"; | |
486 | ||
487 | /** | |
488 | * Represent the buffer_type xml element | |
489 | */ | |
490 | String BUFFER_TYPE = "buffer_type"; | |
491 | ||
492 | /** | |
493 | * Represent the session xml element | |
494 | */ | |
495 | String SESSION = "session"; | |
496 | ||
497 | /** | |
498 | * Represent the sessions xml element | |
499 | */ | |
500 | String SESSIONS = "sessions"; | |
501 | ||
502 | /** | |
503 | * Represent the perf xml element | |
504 | */ | |
505 | String PERF = "perf"; | |
506 | ||
507 | /** | |
508 | * Represent the config xml element | |
509 | */ | |
510 | String CONFIG = "config"; | |
511 | ||
512 | /** | |
513 | * Represent the started xml element | |
514 | */ | |
515 | String STARTED = "started"; | |
516 | ||
517 | /** | |
518 | * Represent the snapshot_mode xml element | |
519 | */ | |
520 | String SNAPSHOT_MODE = "snapshot_mode"; | |
521 | ||
522 | /** | |
523 | * Represent the loglevel xml element | |
524 | */ | |
525 | String LOGLEVEL = "loglevel"; | |
526 | ||
527 | /** | |
528 | * Represent the loglevel_type xml element | |
529 | */ | |
530 | String LOGLEVEL_TYPE = "loglevel_type"; | |
531 | ||
532 | /** | |
533 | * Represent the filter xml element | |
534 | */ | |
535 | String FILTER = "filter"; | |
536 | ||
537 | /** | |
538 | * Represent the snapshot_outputs xml element | |
539 | */ | |
540 | String SNAPSHOT_OUTPUTS = "snapshot_outputs"; | |
541 | ||
542 | /** | |
543 | * Represent the consumer_output xml element | |
544 | */ | |
545 | String CONSUMER_OUTPUT = "consumer_output"; | |
546 | ||
547 | /** | |
548 | * Represent the destination xml element | |
549 | */ | |
550 | String DESTINATION = "destination"; | |
551 | ||
552 | /** | |
553 | * Represent the path xml element | |
554 | */ | |
555 | String PATH = "path"; | |
556 | ||
557 | /** | |
558 | * Represent the net_output xml element | |
559 | */ | |
560 | String NET_OUTPUT = "net_output"; | |
561 | ||
562 | /** | |
563 | * Represent the control_uri xml element | |
564 | */ | |
565 | String CONTROL_URI = "control_uri"; | |
566 | ||
567 | /** | |
568 | * Represent the data_uri xml element | |
569 | */ | |
570 | String DATA_URI = "data_uri"; | |
571 | ||
572 | /** | |
573 | * Represent the max_size xml element | |
574 | */ | |
575 | String MAX_SIZE = "max_size"; | |
576 | } |