/**********************************************************************
* Copyright (c) 2012 Ericsson
- *
+ *
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
+ *
+ * Contributors:
* Bernd Hufmann - Initial API and implementation
**********************************************************************/
package org.eclipse.linuxtools.internal.lttng2.core.control.model;
* <p>
* Trace event type enumeration.
* </p>
- *
+ *
* @author Bernd Hufmann
*/
-public enum TraceEventType {
+public enum TraceEventType {
+ /** Event type: tracepoint */
TRACEPOINT("tracepoint"), //$NON-NLS-1$
+ /** Event type: syscall */
SYSCALL("syscall"), //$NON-NLS-1$
+ /** Event type: probe */
PROBE("probe"), //$NON-NLS-1$
+ /** Event type unknown */
UNKNOWN("unknown"); //$NON-NLS-1$
private final String fInName;
fInName = name;
}
+ /**
+ * Get the type's name
+ *
+ * @return The type's name
+ */
public String getInName() {
return fInName;
}
-};
+}