org.processmining.mining
Class MiningPluginCollection

java.lang.Object
  extended by org.processmining.framework.plugin.PluginCollection
      extended by org.processmining.mining.MiningPluginCollection

public class MiningPluginCollection
extends PluginCollection

Collection of mining algorithms.

Version:
1.0
Author:
Peter van den Brand
See Also:
MiningPlugin

Constructor Summary
protected MiningPluginCollection()
           
 
Method Summary
static MiningPluginCollection getInstance()
          Returns an instance of an MiningPluginCollection.
 boolean isValidPlugin(Plugin plugin)
          Returns true if the given plugin is an MiningPlugin.
protected  void loadPlugin(java.lang.String name, java.lang.String sortName, ProMSplash splash)
          Loads a single plugin.
 
Methods inherited from class org.processmining.framework.plugin.PluginCollection
addPlugin, get, get, getByKey, getPlugins, loadFromIni, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiningPluginCollection

protected MiningPluginCollection()
Method Detail

getInstance

public static MiningPluginCollection getInstance()
Returns an instance of an MiningPluginCollection.

Returns:
an instance of an MiningPluginCollection

isValidPlugin

public boolean isValidPlugin(Plugin plugin)
Returns true if the given plugin is an MiningPlugin.

Specified by:
isValidPlugin in class PluginCollection
Parameters:
plugin - the plugin to check
Returns:
true if the given plugin is an MiningPlugin, false otherwise.

loadPlugin

protected void loadPlugin(java.lang.String name,
                          java.lang.String sortName,
                          ProMSplash splash)
Loads a single plugin. Loading errors are printed in the standard error stream.

Overrides:
loadPlugin in class PluginCollection
Parameters:
name - the class name of the plugin to load
sortName - the sort key
splash - the splashscreen to write messages to