@Deprecated public interface IAnalysisController extends IProjectContext
AnalysisController, allowing not only to access read-methods but also to modify the analysis itself.CONFIG_PROPERTY_NAME_PROJECT_NAME, CONFIG_PROPERTY_NAME_RECORDS_TIME_UNIT| Modifier and Type | Method and Description |
|---|---|
void |
connect(AbstractPlugin src,
java.lang.String outputPortName,
AbstractPlugin dst,
java.lang.String inputPortName)
Deprecated.
This method should be used to connect two plugins.
|
void |
connect(AbstractPlugin plugin,
java.lang.String repositoryPort,
AbstractRepository repository)
Deprecated.
Connects the given repository to this plugin via the given name.
|
java.util.Collection<AbstractFilterPlugin> |
getFilters()
Deprecated.
Delivers an unmodifiable collection of all filters.
|
java.util.Collection<AbstractReaderPlugin> |
getReaders()
Deprecated.
Delivers an unmodifiable collection of all readers.
|
java.util.Collection<AbstractRepository> |
getRepositories()
Deprecated.
Delivers an unmodifiable collection of all repositories.
|
void |
registerStateObserver(AnalysisController.IStateObserver stateObserver)
Deprecated.
Registers the given instance as a new state observer.
|
void |
run()
Deprecated.
Starts an
AnalysisController instance. |
void |
saveToFile(java.io.File file)
Deprecated.
This method can be used to store the current configuration of this analysis controller in a specified file.
|
void |
saveToFile(java.lang.String pathname)
Deprecated.
This method can be used to store the current configuration of this analysis controller in a specified file.
|
void |
terminate()
Deprecated.
Initiates a termination of the analysis.
|
void |
terminate(boolean error)
Deprecated.
Initiates a termination of the analysis.
|
void |
unregisterStateObserver(AnalysisController.IStateObserver stateObserver)
Deprecated.
Unregisters the given instance from the state observers.
|
getCurrentConfiguration, getProjectName, getProperty, getStatevoid registerStateObserver(AnalysisController.IStateObserver stateObserver)
stateObserver - The observer to be registered.void unregisterStateObserver(AnalysisController.IStateObserver stateObserver)
stateObserver - The observer to be unregistered.void saveToFile(java.io.File file)
throws java.io.IOException,
AnalysisConfigurationException
file - The file in which the configuration will be stored.java.io.IOException - If an exception during the storage occurred.AnalysisConfigurationException - If the current configuration is somehow invalid.saveToFile(String)void saveToFile(java.lang.String pathname)
throws java.io.IOException,
AnalysisConfigurationException
#saveToFile(File).pathname - The pathname of the file in which the configuration will be stored.java.io.IOException - If an exception during the storage occurred.AnalysisConfigurationException - If the current configuration is somehow invalid.saveToFile(File)void connect(AbstractPlugin src, java.lang.String outputPortName, AbstractPlugin dst, java.lang.String inputPortName) throws AnalysisConfigurationException
src - The source plugin.outputPortName - The output port of the source plugin.dst - The destination plugin.inputPortName - The input port of the destination port.java.lang.IllegalStateException - If this instance has already been started or has already been terminated.AnalysisConfigurationException - If the port names or the given plugins are invalid or not compatible.void connect(AbstractPlugin plugin, java.lang.String repositoryPort, AbstractRepository repository) throws AnalysisConfigurationException
plugin - The plugin to be connected.repositoryPort - The name of the port to connect the repository.repository - The repository which should be used.java.lang.IllegalStateException - If this instance has already been started or has already been terminated.AnalysisConfigurationException - If the port names or the given objects are invalid or not compatible.void run() throws AnalysisConfigurationException
AnalysisController instance.
The method returns after all configured readers finished reading and all analysis plug-ins terminated
On errors during the initialization, Exceptions are thrown.java.lang.IllegalStateException - If the current instance has already been started or already been terminated.AnalysisConfigurationException - If plugins with mandatory repositories have not been connected properly or couldn't be initialized.void terminate()
void terminate(boolean error)
error - Determines whether this is a normal termination or an termination due to an error during the analysis.java.util.Collection<AbstractReaderPlugin> getReaders()
java.util.Collection<AbstractFilterPlugin> getFilters()
java.util.Collection<AbstractRepository> getRepositories()
Copyright 2021 Kieker Project, http://kieker-monitoring.net