/*
 * JGrapes Event Driven Framework
 * Copyright (C) 2016-2018 Michael N. Lipp
 * 
 * This program is free software; you can redistribute it and/or modify it 
 * under the terms of the GNU General Public License as published by 
 * the Free Software Foundation; either version 3 of the License, or 
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 
 * for more details.
 * 
 * You should have received a copy of the GNU General Public License along 
 * with this program; if not, see <http://www.gnu.org/licenses/>.
 */

package org.jgrapes.core;

import org.jgrapes.core.annotation.HandlerDefinition.Evaluator;

/**
 * This interface allows to verify whether a given
 * event fired on one of the given channels is handled by a handler.
 * Instances of this interface are provided by the 
 * {@link Evaluator}s for handler annotations.
 */
public interface HandlerScope {

	boolean includes(Eligible event, Eligible[] channels);
	
}

@@ -1086,16 +1086,235 @@
 cope %7B%0A%0A
+%09/**%0A%09 * Matches the given event and channels against the criteria%0A%09 * for events and channels of this handler scope.%0A%09 *%0A%09 * @param event the event%0A%09 * @param channels the channels%0A%09 * @return true, if successful%0A%09 */%0A
 %09boolean

Comment added.