kieker.tools.traceAnalysis.filter.traceWriter
Class MessageTraceWriterFilter
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
kieker.tools.traceAnalysis.filter.AbstractMessageTraceProcessingFilter
kieker.tools.traceAnalysis.filter.traceWriter.MessageTraceWriterFilter
- All Implemented Interfaces:
- IAnalysisComponent, IFilterPlugin, IPlugin
public class MessageTraceWriterFilter
- extends AbstractMessageTraceProcessingFilter
- Since:
- 1.2
- Author:
- Andre van Hoorn
Method Summary |
Configuration |
getCurrentConfiguration()
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. |
void |
inputMessageTraces(MessageTrace mt)
This is the (abstract) input port for the incoming message traces. |
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. 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. |
Methods inherited from class kieker.analysis.plugin.AbstractPlugin |
areAllRepositoryPortsConnected, connect, connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getIncomingPlugins, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start |
Methods inherited from interface kieker.analysis.plugin.IPlugin |
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState |
CONFIG_PROPERTY_NAME_OUTPUT_FN
public static final String CONFIG_PROPERTY_NAME_OUTPUT_FN
- The name of the configuration determining the output file name.
- See Also:
- Constant Field Values
MessageTraceWriterFilter
public MessageTraceWriterFilter(Configuration configuration,
IProjectContext projectContext)
throws IOException
- Creates a new instance of this class using the given parameters.
- Parameters:
configuration
- The configuration for this component.projectContext
- The project context for this component.
- Throws:
IOException
- If either the default encoding is not supported or the given file is somehow invalid.
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)
- 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
- Parameters:
error
- Determines whether the plugin is terminated due to an error or not.
getCurrentConfiguration
public Configuration getCurrentConfiguration()
- 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.
- Specified by:
getCurrentConfiguration
in interface IAnalysisComponent
- Specified by:
getCurrentConfiguration
in interface IPlugin
- Specified by:
getCurrentConfiguration
in class AbstractAnalysisComponent
- Returns:
- A completely filled configuration object.
inputMessageTraces
public void inputMessageTraces(MessageTrace mt)
- This is the (abstract) input port for the incoming message traces.
- Specified by:
inputMessageTraces
in class AbstractMessageTraceProcessingFilter
- Parameters:
mt
- The incoming message trace.
Copyright 2014 Kieker Project, http://kieker-monitoring.net>