1 /**********************************************************************
2 * Copyright (c) 2012 Ericsson
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
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org
.eclipse
.linuxtools
.internal
.lttng2
.core
.control
.model
;
16 * Enumeration for enabled/disabled states.
19 * @author Bernd Hufmann
21 public enum TraceEnablement
{
23 // ------------------------------------------------------------------------
25 // ------------------------------------------------------------------------
26 /** Tracing is disabled */
27 DISABLED("disabled"), //$NON-NLS-1$
28 /** Tracing is enabled */
29 ENABLED("enabled"); //$NON-NLS-1$
31 // ------------------------------------------------------------------------
33 // ------------------------------------------------------------------------
37 private final String fInName
;
39 // ------------------------------------------------------------------------
41 // ------------------------------------------------------------------------
45 * @param name the name of state
47 private TraceEnablement(String name
) {
51 // ------------------------------------------------------------------------
53 // ------------------------------------------------------------------------
57 public String
getInName() {
This page took 0.032627 seconds and 5 git commands to generate.