|
TPTP 4.4.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.logging.adapter.impl.Component
org.eclipse.hyades.logging.adapter.impl.ProcessUnit
org.eclipse.hyades.logging.adapter.impl.Outputter
org.eclipse.hyades.logging.parsers.adapter.outputters.LogImportOutputter
org.eclipse.hyades.logging.parsers.adapter.outputters.CBEXMLLogImportOutputter
This outputter emits the CommonBaseEvents to a logger associated with the Log Import Wizard of Log and Trace Analyzer. The logger is stored by the ParserWrapper class. Note, this outputter is intended only to be used for importing CommonBaseEvent XML files. That is, it should only be used in adapters used to import log files that contain CommonBaseEvents in XML format. It only accepts arrays of String objects from a sensor or arrays of MessageString objects from an extractor and writes to a logger that excepts String objects.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.hyades.logging.parsers.adapter.outputters.LogImportOutputter |
|---|
outLogger |
| Fields inherited from class org.eclipse.hyades.logging.adapter.impl.ProcessUnit |
|---|
flushingMode |
| Fields inherited from class org.eclipse.hyades.logging.adapter.impl.Component |
|---|
logger, status, stopping |
| Constructor Summary | |
|---|---|
CBEXMLLogImportOutputter()
|
|
| Method Summary | |
|---|---|
java.lang.Object[] |
processEventItems(java.lang.Object[] msgs)
This implementation processes messages represented by an array of String objects where each String represents a CommonBaseEvent in XML format. |
java.lang.Object[] |
testProcessEventItems(java.lang.Object[] msgs)
Simulate processing the CommonBaseEvents. |
| Methods inherited from class org.eclipse.hyades.logging.parsers.adapter.outputters.LogImportOutputter |
|---|
update |
| Methods inherited from class org.eclipse.hyades.logging.adapter.impl.ProcessUnit |
|---|
flushEventItems, getProperties, setProperties, updateConfigurationPropertyChild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.hyades.logging.adapter.IProcessUnit |
|---|
flushEventItems |
| Constructor Detail |
public CBEXMLLogImportOutputter()
| Method Detail |
public java.lang.Object[] processEventItems(java.lang.Object[] msgs)
processEventItems in interface IProcessUnitprocessEventItems in class LogImportOutputtermsgs - - an array of objects representing messages
IProcessUnit.processEventItems(java.lang.Object[])
public java.lang.Object[] testProcessEventItems(java.lang.Object[] msgs)
throws AdapterInvalidConfig
LogImportOutputter
testProcessEventItems in interface IProcessUnittestProcessEventItems in class LogImportOutputterAdapterInvalidConfigIProcessUnit.testProcessEventItems(java.lang.Object[])
|
TPTP 4.4.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||