kieker.tools.traceAnalysis.filter.visualization
Class GraphWriterPlugin
java.lang.Object
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
kieker.tools.traceAnalysis.filter.visualization.GraphWriterPlugin
- All Implemented Interfaces:
- IFilterPlugin, IPlugin
public class GraphWriterPlugin
- extends AbstractFilterPlugin
Generic graph writer plugin to generate graph specifications and save them to disk. This plugin uses
a formatter registry (see FORMATTER_REGISTRY
) to determine the appropriate formatter for a
given graph.
- 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 |
INPUT_PORT_NAME_GRAPHS
public static final String INPUT_PORT_NAME_GRAPHS
- Name of the plugin's graph input port.
- See Also:
- Constant Field Values
GraphWriterPlugin
public GraphWriterPlugin(Configuration configuration)
- Creates a new writer plugin using the given configuration.
- Parameters:
configuration
- The configuration to use
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.
- Returns:
- A completely filled configuration object.
writeGraph
public void writeGraph(AbstractGraph<?,?,?> graph)
- Formats a given graph and saves the generated specification to disk. The file name to save the
output to is specified by a the configuration options
GraphWriterConfiguration.CONFIG_PROPERTY_NAME_OUTPUT_PATH_NAME
and
GraphWriterConfiguration.CONFIG_PROPERTY_NAME_OUTPUT_FILE_NAME
.
- Parameters:
graph
- The graph to save
Copyright 2012 Kieker Project, http://kieker-monitoring.net>