Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 09257a3100837530f4fb11bbc7b9ae216543c971 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*******************************************************************************
 * Copyright (c) 2011, 2012 Formal Mind GmbH and University of Dusseldorf.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     Michael Jastram - initial API and implementation
 ******************************************************************************/
/**
 * 
 */
package org.eclipse.rmf.reqif10.pror.testframework;

import org.eclipse.emf.common.notify.Notification;

/**
 * I can't believe that there is no Filter Interface in the JDK!  Or am I blind?
 * 
 * @author jastram
 */
public interface Filter {

	/**
	 * Inspects the notification and decides whether it should be processed
	 * further. This is typically an equals test against
	 * {@link Notification#getNotifier()}.
	 * 
	 * @return true if the notification shall be accepted.
	 */
	public boolean accept(Notification notification);

}

Back to the top