T
- @Deprecated 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
Deprecated.
The name of the configuration determining whether to include weights or not.
|
static java.lang.String |
CONFIG_PROPERTY_NAME_OUTPUT_FILENAME
Deprecated.
The name of the configuration determining the dot output file name.
|
static java.lang.String |
CONFIG_PROPERTY_NAME_SHORT_LABELS
Deprecated.
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
Deprecated.
The default used value determining whether to include weights or not.
|
static java.lang.String |
CONFIG_PROPERTY_VALUE_OUTPUT_FILENAME_DEFAULT
Deprecated.
The default used output file name.
|
static java.lang.String |
CONFIG_PROPERTY_VALUE_SHORT_LABELS_DEFAULT
Deprecated.
The default used value determining whether to use short labels in the call tree or not.
|
INPUT_PORT_NAME_MESSAGE_TRACES
CONFIG_PROPERTY_VALUE_VERBOSE, LOGGER, REPOSITORY_PORT_NAME_SYSTEM_MODEL
CONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext
Constructor and Description |
---|
AbstractAggregatedCallTreeFilter(Configuration configuration,
IProjectContext projectContext)
Deprecated.
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
concreteCreatePair(SynchronousCallMessage callMsg)
Deprecated.
HACK.
|
Configuration |
getCurrentConfiguration()
Deprecated.
This method should deliver a
Configuration object containing the current configuration of this instance. |
void |
inputMessageTraces(MessageTrace trace)
Deprecated.
This is the (abstract) input port for the incoming message traces.
|
void |
printStatusMessage()
Deprecated.
Returns a user-addressed status message to be logged by the calling tool.
|
void |
saveTreeToDotFile()
Deprecated.
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)
Deprecated.
Sets the root of the call tree.
|
void |
terminate(boolean error)
Deprecated.
Saves the call tree to the dot file if error is not true.
|
addTraceToTree, nodeLabel, saveTreeToDotFile, writeDotForMessageTrace
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, reportError, reportSuccess
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemEntityFactory, printDebugLogMessage, printErrorLogMessage
init
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, start
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
public 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()
AbstractTraceProcessingFilter
printStatusMessage
in class AbstractTraceProcessingFilter
public void terminate(boolean error)
terminate
in interface IPlugin
terminate
in class AbstractFilterPlugin
error
- 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 IAnalysisComponent
getCurrentConfiguration
in interface IPlugin
getCurrentConfiguration
in class AbstractTraceAnalysisFilter
public void inputMessageTraces(MessageTrace trace)
AbstractMessageTraceProcessingFilter
inputMessageTraces
in class AbstractMessageTraceProcessingFilter
trace
- The incoming message trace.protected abstract T concreteCreatePair(SynchronousCallMessage callMsg)
callMsg
- The call message which contains the information necessary to create the pair.Copyright 2021 Kieker Project, http://kieker-monitoring.net