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: 1.6 $
See Also:
PluginManagerListener
  • Method Summary

    Modifier and Type Method Description
    void addAlgorithm​(Algorithm algorithm)
    Adds the given algorithm to the list of algorithms.
    List<?> getAlgorithms()
    Returns a java.util.List containing all the Algorithm instances the manager contains.

    Methods inherited from interface org.graffiti.managers.pluginmgr.PluginManagerListener

    pluginAdded
  • Method Details

    • getAlgorithms

      List<?> 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.
    • addAlgorithm

      void addAlgorithm​(Algorithm algorithm)
      Adds the given algorithm to the list of algorithms.
      Parameters:
      algorithm - the algorithm to add to the list.