|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuditEventSource
This interface defines the methods which all sources of AuditEvent-objects have to implement. Right now this is just like an iterator over AuditEvents.
| Method Summary | |
|---|---|
boolean |
hasNext()
This method returns true if there is at least one more event pending, so if hasNext returns true, the next call to nextEvent
should neither fail nor throw an exception. |
AuditEvent |
nextEvent()
Returns the next available AuditEvent. |
void |
setFilter(AuditEventFilter filter)
This sets a filter on the source. |
| Method Detail |
|---|
void setFilter(AuditEventFilter filter)
null.
filter - The filter that determines the events which are returned.AuditEvent nextEvent()
null
is returned.
boolean hasNext()
hasNext returns true, the next call to nextEvent
should neither fail nor throw an exception.
true iff there is another event available.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||