|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for objects that can filter event output. Filters typically work on a line-by-line basis, so they're passed the event output as a list of lines, and they operate on the list when performing the filtering.
Method Summary | |
java.util.ArrayList |
filter(java.util.ArrayList lines)
Filters the event output according to whatever rules the filter uses. |
void |
parseArguments(java.lang.String verb,
java.lang.String args)
Parses the argument string passed to a filter command. |
Method Detail |
public java.util.ArrayList filter(java.util.ArrayList lines)
lines
- the lines of the message to filter
java.lang.IllegalArgumentException
- if the filter
runs into a problem that should stop processing of the
message. Detail message will to go the agent.public void parseArguments(java.lang.String verb, java.lang.String args)
verb
- the command verb (e.g. "grep").args
- the argument string passed to the command,
not including the command verb. Null if no arguments were
passed to the filter.
java.lang.IllegalArgumentException
- if the arguments were invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |