Class AbstractGraphFilter<G extends AbstractGraph<V,E,O>,V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O>
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
kieker.tools.trace.analysis.filter.visualization.AbstractGraphFilter<G,V,E,O>
- Type Parameters:
G- The graph that is processed by this filterV- The vertex type of the graphE- The edge type of the graphO- The type of the graph's elements origins
- All Implemented Interfaces:
IAnalysisComponent,IFilterPlugin,IPlugin,IGraphOutputtingFilter<G>
- Direct Known Subclasses:
DescriptionDecoratorFilter,TraceColoringFilter
@Deprecated public abstract class AbstractGraphFilter<G extends AbstractGraph<V,E,O>,V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O> extends AbstractFilterPlugin implements IGraphOutputtingFilter<G>
Deprecated.
1.15 moved to teetime
Abstract superclass for all graph 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 Modifier and Type Field Description static java.lang.StringINPUT_PORT_NAME_GRAPHDeprecated.The name of the filter's graph input port.Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, logger, projectContext, recordsTimeUnitFromProjectContextFields inherited from interface kieker.tools.trace.analysis.filter.IGraphOutputtingFilter
OUTPUT_PORT_NAME_GRAPH -
Constructor Summary
Constructors Constructor Description AbstractGraphFilter(Configuration configuration, IProjectContext projectContext)Deprecated.Creates a new filter with the given configuration. -
Method Summary
Modifier and Type Method Description ConfigurationgetCurrentConfiguration()Deprecated.This method should deliver aConfigurationobject containing the current configuration of this instance.protected abstract IOriginRetentionPolicygetDesiredOriginRetentionPolicy()Deprecated.java.lang.StringgetGraphInputPortName()Deprecated.Returns the name of the port this filter accepts graphs on.java.lang.StringgetGraphOutputPortName()Deprecated.Returns the name of the port this filter uses to emit the graph.booleaninit()Deprecated.Initiates the start of a component.protected voidnotifyNewIncomingConnection(java.lang.String inputPortName, AbstractPlugin connectedPlugin, java.lang.String outputPortName)Deprecated.Notification method which is called when a new incoming connection to this plugin is established.protected abstract GperformConcreteGraphProcessing(G graph)Deprecated.This method encapsulates the concrete graph processing performed by the concrete filters.voidprocessGraph(G graph)Deprecated.Processes the given graph.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, 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_GRAPH
public static final java.lang.String INPUT_PORT_NAME_GRAPHDeprecated.The name of the filter's graph input port.- See Also:
- Constant Field Values
-
-
Constructor Details
-
AbstractGraphFilter
Deprecated.Creates a new filter with the given configuration.- Parameters:
configuration- The filter configuration to useprojectContext- The project context to use.
-
-
Method Details
-
notifyNewIncomingConnection
protected void notifyNewIncomingConnection(java.lang.String inputPortName, AbstractPlugin connectedPlugin, java.lang.String outputPortName) throws AnalysisConfigurationExceptionDeprecated.Description copied from class:AbstractPluginNotification method which is called when a new incoming connection to this plugin is established.- Overrides:
notifyNewIncomingConnectionin classAbstractPlugin- Parameters:
inputPortName- The input port name to which the connection was establishedconnectedPlugin- The plugin that was connectedoutputPortName- The opposing plugin's output port from which the connection was established- Throws:
AnalysisConfigurationException- If an error occurs while processing of this notification
-
init
public boolean init()Deprecated.Description copied from class:AbstractFilterPluginInitiates the start of a component. This method is called once when a AnalysisController's run() method is called. This implementation must not be blocking! Asynchronous consumers would spawn (an) asynchronous thread(s) in this method.- Specified by:
initin interfaceIPlugin- Overrides:
initin classAbstractFilterPlugin- Returns:
- true on success; false otherwise.
-
getDesiredOriginRetentionPolicy
protected abstract IOriginRetentionPolicy getDesiredOriginRetentionPolicy() throws AnalysisConfigurationExceptionDeprecated.- Throws:
AnalysisConfigurationException
-
getCurrentConfiguration
Deprecated.Description copied from class:AbstractAnalysisComponentThis 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- Specified by:
getCurrentConfigurationin classAbstractAnalysisComponent- Returns:
- A completely filled configuration object.
-
processGraph
Deprecated.Processes the given graph.- Parameters:
graph- The graph to process
-
getGraphOutputPortName
public java.lang.String getGraphOutputPortName()Deprecated.Returns the name of the port this filter uses to emit the graph.- Specified by:
getGraphOutputPortNamein interfaceIGraphOutputtingFilter<G extends AbstractGraph<V,E,O>>- Returns:
- See above
-
getGraphInputPortName
public java.lang.String getGraphInputPortName()Deprecated.Returns the name of the port this filter accepts graphs on.- Returns:
- See above
-
performConcreteGraphProcessing
Deprecated.This method encapsulates the concrete graph processing performed by the concrete filters.- Parameters:
graph- The graph to process- Returns:
- The processed graph, which may be the same as the input graph
-