Kieker 1.6

kieker.tools.traceAnalysis.filter.traceWriter
Class MessageTraceWriterFilter

java.lang.Object
  extended by kieker.analysis.plugin.AbstractPlugin
      extended by kieker.analysis.plugin.filter.AbstractFilterPlugin
          extended by kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
              extended by kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
                  extended by kieker.tools.traceAnalysis.filter.AbstractMessageTraceProcessingFilter
                      extended by kieker.tools.traceAnalysis.filter.traceWriter.MessageTraceWriterFilter
All Implemented Interfaces:
IFilterPlugin, IPlugin

public class MessageTraceWriterFilter
extends AbstractMessageTraceProcessingFilter

Author:
Andre van Hoorn

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
 
Field Summary
static String CONFIG_PROPERTY_NAME_OUTPUT_FN
           
 
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractMessageTraceProcessingFilter
INPUT_PORT_NAME_MESSAGE_TRACES
 
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
MAX_DURATION_MILLIS
 
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
REPOSITORY_PORT_NAME_SYSTEM_MODEL
 
Fields inherited from class kieker.analysis.plugin.AbstractPlugin
CONFIG_NAME
 
Constructor Summary
MessageTraceWriterFilter(Configuration configuration)
           
 
Method Summary
 Configuration getCurrentConfiguration()
          This method should deliver a Configuration object containing the current configuration of this instance.
 void inputMessageTraces(MessageTrace mt)
           
 void printStatusMessage()
          Returns a user-addressed status message to be logged by the calling tool.
 void terminate(boolean error)
          Initiates a termination of the plugin.
 
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount
 
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
createExecutionByEntityNames, createExecutionByEntityNames, getSystemEntityFactory, setErrStream, setOutStream
 
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin
init
 
Methods inherited from class kieker.analysis.plugin.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getIncomingPlugins, getName, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kieker.analysis.plugin.IPlugin
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
 

Field Detail

CONFIG_PROPERTY_NAME_OUTPUT_FN

public static final String CONFIG_PROPERTY_NAME_OUTPUT_FN
See Also:
Constant Field Values
Constructor Detail

MessageTraceWriterFilter

public MessageTraceWriterFilter(Configuration configuration)
                         throws IOException
Throws:
IOException
Method Detail

printStatusMessage

public void printStatusMessage()
Description copied from class: AbstractTraceProcessingFilter
Returns a user-addressed status message to be logged by the calling tool. Extending classes may override this method but should call the then-inherited method first.

Overrides:
printStatusMessage in class AbstractTraceProcessingFilter

terminate

public void terminate(boolean error)
Description copied from interface: IPlugin
Initiates a termination of the plugin. This method is only used by the framework and should not be called manually. Use the method AnalysisController.terminate(boolean) instead. After receiving this notification, the plugin should terminate any running methods, e.g., read for readers.

Specified by:
terminate in interface IPlugin
Overrides:
terminate in class AbstractFilterPlugin

getCurrentConfiguration

public Configuration getCurrentConfiguration()
Description copied from interface: IPlugin
This method should deliver a Configuration object containing the current configuration of this instance. In other words: The constructor should be able to use the given object to initialize a new instance of this class with the same intern properties.

Returns:
A completely filled configuration object.

inputMessageTraces

public void inputMessageTraces(MessageTrace mt)
Specified by:
inputMessageTraces in class AbstractMessageTraceProcessingFilter

Kieker 1.6

Copyright 2012 Kieker Project, http://kieker-monitoring.net