Kieker 1.12

kieker.tools.traceAnalysis.filter
Class AbstractTraceAnalysisFilter

java.lang.Object
  extended by kieker.analysis.analysisComponent.AbstractAnalysisComponent
      extended by kieker.analysis.plugin.AbstractPlugin
          extended by kieker.analysis.plugin.filter.AbstractFilterPlugin
              extended by kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
All Implemented Interfaces:
IAnalysisComponent, IFilterPlugin, IPlugin
Direct Known Subclasses:
AbstractTraceProcessingFilter, ExecutionRecordTransformationFilter, SystemModel2FileFilter

public abstract class AbstractTraceAnalysisFilter
extends AbstractFilterPlugin

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
static java.lang.String CONFIG_PROPERTY_VALUE_VERBOSE
           
protected static Log LOG
           
static java.lang.String REPOSITORY_PORT_NAME_SYSTEM_MODEL
          The name of the repository port for the system model repository.
 
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, configuration, log, projectContext, recordsTimeUnitFromProjectContext
 
Constructor Summary
AbstractTraceAnalysisFilter(Configuration configuration, IProjectContext projectContext)
          Creates a new instance of this class using the given parameters.
 
Method Summary
protected  Execution createExecutionByEntityNames(java.lang.String executionContainerName, java.lang.String assemblyComponentTypeName, Signature operationSignature, long traceId, java.lang.String sessionId, int eoi, int ess, long tin, long tout, boolean assumed)
           
protected  Execution createExecutionByEntityNames(java.lang.String executionContainerName, java.lang.String assemblyComponentTypeName, java.lang.String componentTypeName, Signature operationSignature, long traceId, java.lang.String sessionId, int eoi, int ess, long tin, long tout, boolean assumed)
           
static Execution createExecutionByEntityNames(SystemModelRepository systemModelRepository, java.lang.String executionContainerName, java.lang.String assemblyComponentTypeName, Signature operationSignature, long traceId, java.lang.String sessionId, int eoi, int ess, long tin, long tout, boolean assumed)
           
static Execution createExecutionByEntityNames(SystemModelRepository systemModelRepository, java.lang.String executionContainerName, java.lang.String assemblyComponentTypeName, java.lang.String componentTypeName, Signature operationSignature, long traceId, java.lang.String sessionId, int eoi, int ess, long tin, long tout, boolean assumed)
           
 Configuration getCurrentConfiguration()
          This method should deliver a Configuration object containing the current configuration of this instance.
 SystemModelRepository getSystemEntityFactory()
           
protected  void printDebugLogMessage(java.lang.String[] lines)
          Prints a debug message to the logger.
protected  void printErrorLogMessage(java.lang.String[] lines)
           
 
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin
init, terminate
 
Methods 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, start
 
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kieker.analysis.plugin.IPlugin
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
 

Field Detail

CONFIG_PROPERTY_VALUE_VERBOSE

public static final java.lang.String CONFIG_PROPERTY_VALUE_VERBOSE
See Also:
Constant Field Values

REPOSITORY_PORT_NAME_SYSTEM_MODEL

public static final java.lang.String REPOSITORY_PORT_NAME_SYSTEM_MODEL
The name of the repository port for the system model repository.

See Also:
Constant Field Values

LOG

protected static final Log LOG
Constructor Detail

AbstractTraceAnalysisFilter

public AbstractTraceAnalysisFilter(Configuration configuration,
                                   IProjectContext projectContext)
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.
Method Detail

getCurrentConfiguration

public Configuration getCurrentConfiguration()
Description copied from class: AbstractAnalysisComponent
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.

createExecutionByEntityNames

public static final Execution createExecutionByEntityNames(SystemModelRepository systemModelRepository,
                                                           java.lang.String executionContainerName,
                                                           java.lang.String assemblyComponentTypeName,
                                                           java.lang.String componentTypeName,
                                                           Signature operationSignature,
                                                           long traceId,
                                                           java.lang.String sessionId,
                                                           int eoi,
                                                           int ess,
                                                           long tin,
                                                           long tout,
                                                           boolean assumed)

createExecutionByEntityNames

public static final Execution createExecutionByEntityNames(SystemModelRepository systemModelRepository,
                                                           java.lang.String executionContainerName,
                                                           java.lang.String assemblyComponentTypeName,
                                                           Signature operationSignature,
                                                           long traceId,
                                                           java.lang.String sessionId,
                                                           int eoi,
                                                           int ess,
                                                           long tin,
                                                           long tout,
                                                           boolean assumed)

createExecutionByEntityNames

protected final Execution createExecutionByEntityNames(java.lang.String executionContainerName,
                                                       java.lang.String assemblyComponentTypeName,
                                                       java.lang.String componentTypeName,
                                                       Signature operationSignature,
                                                       long traceId,
                                                       java.lang.String sessionId,
                                                       int eoi,
                                                       int ess,
                                                       long tin,
                                                       long tout,
                                                       boolean assumed)

createExecutionByEntityNames

protected final Execution createExecutionByEntityNames(java.lang.String executionContainerName,
                                                       java.lang.String assemblyComponentTypeName,
                                                       Signature operationSignature,
                                                       long traceId,
                                                       java.lang.String sessionId,
                                                       int eoi,
                                                       int ess,
                                                       long tin,
                                                       long tout,
                                                       boolean assumed)

printDebugLogMessage

protected void printDebugLogMessage(java.lang.String[] lines)
Prints a debug message to the logger. The output is prepended by a header which includes the name of this plugin instance.

Parameters:
lines - The lines to be printed.

printErrorLogMessage

protected void printErrorLogMessage(java.lang.String[] lines)

getSystemEntityFactory

public final SystemModelRepository getSystemEntityFactory()

Kieker 1.12

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