kieker.tools.traceAnalysis.filter
Class AbstractGraphProducingFilter<G extends AbstractGraph<?,?,?>>
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
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:
- IAnalysisComponent, 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.
- 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 |
AbstractGraphProducingFilter
public AbstractGraphProducingFilter(Configuration configuration,
IProjectContext projectContext,
G graph)
- 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
getConfigurationName
public abstract String getConfigurationName()
- Returns this filter's configuration name.
- Returns:
- See above
terminate
public void terminate(boolean error)
- 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 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
- Parameters:
error
- Determines whether the plugin is terminated due to an error or not.
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 2014 Kieker Project, http://kieker-monitoring.net>