Class GraphWriterPlugin
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
kieker.tools.trace.analysis.filter.visualization.GraphWriterPlugin
- All Implemented Interfaces:
IAnalysisComponent
,IFilterPlugin
,IPlugin
@Deprecated public class GraphWriterPlugin extends AbstractFilterPlugin
Deprecated.
1.15 ported to teetime
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.- Since:
- 1.6
- Author:
- Holger Knoche
-
Nested Class Summary
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONFIG_PROPERTY_NAME_INCLUDE_WEIGHTS
Deprecated.Name of the configuration property indicating that weights should be included.static java.lang.String
CONFIG_PROPERTY_NAME_OUTPUT_FILE_NAME
Deprecated.Name of the configuration property containing the output file name.static java.lang.String
CONFIG_PROPERTY_NAME_OUTPUT_PATH_NAME
Deprecated.Name of the configuration property containing the output path name.static java.lang.String
CONFIG_PROPERTY_NAME_SELFLOOPS
Deprecated.Name of the configuration property indicating that self-loops should be displayed.static java.lang.String
CONFIG_PROPERTY_NAME_SHORTLABELS
Deprecated.Name of the configuration property indicating that short labels should be used.static java.lang.String
INPUT_PORT_NAME_GRAPHS
Deprecated.Name of the plugin's graph input port.Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext
-
Constructor Summary
Constructors Constructor Description GraphWriterPlugin(Configuration configuration, IProjectContext projectContext)
Deprecated.Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description Configuration
getCurrentConfiguration()
Deprecated.This method should deliver aConfiguration
object containing the current configuration of this instance.void
writeGraph(AbstractGraph<?,?,?> graph)
Deprecated.Formats a given graph and saves the generated specification to disk.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, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, start
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 Details
-
CONFIG_PROPERTY_NAME_OUTPUT_FILE_NAME
public static final java.lang.String CONFIG_PROPERTY_NAME_OUTPUT_FILE_NAMEDeprecated.Name of the configuration property containing the output file name.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_OUTPUT_PATH_NAME
public static final java.lang.String CONFIG_PROPERTY_NAME_OUTPUT_PATH_NAMEDeprecated.Name of the configuration property containing the output path name.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_INCLUDE_WEIGHTS
public static final java.lang.String CONFIG_PROPERTY_NAME_INCLUDE_WEIGHTSDeprecated.Name of the configuration property indicating that weights should be included.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_SHORTLABELS
public static final java.lang.String CONFIG_PROPERTY_NAME_SHORTLABELSDeprecated.Name of the configuration property indicating that short labels should be used.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_SELFLOOPS
public static final java.lang.String CONFIG_PROPERTY_NAME_SELFLOOPSDeprecated.Name of the configuration property indicating that self-loops should be displayed.- See Also:
- Constant Field Values
-
INPUT_PORT_NAME_GRAPHS
public static final java.lang.String INPUT_PORT_NAME_GRAPHSDeprecated.Name of the plugin's graph input port.- See Also:
- Constant Field Values
-
-
Constructor Details
-
GraphWriterPlugin
Deprecated.Creates a new instance of this class using the given parameters.- Parameters:
configuration
- The configuration for this component.projectContext
- The project context for this component.
-
-
Method Details
-
getCurrentConfiguration
Deprecated.This method should deliver aConfiguration
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 interfaceIAnalysisComponent
- Specified by:
getCurrentConfiguration
in interfaceIPlugin
- Specified by:
getCurrentConfiguration
in classAbstractAnalysisComponent
- Returns:
- A completely filled configuration object.
-
writeGraph
Deprecated.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 optionsCONFIG_PROPERTY_NAME_OUTPUT_PATH_NAME
andCONFIG_PROPERTY_NAME_OUTPUT_FILE_NAME
.- Parameters:
graph
- The graph to save
-