org.graffiti.managers
Interface AlgorithmManager

All Superinterfaces:
PluginManagerListener
All Known Implementing Classes:
DefaultAlgorithmManager

public interface AlgorithmManager
extends PluginManagerListener

Provides a generic interface for a component managing a set of algorithms.

Version:
$Revision: 5767 $
See Also:
PluginManagerListener

Method Summary
 void addAlgorithm(Algorithm algorithm)
          Adds the given algorithm to the list of algorithms.
 List<Algorithm> getAlgorithms()
          Returns a java.util.List containing all the Algorithm instances the manager contains.
 String getClassName(Algorithm algorithm)
          Returns the class name of the specified algorithm.
 
Methods inherited from interface org.graffiti.managers.pluginmgr.PluginManagerListener
pluginAdded
 

Method Detail

getAlgorithms

List<Algorithm> getAlgorithms()
Returns a java.util.List containing all the Algorithm instances the manager contains.

Returns:
a java.util.List containing all the Algorithm instances the manager contains.

getClassName

String getClassName(Algorithm algorithm)
Returns the class name of the specified algorithm. Using the InstanceLoader an instance of this Algorithm can be created.

Parameters:
algorithm - the Algorithm of which to get the class name.
Returns:
the class name of the specified algorithm.

addAlgorithm

void addAlgorithm(Algorithm algorithm)
Adds the given algorithm to the list of algorithms.

Parameters:
algorithm - the algorithm to add to the list.


Generated at 2012-05-30 11:00:36 PM CEST