Update internal packages export in LTTng 2.0 control + update java doc
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.core / src / org / eclipse / linuxtools / internal / lttng2 / core / control / model / TraceLogLevel.java
1 /**********************************************************************
2 * Copyright (c) 2012 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made 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 * Bernd Hufmann - Initial API and implementation
11 *********************************************************************/
12 package org.eclipse.linuxtools.internal.lttng2.core.control.model;
13
14 /**
15 * <p>
16 * Log Level enumeration.
17 * </p>
18 *
19 * @author Bernd Hufmann
20 */
21 @SuppressWarnings("nls")
22 public enum TraceLogLevel {
23
24 // ------------------------------------------------------------------------
25 // Enum definition
26 // ------------------------------------------------------------------------
27 TRACE_EMERG("TRACE_EMERG"), // 0
28 TRACE_ALERT("TRACE_ALERT"), // 1
29 TRACE_CRIT("TRACE_CRIT"), // 2
30 TRACE_ERR("TRACE_ERR"), // 3
31 TRACE_WARNING("TRACE_WARNING"), // 4
32 TRACE_NOTICE("TRACE_NOTICE"), // 5
33 TRACE_INFO("TRACE_INFO"), // 6
34 TRACE_DEBUG_SYSTEM("TRACE_DEBUG_SYSTEM"), // 7
35 TRACE_DEBUG_PROGRAM("TRACE_DEBUG_PROGRAM"), // 8
36 TRACE_DEBUG_PROCESS("TRACE_DEBUG_PROCESS"), // 9
37 TRACE_DEBUG_MODULE("TRACE_DEBUG_MODULE"), // 10
38 TRACE_DEBUG_UNIT("TRACE_DEBUG_UNIT"), // 11
39 TRACE_DEBUG_FUNCTION("TRACE_DEBUG_FUNCTION"), //12
40 TRACE_DEBUG_LINE("TRACE_DEBUG_LINE"), //13
41 TRACE_DEBUG("TRACE_DEBUG"), // 14
42 LEVEL_UNKNOWN("LEVEL_UNKNOWN"); // 15
43
44 // ------------------------------------------------------------------------
45 // Attributes
46 // ------------------------------------------------------------------------
47 /**
48 * Name of enum.
49 */
50 private final String fInName;
51
52 // ------------------------------------------------------------------------
53 // Constuctors
54 // ------------------------------------------------------------------------
55
56 /**
57 * Private constructor
58 * @param name the name of state
59 */
60 private TraceLogLevel(String name) {
61 fInName = name;
62 }
63
64 // ------------------------------------------------------------------------
65 // Accessors
66 // ------------------------------------------------------------------------
67 /**
68 * @return state name
69 */
70 public String getInName() {
71 return fInName;
72 }
73 };
74
75
This page took 0.033846 seconds and 6 git commands to generate.