Commit | Line | Data |
---|---|---|
b1baa808 MK |
1 | /******************************************************************************* |
2 | * Copyright (c) 2012 Ericsson | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are made | |
5 | * 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: Matthew Khouzam - Initial API and implementation | |
10 | *******************************************************************************/ | |
11 | ||
2bdf0193 | 12 | package org.eclipse.tracecompass.tmf.ctf.core; |
ce2388e0 | 13 | |
2bdf0193 AM |
14 | import org.eclipse.tracecompass.tmf.core.event.ITmfEventField; |
15 | import org.eclipse.tracecompass.tmf.core.event.TmfEventType; | |
ce2388e0 | 16 | |
b1baa808 | 17 | /** |
063f0d27 AM |
18 | * The CTF extension of the TMF event type |
19 | * | |
d09f973b | 20 | * @author Matthew khouzam |
b1baa808 | 21 | */ |
ce2388e0 FC |
22 | public class CtfTmfEventType extends TmfEventType { |
23 | ||
b1baa808 MK |
24 | /** |
25 | * Constructor for CtfTmfEventType. | |
063f0d27 AM |
26 | * |
27 | * @param eventName | |
e5f7f02c | 28 | * The event name |
063f0d27 | 29 | * @param content |
e5f7f02c MK |
30 | * The event field |
31 | * @since 3.0 | |
b1baa808 | 32 | */ |
e600c338 AM |
33 | public CtfTmfEventType(String eventName, ITmfEventField content) { |
34 | super(eventName, content); | |
ce2388e0 FC |
35 | } |
36 | ||
b1baa808 MK |
37 | /** |
38 | * Method toString. | |
063f0d27 | 39 | * |
b1baa808 MK |
40 | * @return String |
41 | */ | |
ce2388e0 | 42 | @Override |
e30ce12e | 43 | public String toString() { |
b27165ab | 44 | return getName(); |
ce2388e0 FC |
45 | } |
46 | } |