org.processmining.framework.models.recommendation.compat
Class RecommendationQueryFilter

java.lang.Object
  extended by org.processmining.framework.models.recommendation.compat.RecommendationQueryFilter

public class RecommendationQueryFilter
extends java.lang.Object

This class provides a wrapper around a ProM log filter, which enables it to be applied to recommendation queries as well.

Author:
Christian W. Guenther (christian@deckfour.org)

Field Summary
protected  LogFilter filter
           
 
Constructor Summary
RecommendationQueryFilter(LogFilter aFilter)
          Creates a new log filter wrapper
 
Method Summary
 RecommendationQuery filter(RecommendationQuery aQuery, java.lang.String process)
          Filters the audit trail inside a recommendation query with the wrapped log filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filter

protected LogFilter filter
Constructor Detail

RecommendationQueryFilter

public RecommendationQueryFilter(LogFilter aFilter)
Creates a new log filter wrapper

Parameters:
aFilter - the log filter to be wrapped
Method Detail

filter

public RecommendationQuery filter(RecommendationQuery aQuery,
                                  java.lang.String process)
Filters the audit trail inside a recommendation query with the wrapped log filter. This method modifies the recommendation query parameter itself!

Parameters:
aQuery - recommendation query to be filtered
Returns:
the parameter recommendation query, filtered