/*******************************************************************************
 * Copyright (c) 2015 - 2016 - 2016, Andreas Hefti, inarisoft@yahoo.de 
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/
package com.inari.commons.event;

import com.inari.commons.lang.aspect.AspectBitSet;

/** An EventListener which implements also a specified matching within an Aspect to verify if
 *  the listener is interested on a certain AspectedEvent or not.
 *  <p>
 *  Use this to listen to an ApsectedEvent that matches the Aspect on that the listener is interested in.
 *  The listener will only get notifies on a specified AspectedEvent if it match the Aspect
 *  @author andreas hefti
 *
 */
public interface AspectedEventListener {
    
    /** Use this to implement the Aspect matching.
     * 
     * @param aspect the Aspect form AspectedEvent to test the matching
     * @return true if the listener is interested on a AspectedEvent with specified Aspect.
     */
    boolean match( AspectBitSet aspect );

}

@@ -879,30 +879,31 @@
 %0A/** An 
-E
+e
 vent
-L
+ l
 istener 
 which im
@@ -898,23 +898,31 @@
 ner 
-which implement
+definition which define
 s al
@@ -955,22 +955,30 @@
 thin an 
+%7B@link 
 Aspect
+%7D
  to veri
@@ -1027,16 +1027,23 @@
 certain 
+%7B@link 
 Aspected
@@ -1047,16 +1047,17 @@
 tedEvent
+%7D
  or not.
@@ -1094,16 +1094,23 @@
 n to an 
+%7B@link 
 Apsected
@@ -1114,16 +1114,17 @@
 tedEvent
+%7D
  that ma
@@ -1133,22 +1133,30 @@
 hes the 
+%7B@link 
 Aspect
+%7D
  on that
@@ -1225,17 +1225,17 @@
  notifie
-s
+d
  on a sp
@@ -1238,24 +1238,31 @@
 a specified 
+%7B@link 
 AspectedEven
@@ -1262,16 +1262,17 @@
 tedEvent
+%7D
  if it m
@@ -1280,22 +1280,30 @@
 tch the 
+%7B@link 
 Aspect
+%7D
 %0A *  @au
@@ -1408,22 +1408,30 @@
 ent the 
+%7B@link 
 Aspect
+%7D
  matchin
@@ -1470,20 +1470,35 @@
 the 
+%7B@link 
 Aspect
+%7D
  form 
+%7B@link 
 Aspe
@@ -1506,16 +1506,17 @@
 tedEvent
+%7D
  to test

Update AspectedEventListener.java