|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.analysis.analysisComponent.AbstractAnalysisComponent kieker.analysis.plugin.AbstractPlugin kieker.analysis.plugin.filter.AbstractFilterPlugin kieker.tools.traceAnalysis.filter.visualization.GraphWriterPlugin
public class GraphWriterPlugin
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin |
---|
IPlugin.PluginInputPortReference, IPlugin.STATE |
Field Summary | |
---|---|
static String |
CONFIG_PROPERTY_NAME_INCLUDE_WEIGHTS
Name of the configuration property indicating that weights should be included. |
static String |
CONFIG_PROPERTY_NAME_OUTPUT_FILE_NAME
Name of the configuration property containing the output file name. |
static String |
CONFIG_PROPERTY_NAME_OUTPUT_PATH_NAME
Name of the configuration property containing the output path name. |
static String |
CONFIG_PROPERTY_NAME_SELFLOOPS
Name of the configuration property indicating that self-loops should be displayed. |
static String |
CONFIG_PROPERTY_NAME_SHORTLABELS
Name of the configuration property indicating that short labels should be used. |
static String |
INPUT_PORT_NAME_GRAPHS
Name of the plugin's graph input port. |
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
---|
CONFIG_NAME |
Constructor Summary | |
---|---|
GraphWriterPlugin(Configuration configuration,
IProjectContext projectContext)
Creates a new instance of this class using the given parameters. |
Method Summary | |
---|---|
Configuration |
getCurrentConfiguration()
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. |
void |
writeGraph(AbstractGraph<?,?,?> graph)
Formats a given graph and saves the generated specification to disk. |
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin |
---|
init, terminate |
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 class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
---|
getName |
Methods inherited from class java.lang.Object |
---|
equals, 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 Detail |
---|
public static final String CONFIG_PROPERTY_NAME_OUTPUT_FILE_NAME
public static final String CONFIG_PROPERTY_NAME_OUTPUT_PATH_NAME
public static final String CONFIG_PROPERTY_NAME_INCLUDE_WEIGHTS
public static final String CONFIG_PROPERTY_NAME_SHORTLABELS
public static final String CONFIG_PROPERTY_NAME_SELFLOOPS
public static final String INPUT_PORT_NAME_GRAPHS
Constructor Detail |
---|
public GraphWriterPlugin(Configuration configuration, IProjectContext projectContext)
configuration
- The configuration for this component.projectContext
- The project context for this component.Method Detail |
---|
public Configuration getCurrentConfiguration()
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.
getCurrentConfiguration
in interface IAnalysisComponent
getCurrentConfiguration
in interface IPlugin
getCurrentConfiguration
in class AbstractAnalysisComponent
public void writeGraph(AbstractGraph<?,?,?> graph)
CONFIG_PROPERTY_NAME_OUTPUT_PATH_NAME
and CONFIG_PROPERTY_NAME_OUTPUT_FILE_NAME
.
graph
- The graph to save
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |