Class InvalidExecutionTraceWriterFilter
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
kieker.tools.trace.analysis.filter.AbstractTraceAnalysisFilter
kieker.tools.trace.analysis.filter.AbstractTraceProcessingFilter
kieker.tools.trace.analysis.filter.AbstractInvalidExecutionTraceProcessingFilter
kieker.tools.trace.analysis.filter.traceWriter.InvalidExecutionTraceWriterFilter
- All Implemented Interfaces:
IAnalysisComponent,IFilterPlugin,IPlugin
@Deprecated public class InvalidExecutionTraceWriterFilter extends AbstractInvalidExecutionTraceProcessingFilter
Deprecated.
1.15 ported to teetime
- Since:
- 1.2
- Author:
- Andre van Hoorn
-
Nested Class Summary
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONFIG_PROPERTY_NAME_OUTPUT_FNDeprecated.The name of the configuration determining the output file name.static java.lang.StringINPUT_PORT_NAME_INVALID_EXECUTION_TRACESDeprecated.This is the name of the input port receiving new (invalid) execution traces.Fields inherited from class kieker.tools.trace.analysis.filter.AbstractTraceAnalysisFilter
CONFIG_PROPERTY_VALUE_VERBOSE, LOGGER, REPOSITORY_PORT_NAME_SYSTEM_MODELFields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext -
Constructor Summary
Constructors Constructor Description InvalidExecutionTraceWriterFilter(Configuration configuration, IProjectContext projectContext)Deprecated.Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description ConfigurationgetCurrentConfiguration()Deprecated.This method should deliver aConfigurationobject containing the current configuration of this instance.java.lang.StringgetInvalidExecutionTraceInputPortName()Deprecated.Implementing classes should return the name of the input port for the invalid executions.voidnewInvalidExecutionTrace(InvalidExecutionTrace et)Deprecated.This method represents the input port of this filter.voidprintStatusMessage()Deprecated.Returns a user-addressed status message to be logged by the calling tool.voidterminate(boolean error)Deprecated.Initiates a termination of the plugin.Methods inherited from class kieker.tools.trace.analysis.filter.AbstractTraceProcessingFilter
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, reportError, reportSuccessMethods inherited from class kieker.tools.trace.analysis.filter.AbstractTraceAnalysisFilter
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemEntityFactory, printDebugLogMessage, printErrorLogMessageMethods inherited from class kieker.analysis.plugin.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, startMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface kieker.analysis.plugin.IPlugin
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
-
Field Details
-
INPUT_PORT_NAME_INVALID_EXECUTION_TRACES
public static final java.lang.String INPUT_PORT_NAME_INVALID_EXECUTION_TRACESDeprecated.This is the name of the input port receiving new (invalid) execution traces.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_OUTPUT_FN
public static final java.lang.String CONFIG_PROPERTY_NAME_OUTPUT_FNDeprecated.The name of the configuration determining the output file name.- See Also:
- Constant Field Values
-
-
Constructor Details
-
InvalidExecutionTraceWriterFilter
public InvalidExecutionTraceWriterFilter(Configuration configuration, IProjectContext projectContext) throws java.io.IOExceptionDeprecated.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:
java.io.IOException- If the write stream could not be prepared.
-
-
Method Details
-
printStatusMessage
public void printStatusMessage()Deprecated.Description copied from class:AbstractTraceProcessingFilterReturns 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:
printStatusMessagein classAbstractTraceProcessingFilter
-
terminate
public void terminate(boolean error)Deprecated.Initiates a termination of the plugin. This method is only used by the framework and should not be called manually. Use the methodAnalysisController.terminate(boolean)instead. After receiving this notification, the plugin should terminate any running methods, e.g., read for readers.- Specified by:
terminatein interfaceIPlugin- Overrides:
terminatein classAbstractFilterPlugin- Parameters:
error- Determines whether the plugin is terminated due to an error or not.
-
getInvalidExecutionTraceInputPortName
public java.lang.String getInvalidExecutionTraceInputPortName()Deprecated.Description copied from class:AbstractInvalidExecutionTraceProcessingFilterImplementing classes should return the name of the input port for the invalid executions.- Specified by:
getInvalidExecutionTraceInputPortNamein classAbstractInvalidExecutionTraceProcessingFilter- Returns:
- The name of the input port.
-
newInvalidExecutionTrace
Deprecated.This method represents the input port of this filter.- Parameters:
et- The next execution trace.
-
getCurrentConfiguration
Deprecated.This method should deliver aConfigurationobject 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:
getCurrentConfigurationin interfaceIAnalysisComponent- Specified by:
getCurrentConfigurationin interfaceIPlugin- Overrides:
getCurrentConfigurationin classAbstractTraceAnalysisFilter- Returns:
- A completely filled configuration object.
-