Commit | Line | Data |
---|---|---|
be222f56 | 1 | /******************************************************************************* |
ed902a2b | 2 | * Copyright (c) 2010, 2014 Ericsson |
57a2a5ca | 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 | |
57a2a5ca | 8 | * |
be222f56 PT |
9 | * Contributors: |
10 | * Patrick Tasse - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
2bdf0193 | 13 | package org.eclipse.tracecompass.tmf.core.filter; |
be222f56 | 14 | |
2bdf0193 | 15 | import org.eclipse.tracecompass.tmf.core.event.ITmfEvent; |
be222f56 PT |
16 | |
17 | /** | |
18 | * The TMF filter interface. | |
57a2a5ca | 19 | * |
be222f56 PT |
20 | * @version 1.0 |
21 | * @author Patrick Tasse | |
22 | */ | |
23 | public interface ITmfFilter { | |
24 | ||
57a2a5ca BH |
25 | /** |
26 | * Verify the filter conditions on an event | |
27 | * | |
28 | * @param event The event to verify. | |
29 | * @return True if the event matches the filter conditions. | |
30 | */ | |
31 | boolean matches(ITmfEvent event); | |
32 | ||
be222f56 | 33 | } |