T - public abstract class AbstractAggregatedCallTreeFilter<T> extends AbstractCallTreeFilter<T>
AbstractCallTreeFilter.IPairFactory<T>IPlugin.PluginInputPortReference, IPlugin.STATE| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_PROPERTY_NAME_INCLUDE_WEIGHTS
The name of the configuration determining whether to include weights or not.
|
static java.lang.String |
CONFIG_PROPERTY_NAME_OUTPUT_FILENAME
The name of the configuration determining the dot output file name.
|
static java.lang.String |
CONFIG_PROPERTY_NAME_SHORT_LABELS
The name of the configuration determining whether to use short labels in the call tree or not.
|
static java.lang.String |
CONFIG_PROPERTY_VALUE_INCLUDE_WEIGHTS_DEFAULT
The default used value determining whether to include weights or not.
|
static java.lang.String |
CONFIG_PROPERTY_VALUE_OUTPUT_FILENAME_DEFAULT
The default used output file name.
|
static java.lang.String |
CONFIG_PROPERTY_VALUE_SHORT_LABELS_DEFAULT
The default used value determining whether to use short labels in the call tree or not.
|
INPUT_PORT_NAME_MESSAGE_TRACESCONFIG_PROPERTY_VALUE_VERBOSE, LOGGER, REPOSITORY_PORT_NAME_SYSTEM_MODELCONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext| Constructor and Description |
|---|
AbstractAggregatedCallTreeFilter(Configuration configuration,
IProjectContext projectContext)
Creates a new instance of this class using the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
concreteCreatePair(SynchronousCallMessage callMsg)
HACK.
|
Configuration |
getCurrentConfiguration()
This method should deliver a
Configuration object containing the current configuration of this instance. |
void |
inputMessageTraces(MessageTrace trace)
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 |
saveTreeToDotFile()
This method tries to convert the current tree into the specified file as a valid dot file, which can later be
transformed into a visual representation by dot itself.
|
protected void |
setRoot(AbstractAggregatedCallTreeNode<T> root)
Sets the root of the call tree.
|
void |
terminate(boolean error)
Saves the call tree to the dot file if error is not true.
|
addTraceToTree, nodeLabel, saveTreeToDotFile, writeDotForMessageTracegetErrorCount, 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_FILENAME
public static final java.lang.String CONFIG_PROPERTY_NAME_INCLUDE_WEIGHTS
public static final java.lang.String CONFIG_PROPERTY_NAME_SHORT_LABELS
public static final java.lang.String CONFIG_PROPERTY_VALUE_OUTPUT_FILENAME_DEFAULT
public static final java.lang.String CONFIG_PROPERTY_VALUE_INCLUDE_WEIGHTS_DEFAULT
public static final java.lang.String CONFIG_PROPERTY_VALUE_SHORT_LABELS_DEFAULT
public AbstractAggregatedCallTreeFilter(Configuration configuration, IProjectContext projectContext)
configuration - The configuration for this component.projectContext - The project context for this component.protected void setRoot(AbstractAggregatedCallTreeNode<T> root)
root - The new root.public void saveTreeToDotFile()
throws java.io.IOException
java.io.IOException - If something went wrong during the converting.public void printStatusMessage()
AbstractTraceProcessingFilterprintStatusMessage in class AbstractTraceProcessingFilterpublic void terminate(boolean error)
terminate in interface IPluginterminate in class AbstractFilterPluginerror - Determines whether the plugin 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 trace)
AbstractMessageTraceProcessingFilterinputMessageTraces in class AbstractMessageTraceProcessingFiltertrace - The incoming message trace.protected abstract T concreteCreatePair(SynchronousCallMessage callMsg)
callMsg - The call message which contains the information necessary to create the pair.Copyright 2020 Kieker Project, http://kieker-monitoring.net