TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.hyades.analysis.engine
Interface ILogAnalyzer


public interface ILogAnalyzer

Interface intended to be implemented by log analyzers that are plugged into the TPTP log viewer. Each log analyzer contributed to the extension point org.eclipse.hyades.analysis.engine.logAnalyzer is populated in the TPTP log viewer's Analyze submenu.


Method Summary
 java.lang.String analyze(java.lang.Object aObject, IAnalysisMonitor monitor)
          Analyzes an object or a collection of objects.
 java.lang.String errorMsg()
          Returns an error message if the analyze process fails for some reason.
 void loadDatabase()
          Loads the symptom databases used for log analysis.
 void unloadDatabase()
          Unloads the symptom databases used for log analysis.
 

Method Detail

analyze

public java.lang.String analyze(java.lang.Object aObject,
                                IAnalysisMonitor monitor)
Analyzes an object or a collection of objects.

Parameters:
aObject - the object to be analyzed.
monitor - the progress monitor to use, or null if monitoring is not required.
Returns:
the result of the analysis process.

errorMsg

public java.lang.String errorMsg()
Returns an error message if the analyze process fails for some reason.


loadDatabase

public void loadDatabase()
Loads the symptom databases used for log analysis.


unloadDatabase

public void unloadDatabase()
Unloads the symptom databases used for log analysis.


TPTP 4.2.0 Platform Project
Public API Specification