Kieker 1.2

kieker.tools.traceAnalysis.plugins.traceWriter
Class InvalidExecutionTraceWriterPlugin

java.lang.Object
  extended by kieker.tools.traceAnalysis.plugins.AbstractTraceAnalysisPlugin
      extended by kieker.tools.traceAnalysis.plugins.AbstractTraceProcessingPlugin
          extended by kieker.tools.traceAnalysis.plugins.AbstractInvalidExecutionTraceProcessingPlugin
              extended by kieker.tools.traceAnalysis.plugins.traceWriter.InvalidExecutionTraceWriterPlugin
All Implemented Interfaces:
IAnalysisPlugin

public class InvalidExecutionTraceWriterPlugin
extends AbstractInvalidExecutionTraceProcessingPlugin

Author:
Andre van Hoorn

Constructor Summary
InvalidExecutionTraceWriterPlugin(String name, SystemModelRepository systemEntityFactory, String outputFn)
           
 
Method Summary
 boolean execute()
          Initiates the start of a component.
 IInputPort<InvalidExecutionTrace> getInvalidExecutionTraceInputPort()
           
 void printStatusMessage()
           
 void terminate(boolean error)
          Initiates a termination of the component.
 
Methods inherited from class kieker.tools.traceAnalysis.plugins.AbstractTraceProcessingPlugin
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvalidExecutionTraceWriterPlugin

public InvalidExecutionTraceWriterPlugin(String name,
                                         SystemModelRepository systemEntityFactory,
                                         String outputFn)
                                  throws FileNotFoundException,
                                         IOException
Throws:
FileNotFoundException
IOException
Method Detail

printStatusMessage

public void printStatusMessage()
Overrides:
printStatusMessage in class AbstractTraceProcessingPlugin

terminate

public void terminate(boolean error)
Description copied from interface: IAnalysisPlugin
Initiates a termination of the component. The value of the parameter error indicates whether an error occured.

Parameters:
error - true iff an error occured.

execute

public boolean execute()
Description copied from interface: IAnalysisPlugin
Initiates the start of a component. This method is called once when a TpanInstance's run() method is called. This implementation must not be blocking! Asynchronous consumers would spawn (an) aynchronous thread(s) in this method.

Returns:
true on success; false otherwise.

getInvalidExecutionTraceInputPort

public IInputPort<InvalidExecutionTrace> getInvalidExecutionTraceInputPort()
Specified by:
getInvalidExecutionTraceInputPort in class AbstractInvalidExecutionTraceProcessingPlugin

Kieker 1.2

Copyright 2010 the Kieker Project, http://kieker.sourceforge.net