package hu.bme.mit.incquery.cep.performance.md.patterns.util; import hu.bme.mit.incquery.cep.performance.md.patterns.ComponentIMatch; import org.eclipse.incquery.runtime.api.IMatchProcessor; /** * A match processor tailored for the hu.bme.mit.incquery.cep.performance.md.patterns.componentI pattern. * * Clients should derive an (anonymous) class that implements the abstract process(). * */ @SuppressWarnings("all") public abstract class ComponentIProcessor implements IMatchProcessor<ComponentIMatch> { /** * Defines the action that is to be executed on each match. * @param pTe the value of pattern parameter te in the currently processed match * */ public abstract void process(final Object pTe); @Override public void process(final ComponentIMatch match) { process(match.getTe()); } }