Package kieker.analysis.plugin
Interface IPlugin
- All Superinterfaces:
 IAnalysisComponent
- All Known Subinterfaces:
 IFilterPlugin,IReaderPlugin
- All Known Implementing Classes:
 AbstractAggregatedCallTreeFilter,AbstractCallTreeFilter,AbstractDependencyGraphFilter,AbstractExecutionTraceProcessingFilter,AbstractFilterPlugin,AbstractGraphFilter,AbstractGraphProducingFilter,AbstractInvalidExecutionTraceProcessingFilter,AbstractMessageTraceProcessingFilter,AbstractPlugin,AbstractRawDataReader,AbstractReaderPlugin,AbstractStringRegistryReaderPlugin,AbstractTraceAnalysisFilter,AbstractTraceProcessingFilter,AbstractUpdateableFilterPlugin,AggregatedAllocationComponentOperationCallTreeFilter,AggregatedAssemblyComponentOperationCallTreeFilter,AmqpReader,AnalysisThroughputFilter,AsciiLogReader,BinaryLogReader,ComponentDependencyGraphAllocationFilter,ComponentDependencyGraphAssemblyFilter,ContainerDependencyGraphFilter,CountingFilter,CurrentTimeEventGenerationFilter,DbReader,DescriptionDecoratorFilter,EventRecordTraceCounter,EventRecordTraceReconstructionFilter,ExecutionRecordTransformationFilter,ExecutionTraceWriterFilter,FSReader,GraphWriterPlugin,InvalidExecutionTraceWriterFilter,JmsReader,JmxReader,KafkaReader,ListCollectionFilter,ListReader,MessageTraceWriterFilter,MonitoringThroughputFilter,OperationDependencyGraphAllocationFilter,OperationDependencyGraphAssemblyFilter,PipeReader,RawDataReaderPlugin,RealtimeRecordDelayFilter,SequenceDiagramFilter,SessionReconstructionFilter,StringBufferFilter,TeeFilter,ThreadEvent2TraceEventFilter,TimeReader,TimestampFilter,TraceAggregationFilter,TraceCallTreeFilter,TraceColoringFilter,TraceEquivalenceClassFilter,TraceEventRecords2ExecutionAndMessageTraceFilter,TraceIdFilter,TraceReconstructionFilter,TypeFilter
@Deprecated public interface IPlugin extends IAnalysisComponent
Deprecated.
since 1.15.1 old plugin api
This is the interface for plugins within Kieker.
- Since:
 - 1.5
 - Author:
 - Nils Christian Ehmke, Jan Waller
 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIPlugin.PluginInputPortReferenceDeprecated.This simple class represents a container for the reference between a plugin, its input port and the corresponding method.static classIPlugin.STATEDeprecated.An enumeration used to describe the state of anAbstractPlugin. - 
Method Summary
Modifier and Type Method Description voidconnect(java.lang.String name, AbstractRepository repo)Deprecated.Connects the given repository to this plugin via the given name.java.lang.String[]getAllDisplayNames()Deprecated.Delivers an array containing all display names.java.lang.String[]getAllInputPortNames()Deprecated.Delivers an array containing all input port names.java.lang.String[]getAllOutputPortNames()Deprecated.Delivers an array containing all output port names.java.lang.String[]getAllRepositoryPortNames()Deprecated.Delivers an array containing all repository port names.java.util.List<IPlugin.PluginInputPortReference>getConnectedPlugins(java.lang.String outputPortName)Deprecated.Delivers the plugins with their ports which are connected with the given output port.ConfigurationgetCurrentConfiguration()Deprecated.This method should deliver aConfigurationobject containing the current configuration of this instance.java.util.Map<java.lang.String,AbstractRepository>getCurrentRepositories()Deprecated.This method delivers an array ofAbstractRepositorycontaining the current repositories of this instance.java.lang.StringgetName()Deprecated.This method delivers the current name of this plugin instance.java.lang.StringgetPluginDescription()Deprecated.This method delivers the description of this plugin type.java.lang.StringgetPluginName()Deprecated.This method delivers the plugin name of this plugin.IPlugin.STATEgetState()Deprecated.booleaninit()Deprecated.Initiates the start of a component.voidterminate(boolean error)Deprecated.Initiates a termination of the plugin. 
- 
Method Details
- 
init
boolean init()Deprecated.Initiates the start of a component. This method is called once when a AnalysisController's run() method is called. This implementation must not be blocking! Asynchronous consumers would spawn (an) asynchronous thread(s) in this method.- Returns:
 - true on success; false otherwise.
 - Since:
 - 1.6
 
 - 
terminate
void terminate(boolean error)Deprecated.Initiates a termination of the plugin. This method is only used by the framework and should not be called manually. Use the methodAnalysisController.terminate(boolean)instead. After receiving this notification, the plugin should terminate any running methods, e.g., read for readers.- Parameters:
 error- Determines whether the plugin is terminated due to an error or not.- Since:
 - 1.6
 
 - 
getCurrentConfiguration
Configuration getCurrentConfiguration()Deprecated.This method should deliver aConfigurationobject 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:
 getCurrentConfigurationin interfaceIAnalysisComponent- Returns:
 - A completely filled configuration object.
 - Since:
 - 1.5
 
 - 
getPluginName
java.lang.String getPluginName()Deprecated.This method delivers the plugin name of this plugin. The name should be unique, e.g., the classname.- Returns:
 - The name of the plugin.
 - Since:
 - 1.5
 
 - 
getPluginDescription
java.lang.String getPluginDescription()Deprecated.This method delivers the description of this plugin type.- Returns:
 - The description of the plugin type.
 - Since:
 - 1.5
 
 - 
getName
java.lang.String getName()Deprecated.This method delivers the current name of this plugin instance. The name does not have to be unique.- Specified by:
 getNamein interfaceIAnalysisComponent- Returns:
 - The current name of the plugin instance.
 - Since:
 - 1.5
 
 - 
connect
Deprecated.Connects the given repository to this plugin via the given name. DO NOT USE THIS METHOD! UseAnalysisController.connectinstead!- Parameters:
 name- The name of the port to connect the repository.repo- The repository which should be used.- Throws:
 AnalysisConfigurationException- if the repository-port is invalid, the repository itself is incompatible or the port is already used.- Since:
 - 1.5
 
 - 
getCurrentRepositories
java.util.Map<java.lang.String,AbstractRepository> getCurrentRepositories()Deprecated.This method delivers an array ofAbstractRepositorycontaining the current repositories 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:
 - An (possible empty) array of repositories.
 - Since:
 - 1.5
 
 - 
getAllOutputPortNames
java.lang.String[] getAllOutputPortNames()Deprecated.Delivers an array containing all output port names.- Returns:
 - An array with all available output port names.
 - Since:
 - 1.5
 
 - 
getAllInputPortNames
java.lang.String[] getAllInputPortNames()Deprecated.Delivers an array containing all input port names.- Returns:
 - An array with all available input port names.
 - Since:
 - 1.5
 
 - 
getAllDisplayNames
java.lang.String[] getAllDisplayNames()Deprecated.Delivers an array containing all display names.- Returns:
 - An array with all available display names.
 - Since:
 - 1.6
 
 - 
getAllRepositoryPortNames
java.lang.String[] getAllRepositoryPortNames()Deprecated.Delivers an array containing all repository port names.- Returns:
 - An array with all available repository port names.
 - Since:
 - 1.7
 
 - 
getConnectedPlugins
java.util.List<IPlugin.PluginInputPortReference> getConnectedPlugins(java.lang.String outputPortName)Deprecated.Delivers the plugins with their ports which are connected with the given output port.- Parameters:
 outputPortName- The name of the output port.- Returns:
 - An array of pairs, whereat the first element is the plugin and the second one the name of the input port. If the given output port is invalid, null is returned
 - Since:
 - 1.5
 
 - 
getState
IPlugin.STATE getState()Deprecated.- Returns:
 - the current state of the plugin
 - Since:
 - 1.6
 
 
 -