org.apache.hivemind.lib.pipeline
Class FilterHolder

java.lang.Object
  extended by org.apache.hivemind.lib.pipeline.FilterHolder
All Implemented Interfaces:
org.apache.hivemind.Locatable

public class FilterHolder
extends java.lang.Object
implements org.apache.hivemind.Locatable

A holder for a filter within a pipeline, and for the location for that filter. This allows the location of the filter to be reported, even if the filter itself does not implement Locatable.

Author:
Howard Lewis Ship

Constructor Summary
FilterHolder(java.lang.Object filter, org.apache.hivemind.Location location)
           
 
Method Summary
 java.lang.Object getFilter()
           
 org.apache.hivemind.Location getLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterHolder

public FilterHolder(java.lang.Object filter,
                    org.apache.hivemind.Location location)
Method Detail

getFilter

public java.lang.Object getFilter()

getLocation

public org.apache.hivemind.Location getLocation()
Specified by:
getLocation in interface org.apache.hivemind.Locatable