Revision: | 1.2 |
Committed: | Fri Dec 1 14:23:32 2000 UTC (23 years, 5 months ago) by pjm2 |
Branch: | MAIN |
CVS Tags: | PROJECT_COMPLETION, HEAD |
Changes since 1.1: | +4 -0 lines |
Error occurred while calculating annotation data. | |
Log Message: | Added a getDescription() method in the interface for filter plugins. |
# | Content |
---|---|
1 | // the plugin filter interface |
2 | |
3 | // pjm2@ukc.ac.uk |
4 | |
5 | interface PluginFilter { |
6 | |
7 | // return true if the filter wishes to allow the XMLPacket to pass |
8 | // to the next stage of the plugin filter pipeline. return false |
9 | // otherwise. |
10 | public boolean runFilter(XMLPacket packet); |
11 | |
12 | |
13 | // return a String representation of what the plugin filter |
14 | // does (e.g. "Rejects packets if x y and z") |
15 | public String getDescription(); |
16 | } |