public class SequenceDiagramFilter extends AbstractMessageTraceProcessingFilter
| Modifier and Type | Class and Description |
|---|---|
static class |
SequenceDiagramFilter.SDModes |
IPlugin.PluginInputPortReference, IPlugin.STATE| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_PROPERTY_NAME_OUTPUT_FN_BASE
The name of the configuration determining the used output filename base.
|
static java.lang.String |
CONFIG_PROPERTY_NAME_OUTPUT_SDMODE
The name of the configuration determining the used mode.
|
static java.lang.String |
CONFIG_PROPERTY_NAME_OUTPUT_SHORTLABES
The name of the configuration determining whether to use short labels or not.
|
static java.lang.String |
CONFIG_PROPERTY_VALUE_OUTPUT_FN_BASE_DEFAULT
This constant determines the default used output filename base.
|
INPUT_PORT_NAME_MESSAGE_TRACESCONFIG_PROPERTY_VALUE_VERBOSE, LOG, REPOSITORY_PORT_NAME_SYSTEM_MODELCONFIG_NAME, configuration, log, projectContext, recordsTimeUnitFromProjectContext| Constructor and Description |
|---|
SequenceDiagramFilter(Configuration configuration,
IProjectContext projectContext)
Creates a new instance of this class using the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getCurrentConfiguration()
This method should deliver a
Configuration object containing the current configuration of this instance. |
void |
inputMessageTraces(MessageTrace mt)
This is the (abstract) input port for the incoming message traces.
|
void |
printStatusMessage()
Returns a user-addressed status message to be logged by the calling tool.
|
static void |
writePicForMessageTrace(MessageTrace msgTrace,
SequenceDiagramFilter.SDModes sdMode,
java.lang.String outputFilename,
boolean shortLabels)
This method writes the pic code for the given message trace into the given file.
|
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, reportError, reportSuccesscreateExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemEntityFactory, printDebugLogMessage, printErrorLogMessageinit, terminateareAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, startgetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getStatepublic static final java.lang.String CONFIG_PROPERTY_NAME_OUTPUT_FN_BASE
public static final java.lang.String CONFIG_PROPERTY_NAME_OUTPUT_SHORTLABES
public static final java.lang.String CONFIG_PROPERTY_NAME_OUTPUT_SDMODE
public static final java.lang.String CONFIG_PROPERTY_VALUE_OUTPUT_FN_BASE_DEFAULT
public SequenceDiagramFilter(Configuration configuration, IProjectContext projectContext)
configuration - The configuration to use for this filter.projectContext - The project context to use for this filter.public void printStatusMessage()
printStatusMessage in class AbstractTraceProcessingFilterpublic void inputMessageTraces(MessageTrace mt)
AbstractMessageTraceProcessingFilterinputMessageTraces in class AbstractMessageTraceProcessingFiltermt - The incoming message trace.public static void writePicForMessageTrace(MessageTrace msgTrace, SequenceDiagramFilter.SDModes sdMode, java.lang.String outputFilename, boolean shortLabels) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException
msgTrace - The message trace to convert.sdMode - The mode of the sequence diagram (allocation, assembly).shortLabels - Determines whether to use short labels or not.outputFilename - The name of the file in which the code will be written.java.io.FileNotFoundException - If the given file is somehow invalid.java.io.UnsupportedEncodingException - If the used default encoding is not supported.public Configuration getCurrentConfiguration()
AbstractAnalysisComponentConfiguration 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 IAnalysisComponentgetCurrentConfiguration in interface IPlugingetCurrentConfiguration in class AbstractTraceAnalysisFilterCopyright 2017 Kieker Project, http://kieker-monitoring.net