com.netflix.eventbus.filter.lang.infix
Class InfixFilterLanguageSupport

java.lang.Object
  extended by com.netflix.eventbus.filter.lang.infix.InfixFilterLanguageSupport
All Implemented Interfaces:
FilterLanguageSupport<java.lang.String>

public class InfixFilterLanguageSupport
extends java.lang.Object
implements FilterLanguageSupport<java.lang.String>


Constructor Summary
InfixFilterLanguageSupport()
           
 
Method Summary
 EventFilter convert(java.lang.String filter)
          Converts the passed filter object to a valid EventFilter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfixFilterLanguageSupport

public InfixFilterLanguageSupport()
Method Detail

convert

public EventFilter convert(java.lang.String filter)
                    throws InvalidFilterException
Description copied from interface: FilterLanguageSupport
Converts the passed filter object to a valid EventFilter.

Specified by:
convert in interface FilterLanguageSupport<java.lang.String>
Parameters:
filter - Filter object to convert.
Returns:
EventFilter corresponding to the passed filter.
Throws:
InvalidFilterException - If the passed filter was invalid.