Package com.pnfsoftware.jeb.core
Class AbstractEnginesPlugin
java.lang.Object
com.pnfsoftware.jeb.core.AbstractPlugin
com.pnfsoftware.jeb.core.AbstractEnginesPlugin
- All Implemented Interfaces:
IEnginesPlugin,IPlugin
Skeleton implementation for
engines plugins. It is recommended plugins
extend this class or one of the its subclasses instead of implementing IEnginesPlugin.
Please refer to IEnginesPlugin for notes and caveats.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(IEnginesContext context) The default implementation forwards execution toIEnginesPlugin.execute(IEnginesContext, java.util.Map), without providing options.List<? extends IOptionDefinition>The default implementation returns null.voidload(IEnginesContext context) The default implementation does nothing.Methods inherited from class com.pnfsoftware.jeb.core.AbstractPlugin
dispose, getData, setDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pnfsoftware.jeb.core.IEnginesPlugin
execute, getExecutionOptionDefinitionsMethods inherited from interface com.pnfsoftware.jeb.core.IPlugin
dispose, getData, getPluginInformation, setData
-
Field Details
-
logger
-
-
Constructor Details
-
AbstractEnginesPlugin
public AbstractEnginesPlugin()
-
-
Method Details
-
getExecutionOptionDefinitions
The default implementation returns null.- Specified by:
getExecutionOptionDefinitionsin interfaceIEnginesPlugin- Returns:
- optional list of option definitions
-
load
The default implementation does nothing.- Specified by:
loadin interfaceIEnginesPlugin- Parameters:
context- the context in which this plugin executes (never null)
-
execute
The default implementation forwards execution toIEnginesPlugin.execute(IEnginesContext, java.util.Map), without providing options.- Specified by:
executein interfaceIEnginesPlugin- Parameters:
context- the context in which this plugin executes (never null)
-