Kieker 1.5

kieker.tools.traceAnalysis.filter.traceWriter
Class ExecutionTraceWriterFilter

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.AbstractExecutionTraceProcessingFilter
                      extended by kieker.tools.traceAnalysis.filter.traceWriter.ExecutionTraceWriterFilter
All Implemented Interfaces:
IFilterPlugin, IPlugin

public class ExecutionTraceWriterFilter
extends AbstractExecutionTraceProcessingFilter

This class has exactly one input port named "in". The data which is send to this plugin is not delegated in any way.

Author:
Andre van Hoorn

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference
 
Field Summary
static String CONFIG_PROPERTY_NAME_OUTPUT_FN
           
static String INPUT_PORT_NAME_EXECUTION_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
ExecutionTraceWriterFilter(Configuration configuration)
           
 
Method Summary
 Configuration getCurrentConfiguration()
          This method should deliver a Configuration object containing the current configuration of this instance.
 String getExecutionTraceInputPortName()
           
 void newExecutionTrace(ExecutionTrace et)
           
 void printStatusMessage()
          Returns a user-addressed status message to be logged by the calling tool.
 void terminate(boolean error)
          Initiates a termination of the component.
 
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount
 
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
createExecutionByEntityNames, setErrStream, setOutStream
 
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin
init
 
Methods inherited from class kieker.analysis.plugin.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, getAllInputPortNames, getAllOutputPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, isConnectionAllowed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INPUT_PORT_NAME_EXECUTION_TRACES

public static final String INPUT_PORT_NAME_EXECUTION_TRACES
See Also:
Constant Field Values

CONFIG_PROPERTY_NAME_OUTPUT_FN

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

ExecutionTraceWriterFilter

public ExecutionTraceWriterFilter(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: IFilterPlugin
Initiates a termination of the component. The value of the parameter error indicates whether an error occurred.

Specified by:
terminate in interface IFilterPlugin
Overrides:
terminate in class AbstractFilterPlugin
Parameters:
error - true iff an error occurred.

getExecutionTraceInputPortName

public String getExecutionTraceInputPortName()
Specified by:
getExecutionTraceInputPortName in class AbstractExecutionTraceProcessingFilter

newExecutionTrace

public void newExecutionTrace(ExecutionTrace et)

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.

Kieker 1.5

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