ctf: Allow finalizing CTFTrace's if validation failed
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / model / TraceSessionState.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 *********************************************************************/
115b4a01 12package org.eclipse.linuxtools.internal.lttng2.ui.views.control.model;
eb1bab5b
BH
13
14/**
15 * <b><u>TraceSessionState</u></b>
16 * <p>
17 * Session state enumeration.
18 * </p>
19 */
20public enum TraceSessionState {
21
22 // ------------------------------------------------------------------------
23 // Enum definition
24 // ------------------------------------------------------------------------
25 INACTIVE("inactive"), //$NON-NLS-1$
26 ACTIVE("active"); //$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 TraceSessionState(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.029869 seconds and 5 git commands to generate.