Class AbstractGraphProducingFilter<G extends AbstractGraph<?,?,?>>
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.AbstractMessageTraceProcessingFilter
kieker.tools.trace.analysis.filter.AbstractGraphProducingFilter<G>
- Type Parameters:
G
- The graph type created by this filter
- All Implemented Interfaces:
IAnalysisComponent
,IFilterPlugin
,IPlugin
,IGraphOutputtingFilter<G>
,IGraphProducingFilter<G>
- Direct Known Subclasses:
AbstractDependencyGraphFilter
@Deprecated public abstract class AbstractGraphProducingFilter<G extends AbstractGraph<?,?,?>> extends AbstractMessageTraceProcessingFilter implements IGraphProducingFilter<G>
Deprecated.
1.15 ported to teetime
Abstract superclass for graph-producing filters.
- Since:
- 1.6
- Author:
- Holger Knoche
-
Nested Class Summary
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
-
Field Summary
Fields inherited from class kieker.tools.trace.analysis.filter.AbstractMessageTraceProcessingFilter
INPUT_PORT_NAME_MESSAGE_TRACES
Fields inherited from class kieker.tools.trace.analysis.filter.AbstractTraceAnalysisFilter
CONFIG_PROPERTY_VALUE_VERBOSE, LOGGER, REPOSITORY_PORT_NAME_SYSTEM_MODEL
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext
Fields inherited from interface kieker.tools.trace.analysis.filter.IGraphOutputtingFilter
OUTPUT_PORT_NAME_GRAPH
-
Constructor Summary
Constructors Constructor Description AbstractGraphProducingFilter(Configuration configuration, IProjectContext projectContext, G graph)
Deprecated.Creates a new graph-producing filter using the given configuration and the given graph. -
Method Summary
Modifier and Type Method Description abstract java.lang.String
getConfigurationName()
Deprecated.Returns this filter's configuration name.protected G
getGraph()
Deprecated.Delivers the graph stored in this filter.java.lang.String
getGraphOutputPortName()
Deprecated.Returns the name of the port this filter uses to emit the graph.protected IOriginRetentionPolicy
getOriginRetentionPolicy()
Deprecated.protected <T> void
handleOrigin(AbstractGraphElement<T> element, T origin)
Deprecated.void
requestOriginRetentionPolicy(IOriginRetentionPolicy policy)
Deprecated.Requests that the given retention policy is used by this graph producer.void
terminate(boolean error)
Deprecated.Initiates a termination of the plugin.Methods inherited from class kieker.tools.trace.analysis.filter.AbstractMessageTraceProcessingFilter
inputMessageTraces
Methods inherited from class kieker.tools.trace.analysis.filter.AbstractTraceProcessingFilter
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, printStatusMessage, reportError, reportSuccess
Methods inherited from class kieker.tools.trace.analysis.filter.AbstractTraceAnalysisFilter
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getCurrentConfiguration, getSystemEntityFactory, printDebugLogMessage, printErrorLogMessage
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 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
-
Constructor Details
-
AbstractGraphProducingFilter
public AbstractGraphProducingFilter(Configuration configuration, IProjectContext projectContext, G graph)Deprecated.Creates a new graph-producing filter using the given configuration and the given graph.- Parameters:
configuration
- The configuration to useprojectContext
- The project context to use.graph
- The (usually empty) graph to produce / extend
-
-
Method Details
-
getConfigurationName
public abstract java.lang.String getConfigurationName()Deprecated.Returns this filter's configuration name.- Returns:
- See above
-
terminate
public void terminate(boolean error)Deprecated.Description copied from class:AbstractFilterPlugin
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:
terminate
in interfaceIPlugin
- Overrides:
terminate
in classAbstractFilterPlugin
- Parameters:
error
- Determines whether the plugin is terminated due to an error or not.
-
getGraphOutputPortName
public java.lang.String getGraphOutputPortName()Deprecated.Description copied from interface:IGraphOutputtingFilter
Returns the name of the port this filter uses to emit the graph.- Specified by:
getGraphOutputPortName
in interfaceIGraphOutputtingFilter<G extends AbstractGraph<?,?,?>>
- Returns:
- See above
-
getGraph
Deprecated.Delivers the graph stored in this filter.- Returns:
- The graph.
-
getOriginRetentionPolicy
Deprecated. -
requestOriginRetentionPolicy
public void requestOriginRetentionPolicy(IOriginRetentionPolicy policy) throws AnalysisConfigurationExceptionDeprecated.Description copied from interface:IGraphProducingFilter
Requests that the given retention policy is used by this graph producer. Note that the producer may choose to use a more liberal, compatible retention policy to satisfy the needs of other graph consumers (seeIOriginRetentionPolicy.isCompatibleWith(IOriginRetentionPolicy)
).- Specified by:
requestOriginRetentionPolicy
in interfaceIGraphProducingFilter<G extends AbstractGraph<?,?,?>>
- Parameters:
policy
- The requested policy- Throws:
AnalysisConfigurationException
- If an error occurs during the request
-
handleOrigin
Deprecated.
-