~ubuntu-branches/ubuntu/trusty/eclipse-linuxtools/trusty

« back to all changes in this revision

Viewing changes to lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/ITmfFilter.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2012-06-29 12:07:30 UTC
  • Revision ID: package-import@ubuntu.com-20120629120730-bfri1xys1i71dpn6
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 *   Patrick Tasse - Initial API and implementation
 
11
 *******************************************************************************/
 
12
 
 
13
package org.eclipse.linuxtools.tmf.core.filter;
 
14
 
 
15
import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
 
16
 
 
17
/**
 
18
 * The TMF filter interface.
 
19
 * 
 
20
 * @version 1.0
 
21
 * @author Patrick Tasse
 
22
 */
 
23
public interface ITmfFilter {
 
24
 
 
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
        public boolean matches(ITmfEvent event);
 
32
        
 
33
}