| Revision: | 1.2 |
| Committed: | Fri Dec 1 14:23:32 2000 UTC (25 years ago) by pjm2 |
| Branch: | MAIN |
| CVS Tags: | PROJECT_COMPLETION, HEAD |
| Changes since 1.1: | +4 -0 lines |
| Log Message: | Added a getDescription() method in the interface for filter plugins. |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | pjm2 | 1.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 | pjm2 | 1.2 | |
| 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 | pjm2 | 1.1 | } |