|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.logdistiller.LogDistillation.Plugin
public abstract static class LogDistillation.Plugin
Field Summary | |
---|---|
protected LogDistiller.Plugin |
definition
|
protected LogDistillation.Group |
group
|
Constructor Summary | |
---|---|
LogDistillation.Plugin(LogDistiller.Plugin definition)
|
Method Summary | |
---|---|
abstract void |
addLogEvent(LogEvent le)
Add a log event to this plugin instance. |
void |
addLogEvent(LogEvent le,
Condition condition)
Add a log event to this plugin instance, with information on which condition was matched. |
abstract void |
appendGlobalReport(ReportFormat.PluginReport report)
Append a summary of this plugin instance results to the global report. |
abstract void |
appendGroupReport(ReportFormat.PluginReport report)
Append a summary of this plugin instance results to the group report. |
abstract void |
begin(File destinationDirectory)
Begin the log distillation for this plugin instance. |
abstract void |
end()
End the log distillation for this plugin instance. |
LogDistiller.Plugin |
getDefinition()
|
LogDistillation.Group |
getGroup()
|
String |
getId()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final LogDistiller.Plugin definition
protected transient LogDistillation.Group group
Constructor Detail |
---|
public LogDistillation.Plugin(LogDistiller.Plugin definition)
Method Detail |
---|
public LogDistillation.Group getGroup()
public LogDistiller.Plugin getDefinition()
public String getId()
public abstract void begin(File destinationDirectory) throws IOException
destinationDirectory
- the directory where reports will be stored.
IOException
public abstract void addLogEvent(LogEvent le) throws IOException
le
- the log event.
IOException
public void addLogEvent(LogEvent le, Condition condition) throws IOException
le
- the log event.condition
- the condition which was matched
IOException
public abstract void end() throws IOException
IOException
public abstract void appendGroupReport(ReportFormat.PluginReport report)
report
- the plugin report formatterpublic abstract void appendGlobalReport(ReportFormat.PluginReport report)
report
- the plugin report formatter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |