Package org.aksw.faraday_cage.decorator
Class AbstractExecutionNodeDecorator<T>
java.lang.Object
org.aksw.faraday_cage.decorator.AbstractExecutionNodeDecorator<T>
- All Implemented Interfaces:
ExecutionNode<T>,Plugin,org.pf4j.ExtensionPoint
- Direct Known Subclasses:
AbstractDeerExecutionNodeDecorator,AbstractParameterizedExecutionNodeDecorator
Base abstract class for decorator pattern
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aksw.faraday_cage.engine.ExecutionNode
ExecutionNode.DegreeBounds -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()intintgetType()Get the type URI resource of theParametrizedPlugin.voidinitDegrees(int inDegree, int outDegree)voidinitPluginId(Resource id)booleanGet initialization status
-
Constructor Details
-
AbstractExecutionNodeDecorator
-
-
Method Details
-
apply
- Specified by:
applyin interfaceExecutionNode<T>
-
getDegreeBounds
- Specified by:
getDegreeBoundsin interfaceExecutionNode<T>
-
getInDegree
public final int getInDegree()- Specified by:
getInDegreein interfaceExecutionNode<T>
-
getOutDegree
public final int getOutDegree()- Specified by:
getOutDegreein interfaceExecutionNode<T>
-
initDegrees
public final void initDegrees(int inDegree, int outDegree)- Specified by:
initDegreesin interfaceExecutionNode<T>
-
initPluginId
- Specified by:
initPluginIdin interfacePlugin
-
getId
-
getType
Description copied from interface:PluginGet the type URI resource of theParametrizedPlugin. The type of aParametrizedPluginidentifies the implementing class, must be unique and must not be a blank node. It is used to instantiate the class using thePluginFactory. Defaults to using the implementing classesClass.getSimpleName(). -
deepCopy
- Specified by:
deepCopyin interfaceExecutionNode<T>
-
isInitialized
public final boolean isInitialized()Description copied from interface:PluginGet initialization status- Specified by:
isInitializedin interfacePlugin- Returns:
true, if initialized;false, else.
-
getWrapped
-