|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.pluginapi.event.log.LogFileEventPoller
public class LogFileEventPoller
An Event poller that polls a log file for new entries.
Constructor Summary | |
---|---|
LogFileEventPoller(EventContext eventContext,
String eventType,
File logFile,
LogEntryProcessor entryProcessor)
|
Method Summary | |
---|---|
String |
getEventType()
Returns the type of event (i.e. the EventDefinition name) that this poller
checks for. |
String |
getSourceLocation()
|
protected void |
init()
This performs any initialization that requires using the EventContext. |
Set<Event> |
poll()
Poll for new Events (i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogFileEventPoller(EventContext eventContext, String eventType, File logFile, LogEntryProcessor entryProcessor)
Method Detail |
---|
@NotNull public String getEventType()
EventPoller
EventDefinition
name) that this poller
checks for.
getEventType
in interface EventPoller
EventDefinition
name) that this poller
checks for@NotNull public String getSourceLocation()
@Nullable public Set<Event> poll()
EventPoller
poll
in interface EventPoller
protected void init()
poll()
on the first
invocation of that method, at which point the PC will be initialized.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |