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:
kieker.analysis.analysisComponent.IAnalysisComponent,kieker.analysis.plugin.filter.IFilterPlugin,kieker.analysis.plugin.IPlugin
@Deprecated
public class GraphWriterPlugin
extends kieker.analysis.plugin.filter.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
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONFIG_PROPERTY_NAME_INCLUDE_WEIGHTSDeprecated.Name of the configuration property indicating that weights should be included.static java.lang.StringCONFIG_PROPERTY_NAME_OUTPUT_FILE_NAMEDeprecated.Name of the configuration property containing the output file name.static java.lang.StringCONFIG_PROPERTY_NAME_OUTPUT_PATH_NAMEDeprecated.Name of the configuration property containing the output path name.static java.lang.StringCONFIG_PROPERTY_NAME_SELFLOOPSDeprecated.Name of the configuration property indicating that self-loops should be displayed.static java.lang.StringCONFIG_PROPERTY_NAME_SHORTLABELSDeprecated.Name of the configuration property indicating that short labels should be used.static java.lang.StringINPUT_PORT_NAME_GRAPHSDeprecated.Name of the plugin's graph input port. -
Constructor Summary
Constructors Constructor Description GraphWriterPlugin(kieker.common.configuration.Configuration configuration, kieker.analysis.IProjectContext projectContext)Deprecated.Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description kieker.common.configuration.ConfigurationgetCurrentConfiguration()Deprecated.voidwriteGraph(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
-
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
public GraphWriterPlugin(kieker.common.configuration.Configuration configuration, kieker.analysis.IProjectContext projectContext)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
public kieker.common.configuration.Configuration getCurrentConfiguration()Deprecated.- Specified by:
getCurrentConfigurationin interfacekieker.analysis.analysisComponent.IAnalysisComponent- Specified by:
getCurrentConfigurationin interfacekieker.analysis.plugin.IPlugin- Specified by:
getCurrentConfigurationin classkieker.analysis.analysisComponent.AbstractAnalysisComponent
-
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_NAMEandCONFIG_PROPERTY_NAME_OUTPUT_FILE_NAME.- Parameters:
graph- The graph to save
-