lttng: Add a diagram showing the dependencies between plugins
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.core / src / org / eclipse / linuxtools / internal / lttng2 / core / control / model / TraceSessionState.java
CommitLineData
eb1bab5b
BH
1/**********************************************************************
2 * Copyright (c) 2012 Ericsson
b0318660 3 *
eb1bab5b
BH
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
b0318660
AM
8 *
9 * Contributors:
eb1bab5b
BH
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 * Session state enumeration.
17 * </p>
b0318660 18 *
dbd4432d 19 * @author Bernd Hufmann
eb1bab5b
BH
20 */
21public enum TraceSessionState {
b0318660 22
eb1bab5b
BH
23 // ------------------------------------------------------------------------
24 // Enum definition
25 // ------------------------------------------------------------------------
b0318660 26 /** Trace session inactive */
eb1bab5b 27 INACTIVE("inactive"), //$NON-NLS-1$
b0318660 28 /** Trace session active */
eb1bab5b
BH
29 ACTIVE("active"); //$NON-NLS-1$
30
31 // ------------------------------------------------------------------------
32 // Attributes
33 // ------------------------------------------------------------------------
34 /**
b0318660 35 * Name of enum.
eb1bab5b
BH
36 */
37 private final String fInName;
38
39 // ------------------------------------------------------------------------
40 // Constuctors
41 // ------------------------------------------------------------------------
b0318660 42
eb1bab5b
BH
43 /**
44 * Private constructor
45 * @param name the name of state
46 */
47 private TraceSessionState(String name) {
48 fInName = name;
49 }
50
51 // ------------------------------------------------------------------------
52 // Accessors
53 // ------------------------------------------------------------------------
54 /**
55 * @return state name
56 */
57 public String getInName() {
58 return fInName;
59 }
b0318660 60}
This page took 0.064743 seconds and 5 git commands to generate.