com.zion.jbuddy.bots
Class BotFilterSet

java.lang.Object
  extended by com.zion.jbuddy.bots.BotFilterSet

public class BotFilterSet
extends Object

A set of filters.

A filter set allows an event based on the following rules:

Note that each filter is processed in a row, and a filter may override the actions of previous filters (for example, an include filter may override a previous exclude filter, and cause the event to be allowed).

See Also:
BotIncludeFilter, BotExcludeFilter

Method Summary
 void add(BotFilter filter)
          Adds a filter to this set.
 void add(BotFilter filter, int index)
          Adds a filter to this set at the specified index.
 void clear()
          Removes all filters from this this set.
 Object clone()
          Returns an exact copy of this set.
 List getFilters()
          Returns a List of filters in this set.
 void remove(BotFilter filter)
          Removes a filter from this set.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public void add(BotFilter filter)
Adds a filter to this set.


add

public void add(BotFilter filter,
                int index)
Adds a filter to this set at the specified index.


getFilters

public List getFilters()
Returns a List of filters in this set.


remove

public void remove(BotFilter filter)
Removes a filter from this set.


clear

public void clear()
Removes all filters from this this set.


clone

public Object clone()
Returns an exact copy of this set.

Overrides:
clone in class Object


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2008 Zion Software, LLC All Rights Reserved.