Internalize some classes and fix a pile of warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / internal / tmf / core / component / TmfThread.java
1 /*******************************************************************************
2 * Copyright (c) 2010 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 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.internal.tmf.core.component;
14
15 import org.eclipse.linuxtools.tmf.core.request.ITmfDataRequest.ExecutionType;
16
17 /**
18 * Utility class to add an execution class to a simple Java thread
19 *
20 * @version 1.0
21 * @author Francois Chouinard
22 */
23 public class TmfThread extends Thread {
24
25 private final ExecutionType fExecType;
26
27 public TmfThread(ExecutionType execType) {
28 fExecType = execType;
29 }
30
31 public ExecutionType getExecType() {
32 return fExecType;
33 }
34
35 public void cancel() {
36 }
37
38 }
This page took 0.030618 seconds and 5 git commands to generate.