public abstract class Plugins extends Object
predefined with LogDistiller. You can add custom plugins:
LogDistillation.Plugin classPlugins class defining previous Plugin with a default constructorlogdistiller.properties resource file which plugins property is the full
Plugins class name| Modifier and Type | Field and Description |
|---|---|
static List<Plugin> |
ALL |
static Map<String,Plugin> |
MAP |
| Constructor and Description |
|---|
Plugins() |
| Modifier and Type | Method and Description |
|---|---|
abstract List<Plugin> |
definePlugins()
get the
Plugin instances defined by this extension. |
static List<Plugin> |
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.
|
public Plugins()
public abstract List<Plugin> definePlugins()
Plugin instances defined by this extension.Pluginpublic static List<Plugin> getAllPlugins()
public static String listAllPluginIds()
public static LogDistillation.Plugin newInstance(LogDistiller.Plugin pluginConf)
pluginConf - the plugin distiller configurationPluginConfigException - if the plugin type defined in the configuration does not existCopyright © 2004–2014. All rights reserved.