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 / 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/**
eb1bab5b
BH
15 * <p>
16 * Enumeration for enabled/disabled states.
17 * </p>
dbd4432d
BH
18 *
19 * @author Bernd Hufmann
eb1bab5b
BH
20 */
21public enum TraceEnablement {
22
23 // ------------------------------------------------------------------------
24 // Enum definition
25 // ------------------------------------------------------------------------
26 DISABLED("disabled"), //$NON-NLS-1$
27 ENABLED("enabled"); //$NON-NLS-1$
28
29 // ------------------------------------------------------------------------
30 // Attributes
31 // ------------------------------------------------------------------------
32 /**
33 * Name of enum
34 */
35 private final String fInName;
36
37 // ------------------------------------------------------------------------
38 // Constuctors
39 // ------------------------------------------------------------------------
40
41 /**
42 * Private constructor
43 * @param name the name of state
44 */
45 private TraceEnablement(String name) {
46 fInName = name;
47 }
48
49 // ------------------------------------------------------------------------
50 // Accessors
51 // ------------------------------------------------------------------------
52 /**
53 * @return state name
54 */
55 public String getInName() {
56 return fInName;
57 }
58};
59
This page took 0.039754 seconds and 5 git commands to generate.