net.sf.logdistiller
Class Plugins
java.lang.Object
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:
- 1. create a new
LogDistillation.Plugin
class
- 2. create a new
Plugins
class defining previous Plugin
with a default constructor
- 3. create a
logdistiller.properties
resource file which plugins
property is the full
Plugins
class name
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL
public static final List ALL
MAP
public static final Map MAP
Plugins
public Plugins()
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.