kieker.tools.traceAnalysis.filter
Class AbstractGraphProducingFilter<G extends AbstractGraph<?,?,?>>
java.lang.Object
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
kieker.tools.traceAnalysis.filter.AbstractMessageTraceProcessingFilter
kieker.tools.traceAnalysis.filter.AbstractGraphProducingFilter<G>
- Type Parameters:
G
- The graph type created by this filter
- All Implemented Interfaces:
- IFilterPlugin, IPlugin, IGraphOutputtingFilter<G>, IGraphProducingFilter<G>
- Direct Known Subclasses:
- AbstractDependencyGraphFilter
public abstract class AbstractGraphProducingFilter<G extends AbstractGraph<?,?,?>>
- extends AbstractMessageTraceProcessingFilter
- implements IGraphProducingFilter<G>
Abstract superclass for graph-producing filters.
- Author:
- Holger Knoche
Methods inherited from class kieker.analysis.plugin.AbstractPlugin |
areAllRepositoryPortsConnected, connect, connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getIncomingPlugins, getName, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start |
AbstractGraphProducingFilter
public AbstractGraphProducingFilter(Configuration configuration,
G graph)
- Creates a new graph-producing filter using the given configuration and the given graph.
- Parameters:
configuration
- The configuration to usegraph
- The (usually empty) graph to produce / extend
getCurrentConfiguration
public Configuration getCurrentConfiguration()
- Description copied from interface:
IPlugin
- 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 IPlugin
- Returns:
- A completely filled configuration object.
getConfigurationName
public abstract String getConfigurationName()
- Returns this filter's configuration name.
- Returns:
- See above
terminate
public void terminate(boolean error)
- Description copied from interface:
IPlugin
- Initiates a termination of the plugin. This method is only used by the
framework and should not be called manually.
Use the method
AnalysisController.terminate(boolean)
instead.
After receiving this notification, the plugin should terminate any running
methods, e.g., read for readers.
- Specified by:
terminate
in interface IPlugin
- Overrides:
terminate
in class AbstractFilterPlugin
getGraphOutputPortName
public String getGraphOutputPortName()
- Description copied from interface:
IGraphOutputtingFilter
- Returns the name of the port this filter uses to emit the graph.
- Specified by:
getGraphOutputPortName
in interface IGraphOutputtingFilter<G extends AbstractGraph<?,?,?>>
- Returns:
- See above
requestOriginRetentionPolicy
public void requestOriginRetentionPolicy(IOriginRetentionPolicy policy)
throws AnalysisConfigurationException
- 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
(see
IOriginRetentionPolicy.isCompatibleWith(IOriginRetentionPolicy)
).
- Specified by:
requestOriginRetentionPolicy
in interface IGraphProducingFilter<G extends AbstractGraph<?,?,?>>
- Parameters:
policy
- The requested policy
- Throws:
AnalysisConfigurationException
- If an error occurs during the request
Copyright 2012 Kieker Project, http://kieker-monitoring.net>