org.drools.event.rule.WorkingMemoryEventManager Maven / Gradle / Ivy
package org.drools.event.rule;
import java.util.Collection;
public interface WorkingMemoryEventManager {
/**
* Add an event listener.
*
* @param listener
* The listener to add.
*/
public void addEventListener(WorkingMemoryEventListener listener);
/**
* Remove an event listener.
*
* @param listener
* The listener to remove.
*/
public void removeEventListener(WorkingMemoryEventListener listener);
/**
* Returns all event listeners.
*
* @return listeners The listeners.
*/
public Collection getWorkingMemoryEventListeners();
/**
* Add an event listener.
*
* @param listener
* The listener to add.
*/
public void addEventListener(AgendaEventListener listener);
/**
* Remove an event listener.
*
* @param listener
* The listener to remove.
*/
public void removeEventListener(AgendaEventListener listener);
/**
* Returns all event listeners.
*
* @return listeners The listeners.
*/
public Collection getAgendaEventListeners();
}