custom.parsers: bug 494697 Define event names in custom parsers
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / parsers / custom / CustomXmlEventType.java
CommitLineData
be222f56 1/*******************************************************************************
53f17e49 2 * Copyright (c) 2010, 2016 Ericsson
a0a88f65 3 *
be222f56
PT
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
a0a88f65 8 *
be222f56
PT
9 * Contributors:
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
12
2bdf0193 13package org.eclipse.tracecompass.tmf.core.parsers.custom;
be222f56 14
53f17e49
GB
15import org.eclipse.jdt.annotation.NonNull;
16import org.eclipse.tracecompass.tmf.core.event.ITmfEventField;
17
a0a88f65
AM
18/**
19 * Event type class for custom XML traces.
20 *
21 * @author Patrick Tassé
22 */
be222f56
PT
23public class CustomXmlEventType extends CustomEventType {
24
a0a88f65
AM
25 /**
26 * Constructor
27 *
28 * @param definition
29 * Trace definition
53f17e49
GB
30 * @deprecated Use {@link #CustomXmlEventType(String, ITmfEventField)}
31 * instead.
a0a88f65 32 */
53f17e49 33 @Deprecated
d5efe032
AF
34 public CustomXmlEventType(CustomXmlTraceDefinition definition) {
35 super(definition);
36 }
be222f56 37
53f17e49
GB
38 /**
39 * Constructor
40 *
41 * @param eventName
42 * the event name
43 * @param root
44 * the root field
45 * @since 2.1
46 */
47 public CustomXmlEventType(@NonNull String eventName, ITmfEventField root) {
48 super(eventName, root);
49 }
50
be222f56 51}
This page took 0.083748 seconds and 5 git commands to generate.