Class CliPlugin

java.lang.Object
nz.org.riskscape.engine.plugin.Plugin
nz.org.riskscape.engine.cli.CliPlugin

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

Pseudo plugin for the cli/app code

  • Field Summary

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

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

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

    • CliPlugin

      public CliPlugin(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
    • getFeatures

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