rcf.core.concurrent.schedule
Class TaskStateFilter<T extends Task>

java.lang.Object
  extended by rcf.core.util.filter.AbstractFilter<T>
      extended by rcf.core.concurrent.schedule.TaskStateFilter<T>
All Implemented Interfaces:
rcf.core.util.filter.Filter<T>, ImmutableSingletonInterface<Task.State>

@Revision(value="$Revision: 1.3 $",
          date="$Date: 2006/11/09 02:09:10 $",
          tag="$Name:  $")
public class TaskStateFilter<T extends Task>
extends rcf.core.util.filter.AbstractFilter<T>
implements ImmutableSingletonInterface<Task.State>

TODO: Javadoc

TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString

Version:
$Revision: 1.3 $
Author:
Greg Gibeling

Nested Class Summary
 
Nested classes/interfaces inherited from interface rcf.core.util.filter.Filter
rcf.core.util.filter.Filter.Type
 
Field Summary
protected  Task.State state
          TODO: Javadoc
 
Fields inherited from class rcf.core.util.filter.AbstractFilter
filterInverse
 
Constructor Summary
TaskStateFilter(Task.State _state)
          TODO: Javadoc
 
Method Summary
 boolean filter(T o)
           
 rcf.core.util.filter.Filter.Type filterType()
           
 Task.State get()
          TODO: Javadoc Get the content element of this singleton.
 
Methods inherited from class rcf.core.util.filter.AbstractFilter
filterAll, filterAny, filterInverse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface rcf.core.util.filter.Filter
equals
 

Field Detail

state

protected final Task.State state
TODO: Javadoc

Constructor Detail

TaskStateFilter

public TaskStateFilter(Task.State _state)
TODO: Javadoc

Parameters:
_state -
Method Detail

filter

public boolean filter(T o)
Specified by:
filter in interface rcf.core.util.filter.Filter<T extends Task>

filterType

public rcf.core.util.filter.Filter.Type filterType()
Specified by:
filterType in interface rcf.core.util.filter.Filter<T extends Task>

get

public Task.State get()
Description copied from interface: ImmutableSingletonInterface
TODO: Javadoc Get the content element of this singleton.

Specified by:
get in interface ImmutableSingletonInterface<Task.State>
Returns:
The content element of this singleton.