1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 École Polytechnique de Montréal
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
10 * Geneviève Bastien - Initial implementation and API
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.core
.event
.matching
;
15 import org
.eclipse
.tracecompass
.tmf
.core
.event
.ITmfEvent
;
16 import org
.eclipse
.tracecompass
.tmf
.core
.event
.matching
.TmfEventMatching
.MatchingType
;
17 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.ITmfTrace
;
20 * This interface describe a concrete method to match events. Typically it
21 * manages for a given matching type what events/fields are used to match events
23 * @author Geneviève Bastien
26 public interface ITmfMatchEventDefinition
{
29 * Returns a key for an event that uniquely identifies this event and will
30 * match the key from another event.
33 * The event for which to compute the key
34 * @return the unique key for this event
36 IEventMatchingKey
getEventKey(ITmfEvent event
);
39 * Verifies whether a trace has all required events to match using this
44 * @return Whether the trace has all required information
46 boolean canMatchTrace(ITmfTrace trace
);
49 * Return all matching types this definition covers
51 * @return an array of matching types
53 MatchingType
[] getApplicableMatchingTypes();
This page took 0.033567 seconds and 5 git commands to generate.