kieker.tools.traceAnalysis.filter.visualization
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.traceAnalysis.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
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>
Abstract superclass for all graph filters.
- Since:
- 1.6
- Author:
- Holger Knoche
Methods inherited from class kieker.analysis.plugin.AbstractPlugin |
areAllRepositoryPortsConnected, connect, connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getIncomingPlugins, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start |
Methods inherited from interface kieker.analysis.plugin.IPlugin |
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState |
INPUT_PORT_NAME_GRAPH
public static final String INPUT_PORT_NAME_GRAPH
- The name of the filter's graph input port.
- See Also:
- Constant Field Values
AbstractGraphFilter
public AbstractGraphFilter(Configuration configuration,
IProjectContext projectContext)
- Creates a new filter with the given configuration.
- Parameters:
configuration
- The filter configuration to useprojectContext
- The project context to use.
init
public boolean init()
- Description copied from class:
AbstractFilterPlugin
- Initiates 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:
init
in interface IPlugin
- Overrides:
init
in class AbstractFilterPlugin
- Returns:
- true on success; false otherwise.
getCurrentConfiguration
public Configuration getCurrentConfiguration()
- Description copied from class:
AbstractAnalysisComponent
- This method should deliver a
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.
- Specified by:
getCurrentConfiguration
in interface IAnalysisComponent
- Specified by:
getCurrentConfiguration
in interface IPlugin
- Specified by:
getCurrentConfiguration
in class AbstractAnalysisComponent
- Returns:
- A completely filled configuration object.
processGraph
public void processGraph(G graph)
- Processes the given graph.
- Parameters:
graph
- The graph to process
getGraphOutputPortName
public String getGraphOutputPortName()
- Returns the name of the port this filter uses to emit the graph.
- Specified by:
getGraphOutputPortName
in interface IGraphOutputtingFilter<G extends AbstractGraph<V,E,O>>
- Returns:
- See above
getGraphInputPortName
public String getGraphInputPortName()
- Returns the name of the port this filter accepts graphs on.
- Returns:
- See above
Copyright 2014 Kieker Project, http://kieker-monitoring.net>