public class ExamplePluginFactory extends Object implements org.azyva.dragom.model.plugin.NodePluginFactory
NodePluginFactory.
Generally NodePlugin's are easier to implement using the constructor
idiom. Most NodePlugin's provided with Dragom use this idiom.
This NodePlugin provides an example implementation of a NodePluginFactory,
the other NodePlugin implementation idiom supported by Dragom.
A useless generic ModulePlugin is actually implemented.
| Constructor and Description |
|---|
ExamplePluginFactory() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends org.azyva.dragom.model.plugin.NodePlugin> |
getDefaultClassNodePlugin() |
String |
getDefaultPluginId(Class<? extends org.azyva.dragom.model.plugin.NodePlugin> classNodePlugin) |
<NodePluginInterface extends org.azyva.dragom.model.plugin.NodePlugin> |
getPlugin(Class<NodePluginInterface> classNodePlugin,
org.azyva.dragom.model.Node node) |
<NodePluginInterface extends org.azyva.dragom.model.plugin.NodePlugin> |
isPluginSupported(Class<NodePluginInterface> classNodePlugin) |
public Class<? extends org.azyva.dragom.model.plugin.NodePlugin> getDefaultClassNodePlugin()
getDefaultClassNodePlugin in interface org.azyva.dragom.model.plugin.NodePluginFactorypublic String getDefaultPluginId(Class<? extends org.azyva.dragom.model.plugin.NodePlugin> classNodePlugin)
getDefaultPluginId in interface org.azyva.dragom.model.plugin.NodePluginFactorypublic <NodePluginInterface extends org.azyva.dragom.model.plugin.NodePlugin> boolean isPluginSupported(Class<NodePluginInterface> classNodePlugin)
isPluginSupported in interface org.azyva.dragom.model.plugin.NodePluginFactorypublic <NodePluginInterface extends org.azyva.dragom.model.plugin.NodePlugin> NodePluginInterface getPlugin(Class<NodePluginInterface> classNodePlugin, org.azyva.dragom.model.Node node)
getPlugin in interface org.azyva.dragom.model.plugin.NodePluginFactoryCopyright © 2015–2016 AZYVA INC.. All rights reserved.