DecoratedExecutionNodeFactorypublic class PluginFactory<U extends Plugin> extends Object
FaradayCagePlugin.
Create an instance of this
| Constructor | Description |
|---|---|
PluginFactory(Class<U> clazz,
org.pf4j.PluginManager pluginManager,
Resource type) |
Constructor, takes an instance of this
FaradayCagePluginFactorys type parameters
Class. |
| Modifier and Type | Method | Description |
|---|---|---|
U |
create(Resource id) |
Create an instance of the
FaradayCagePlugin identified by id. |
U |
getImplementationOf(Resource type) |
Create an instance of
FaradayCagePlugin for a given type. |
List<Resource> |
listAvailable() |
List the names of all implementations of
T |
public PluginFactory(Class<U> clazz, org.pf4j.PluginManager pluginManager, Resource type)
FaradayCagePluginFactorys type parameters
Class.clazz - Class instance for this FaradayCagePluginFactorys type parameterpluginManager - the PluginManager to be used in this FaradayCagePluginFactorytype - Common parent ExecutionGraphNode subtype IRI which all instances producible
by this factory share.public U create(Resource id)
FaradayCagePlugin identified by id.id - identifier of the instance to createFaradayCagePlugin identified by id.public U getImplementationOf(Resource type)
FaradayCagePlugin for a given type.type - type of the instance to createFaradayCagePlugin for the given type.Copyright © 2019. All rights reserved.