|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.zion.jbuddy.bots.BotFilterSet
public class BotFilterSet
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).
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 |
---|
public void add(BotFilter filter)
public void add(BotFilter filter, int index)
public List getFilters()
public void remove(BotFilter filter)
public void clear()
public Object clone()
clone
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |