Improve package tangle index for LTTng 2.0 control design
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.core / src / org / eclipse / linuxtools / internal / lttng2 / core / control / model / TraceEnablement.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 **********************************************************************/
9315aeee 12package org.eclipse.linuxtools.internal.lttng2.core.control.model;
eb1bab5b
BH
13
14/**
15 * <b><u>TraceEnablement</u></b>
16 * <p>
17 * Enumeration for enabled/disabled states.
18 * </p>
19 */
20public enum TraceEnablement {
21
22 // ------------------------------------------------------------------------
23 // Enum definition
24 // ------------------------------------------------------------------------
25 DISABLED("disabled"), //$NON-NLS-1$
26 ENABLED("enabled"); //$NON-NLS-1$
27
28 // ------------------------------------------------------------------------
29 // Attributes
30 // ------------------------------------------------------------------------
31 /**
32 * Name of enum
33 */
34 private final String fInName;
35
36 // ------------------------------------------------------------------------
37 // Constuctors
38 // ------------------------------------------------------------------------
39
40 /**
41 * Private constructor
42 * @param name the name of state
43 */
44 private TraceEnablement(String name) {
45 fInName = name;
46 }
47
48 // ------------------------------------------------------------------------
49 // Accessors
50 // ------------------------------------------------------------------------
51 /**
52 * @return state name
53 */
54 public String getInName() {
55 return fInName;
56 }
57};
58
This page took 0.057677 seconds and 5 git commands to generate.