Class EnginePlugin

java.lang.Object
nz.org.riskscape.engine.plugin.Plugin
nz.org.riskscape.engine.core.EnginePlugin

public class EnginePlugin extends nz.org.riskscape.engine.plugin.Plugin

A not-quite plugin for core SPIs and Features that get initialized like other plugin SPIs and Features, but without the classloader malarkey

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final nz.org.riskscape.engine.plugin.PluginDescriptor
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    List<Class<? extends nz.org.riskscape.engine.plugin.PluginFeature>>
     
    List<nz.org.riskscape.engine.plugin.PluginFeature>
     
    List<nz.org.riskscape.problem.Problem>
    initializeEngine(nz.org.riskscape.engine.Engine engine)
     

    Methods inherited from class nz.org.riskscape.engine.plugin.Plugin

    finalize, getDescriptor, getI18nClassLoader, getId, initializeEngine, initializeProject, shutDown, startUp, startUp, supportsFeature

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DESCRIPTOR

      public static final nz.org.riskscape.engine.plugin.PluginDescriptor DESCRIPTOR
  • Constructor Details

    • EnginePlugin

      public EnginePlugin(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
    • getExtensionPoints

      public List<Class<? extends nz.org.riskscape.engine.plugin.PluginFeature>> getExtensionPoints()
      Overrides:
      getExtensionPoints in class nz.org.riskscape.engine.plugin.Plugin
    • getFeatures

      public List<nz.org.riskscape.engine.plugin.PluginFeature> getFeatures()
      Overrides:
      getFeatures in class nz.org.riskscape.engine.plugin.Plugin