Jadex 0.96-beta1

jadex.runtime
Interface IFilter

All Known Implementing Classes:
ComposedFilter, GoalEventFilter, InternalEventFilter, MessageEventFilter, ParameterElementFilter

public interface IFilter

A filter checks if an object matches some given description.


Field Summary
static IFilter ALWAYS
          A filter that always matches.
static IFilter NEVER
          A filter that never matches.
 
Method Summary
 boolean filter(Object object)
          Match an object against the filter.
 

Field Detail

NEVER

static final IFilter NEVER
A filter that never matches.


ALWAYS

static final IFilter ALWAYS
A filter that always matches.

Method Detail

filter

boolean filter(Object object)
               throws Exception
Match an object against the filter. Exceptions are interpreted as non-match.

Parameters:
object - The object.
Returns:
True, if the filter matches.
Throws:
Exception

Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.