public class MessageTraceWriterFilter extends AbstractMessageTraceProcessingFilter
IPlugin.PluginInputPortReference, IPlugin.STATE| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CONFIG_PROPERTY_NAME_OUTPUT_FNThe name of the configuration determining the output file name. | 
INPUT_PORT_NAME_MESSAGE_TRACESCONFIG_PROPERTY_VALUE_VERBOSE, LOG, REPOSITORY_PORT_NAME_SYSTEM_MODELCONFIG_NAME, configuration, log, projectContext, recordsTimeUnitFromProjectContext| Constructor and Description | 
|---|
| MessageTraceWriterFilter(Configuration configuration,
                        IProjectContext projectContext)Creates a new instance of this class using the given parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| Configuration | getCurrentConfiguration()This method should deliver a  Configurationobject containing the current configuration of this instance. | 
| 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. | 
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, reportError, reportSuccesscreateExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemEntityFactory, printDebugLogMessage, printErrorLogMessageinitareAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, startgetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getStatepublic static final java.lang.String CONFIG_PROPERTY_NAME_OUTPUT_FN
public MessageTraceWriterFilter(Configuration configuration, IProjectContext projectContext) throws java.io.IOException
configuration - The configuration for this component.projectContext - The project context for this component.java.io.IOException - If either the default encoding is not supported or the given file is somehow invalid.public void printStatusMessage()
AbstractTraceProcessingFilterprintStatusMessage in class AbstractTraceProcessingFilterpublic void terminate(boolean error)
AnalysisController.terminate(boolean) instead.
 
 After receiving this notification, the plugin should terminate any running
 methods, e.g., read for readers.terminate in interface IPluginterminate in class AbstractFilterPluginerror - Determines whether the plugin is terminated due to an error or not.public Configuration getCurrentConfiguration()
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.getCurrentConfiguration in interface IAnalysisComponentgetCurrentConfiguration in interface IPlugingetCurrentConfiguration in class AbstractTraceAnalysisFilterpublic void inputMessageTraces(MessageTrace mt)
inputMessageTraces in class AbstractMessageTraceProcessingFiltermt - The incoming message trace.Copyright 2017 Kieker Project, http://kieker-monitoring.net