Package nz.org.riskscape.jython
Class Plugin
java.lang.Object
nz.org.riskscape.engine.plugin.Plugin
nz.org.riskscape.jython.Plugin
- All Implemented Interfaces:
nz.org.riskscape.engine.function.FunctionProvider
public class Plugin
extends nz.org.riskscape.engine.plugin.Plugin
implements nz.org.riskscape.engine.function.FunctionProvider
-
Constructor Summary
ConstructorDescriptionPlugin
(@NonNull nz.org.riskscape.engine.plugin.PluginDescriptor pDescriptor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFunctions
(nz.org.riskscape.engine.Project project, Consumer<nz.org.riskscape.problem.Problem> problemSink) List<nz.org.riskscape.problem.Problem>
initializeEngine
(nz.org.riskscape.engine.Engine engine) List<nz.org.riskscape.problem.Problem>
initializeProject
(nz.org.riskscape.engine.Project project, nz.org.riskscape.engine.Engine enine) Methods inherited from class nz.org.riskscape.engine.plugin.Plugin
finalize, getDescriptor, getExtensionPoints, getFeatures, getI18nClassLoader, getId, initializeEngine, shutDown, startUp, startUp, supportsFeature
-
Constructor Details
-
Plugin
public Plugin(@NonNull @NonNull nz.org.riskscape.engine.plugin.PluginDescriptor pDescriptor)
-
-
Method Details
-
initializeEngine
public List<nz.org.riskscape.problem.Problem> initializeEngine(nz.org.riskscape.engine.Engine engine) - Specified by:
initializeEngine
in classnz.org.riskscape.engine.plugin.Plugin
-
initializeProject
public List<nz.org.riskscape.problem.Problem> initializeProject(nz.org.riskscape.engine.Project project, nz.org.riskscape.engine.Engine enine) - Overrides:
initializeProject
in classnz.org.riskscape.engine.plugin.Plugin
-
addFunctions
public void addFunctions(nz.org.riskscape.engine.Project project, Consumer<nz.org.riskscape.problem.Problem> problemSink) - Specified by:
addFunctions
in interfacenz.org.riskscape.engine.function.FunctionProvider
-