Added properties implementation
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui / src / org / eclipse / linuxtools / lttng / ui / views / control / model / TraceLogLevel.java
CommitLineData
eb1bab5b
BH
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 *********************************************************************/
12package org.eclipse.linuxtools.lttng.ui.views.control.model;
13
14/**
15 * <b><u>TraceLogLevels</u></b>
16 * <p>
17 * Log Level state enumeration.
18 * </p>
19 */
20@SuppressWarnings("nls")
21public enum TraceLogLevel {
22
23 // ------------------------------------------------------------------------
24 // Enum definition
25 // ------------------------------------------------------------------------
26 TRACE_EMERG("TRACE_EMERG0"),
27 TRACE_ALERT("TRACE_ALERT1"),
28 TRACE_CRIT("TRACE_CRIT2"),
29 TRACE_ERR("TRACE_ERR3"),
30 TRACE_WARNING("TRACE_WARNING4"),
31 TRACE_NOTICE("TRACE_NOTICE5"),
32 TRACE_INFO("TRACE_INFO6"),
33 TRACE_SYSTEM("TRACE_SYSTEM7"),
34 TRACE_PROGRAM("TRACE_PROGRAM8"),
35 TRACE_PROCESS("TRACE_PROCESS9"),
36 TRACE_MODULE("TRACE_MODULE10"),
37 TRACE_UNIT("TRACE_UNIT11"),
38 TRACE_FUNCTION("TRACE_FUNCTION12"),
39 TRACE_DEFAULT("TRACE_DEFAULT13"),
40 TRACE_VERBOSE("TRACE_VERBOSE14"),
41 TRACE_DEBUG("TRACE_DEBUG15");
42
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.025868 seconds and 5 git commands to generate.