|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.analysis.analysisComponent.AbstractAnalysisComponent kieker.analysis.plugin.AbstractPlugin kieker.analysis.plugin.filter.AbstractFilterPlugin kieker.tools.traceAnalysis.filter.visualization.AbstractGraphFilter<G,V,E,O>
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 originspublic abstract class AbstractGraphFilter<G extends AbstractGraph<V,E,O>,V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O>
Abstract superclass for all graph filters.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin |
---|
IPlugin.PluginInputPortReference, IPlugin.STATE |
Field Summary | |
---|---|
static java.lang.String |
INPUT_PORT_NAME_GRAPH
The name of the filter's graph input port. |
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
---|
CONFIG_NAME, log, LOG, projectContext, recordsTimeUnitFromProjectContext |
Fields inherited from interface kieker.tools.traceAnalysis.filter.IGraphOutputtingFilter |
---|
OUTPUT_PORT_NAME_GRAPH |
Constructor Summary | |
---|---|
AbstractGraphFilter(Configuration configuration,
IProjectContext projectContext)
Creates a new filter with the given configuration. |
Method Summary | |
---|---|
Configuration |
getCurrentConfiguration()
This method should deliver a Configuration object containing the current configuration of this instance. |
protected abstract IOriginRetentionPolicy |
getDesiredOriginRetentionPolicy()
|
java.lang.String |
getGraphInputPortName()
Returns the name of the port this filter accepts graphs on. |
java.lang.String |
getGraphOutputPortName()
Returns the name of the port this filter uses to emit the graph. |
boolean |
init()
Initiates the start of a component. |
protected void |
notifyNewIncomingConnection(java.lang.String inputPortName,
AbstractPlugin connectedPlugin,
java.lang.String outputPortName)
Notification method which is called when a new incoming connection to this plugin is established. |
protected abstract G |
performConcreteGraphProcessing(G graph)
This method encapsulates the concrete graph processing performed by the concrete filters. |
void |
processGraph(G graph)
Processes the given graph. |
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin |
---|
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, 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 |
---|
public static final java.lang.String INPUT_PORT_NAME_GRAPH
Constructor Detail |
---|
public AbstractGraphFilter(Configuration configuration, IProjectContext projectContext)
configuration
- The filter configuration to useprojectContext
- The project context to use.Method Detail |
---|
protected void notifyNewIncomingConnection(java.lang.String inputPortName, AbstractPlugin connectedPlugin, java.lang.String outputPortName) throws AnalysisConfigurationException
AbstractPlugin
notifyNewIncomingConnection
in class AbstractPlugin
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
AnalysisConfigurationException
- If an error occurs while processing of this notificationpublic boolean init()
AbstractFilterPlugin
init
in interface IPlugin
init
in class AbstractFilterPlugin
protected abstract IOriginRetentionPolicy getDesiredOriginRetentionPolicy() throws AnalysisConfigurationException
AnalysisConfigurationException
public Configuration getCurrentConfiguration()
AbstractAnalysisComponent
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 AbstractAnalysisComponent
public void processGraph(G graph)
graph
- The graph to processpublic java.lang.String getGraphOutputPortName()
getGraphOutputPortName
in interface IGraphOutputtingFilter<G extends AbstractGraph<V,E,O>>
public java.lang.String getGraphInputPortName()
protected abstract G performConcreteGraphProcessing(G graph)
graph
- The graph to process
|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |