01: package org.columba.core.filter;
02:
03: import org.columa.core.config.IDefaultItem;
04: import org.columba.core.xml.XmlElement;
05:
06: public interface IFilter extends IDefaultItem {
07:
08: /**
09: *
10: * @return FilterActionList this is also a simple wrapper
11: */
12: IFilterActionList getFilterActionList();
13:
14: /**
15: *
16: *
17: * @return FilterRule this is also a simple wrapper
18: */
19: IFilterRule getFilterRule();
20:
21: /**
22: * Is filter enabled?
23: *
24: * @return boolean true if enabled
25: */
26: boolean getEnabled();
27:
28: /**
29: *
30: * enable Filter
31: *
32: * @param bool
33: * if true enable filter otherwise disable filter
34: */
35: void setEnabled(boolean bool);
36:
37: /**
38: * Set filter name
39: *
40: * @param s
41: * new filter name
42: */
43: void setName(String s);
44:
45: /**
46: *
47: * return Name of Filter
48: *
49: * @return String
50: */
51: String getName();
52:
53: /** {@inheritDoc} */
54: Object clone();
55:
56: /** {@inheritDoc} */
57: String toString();
58:
59: }
|