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

    Constructors
    Constructor
    Description
    Plugin(@NonNull nz.org.riskscape.engine.plugin.PluginDescriptor pDescriptor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class nz.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 class nz.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 interface nz.org.riskscape.engine.function.FunctionProvider