net.sf.logdistiller
Class Plugins

java.lang.Object
  extended by net.sf.logdistiller.Plugins
Direct Known Subclasses:
BasePlugins

public abstract class Plugins
extends Object

Definition of available plugins. By default, some plugins come predefined with LogDistiller. You can add custom plugins:


Field Summary
static List ALL
           
static Map MAP
           
 
Constructor Summary
Plugins()
           
 
Method Summary
abstract  List definePlugins()
          get the Plugin instances defined by this extension.
static List getAllPlugins()
          get all the plugins defined (predefined and custom).
static Plugin getPlugin(String id)
           
static String listAllPluginIds()
           
static LogDistillation.Plugin newInstance(LogDistiller.Plugin pluginConf)
          Instanciates a new distillation plugin from its distiller configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final List ALL

MAP

public static final Map MAP
Constructor Detail

Plugins

public Plugins()
Method Detail

definePlugins

public abstract List definePlugins()
get the Plugin instances defined by this extension.

Returns:
the list of plugins
See Also:
Plugin

getAllPlugins

public static List getAllPlugins()
get all the plugins defined (predefined and custom).


listAllPluginIds

public static String listAllPluginIds()

getPlugin

public static Plugin getPlugin(String id)

newInstance

public static LogDistillation.Plugin newInstance(LogDistiller.Plugin pluginConf)
Instanciates a new distillation plugin from its distiller configuration.

Parameters:
pluginConf - the plugin distiller configuration
Returns:
the distillation plugin
Throws:
PluginConfigException - if the plugin type defined in the configuration does not exist


Copyright © 2004-2009. All Rights Reserved.