com.ldodds.slug.framework
Class DelegatingTaskFilterImpl

java.lang.Object
  extended bycom.ldodds.slug.framework.DelegatingTaskFilterImpl
All Implemented Interfaces:
Component, TaskFilter

public class DelegatingTaskFilterImpl
extends java.lang.Object
implements TaskFilter


Constructor Summary
DelegatingTaskFilterImpl()
           
DelegatingTaskFilterImpl(java.util.List filters)
           
 
Method Summary
 boolean accept(Task task)
           
 void addFilter(TaskFilter filter)
           
 void configure(Resource self)
          Requests that the component instance configure itself based on properties associated with a given RDF resource.
 boolean isConfigured()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingTaskFilterImpl

public DelegatingTaskFilterImpl()

DelegatingTaskFilterImpl

public DelegatingTaskFilterImpl(java.util.List filters)
Method Detail

addFilter

public void addFilter(TaskFilter filter)

accept

public boolean accept(Task task)
Specified by:
accept in interface TaskFilter

configure

public void configure(Resource self)
Description copied from interface: Component
Requests that the component instance configure itself based on properties associated with a given RDF resource. Method should only be called once in a Component's life cycle.

Specified by:
configure in interface Component
Parameters:
self - Reference to the Jena Resource from which the Component was instantiated.

isConfigured

public boolean isConfigured()
Specified by:
isConfigured in interface Component