|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetwork.detectors.EventDetector
network.detectors.AgentServerLogEventDetector
Field Summary | |
protected com.oroinc.text.regex.PatternCompiler |
compiler
Perl pattern match compiler |
protected int |
currentYear
|
protected java.lang.String[][] |
eventInfoTable
|
protected java.lang.String |
eventName
|
protected com.oroinc.text.regex.PatternMatcher |
matcher
Perl pattern matcher object |
protected java.util.Vector |
monthLookup
|
protected java.lang.String |
paramInstr
|
protected java.util.Vector |
paramProcInstr
|
protected java.lang.String |
pattern
|
protected boolean |
toolsCreated
|
Fields inherited from class network.detectors.EventDetector |
agentURN, cred, dbModule, eventIDGenerator, eventTable, host, localTriggeringEvents, remoteTriggeringEvents, reportTable |
Constructor Summary | |
AgentServerLogEventDetector(ConfigObject configObj)
Default constructor for the AgentServerLogEventDetector. |
|
AgentServerLogEventDetector(java.lang.String logFileName,
ConfigObject configObj)
Constructor for the AgentServerLogDetector. |
Method Summary | |
java.util.Vector |
generateEvent(Event triggerringEvent)
Generates an |
java.lang.String |
getGeneratingEventClassName()
Function which returns the generated Event Class name |
protected java.util.Vector |
match(java.lang.String line,
java.lang.String inputPattern)
|
void |
populatePatterns(java.util.Vector patternVector)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String[][] eventInfoTable
protected java.lang.String pattern
protected java.lang.String eventName
protected java.util.Vector paramProcInstr
protected int currentYear
protected java.lang.String paramInstr
protected boolean toolsCreated
protected java.util.Vector monthLookup
protected com.oroinc.text.regex.PatternMatcher matcher
protected com.oroinc.text.regex.PatternCompiler compiler
Constructor Detail |
public AgentServerLogEventDetector(ConfigObject configObj)
public AgentServerLogEventDetector(java.lang.String logFileName, ConfigObject configObj)
logFileName
- Name of the AgentServer logfileMethod Detail |
public java.lang.String getGeneratingEventClassName()
getGeneratingEventClassName
in class EventDetector
public java.util.Vector generateEvent(Event triggerringEvent)
generateEvent
in class EventDetector
triggerringEvent
-
protected java.util.Vector match(java.lang.String line, java.lang.String inputPattern)
line
- inputPattern
-
public void populatePatterns(java.util.Vector patternVector)
populatePatterns
in class EventDetector
patternVector
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |