Class AbstractParametrizedGroovyRESTPlugin

  • All Implemented Interfaces:
    adams.core.AdditionalInformationHandler, adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.SizeOfHandler, adams.flow.core.AdditionalOptionsHandler, adams.flow.core.FlowContextHandler, RESTPlugin, Serializable

    public abstract class AbstractParametrizedGroovyRESTPlugin
    extends AbstractRESTPluginWithFlowContext
    implements adams.flow.core.AdditionalOptionsHandler
    Ancestor for parametrized REST plugins written in Groovy.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected adams.flow.core.AdditionalOptions m_AdditionalOptions
      for storing the additional options.
      • Fields inherited from class adams.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      adams.flow.core.AdditionalOptions getAdditionalOptions()
      Returns the value associated with the (additional) option.
      protected void initialize()
      Initializes the members.
      void setAdditionalOptions​(adams.flow.core.AdditionalOptions options)
      Sets the additional options.
      • Methods inherited from class adams.core.option.AbstractOptionHandler

        cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.GlobalInfoSupporter

        globalInfo
      • Methods inherited from interface adams.core.logging.LoggingLevelHandler

        getLoggingLevel
      • Methods inherited from interface adams.core.logging.LoggingSupporter

        getLogger, isLoggingEnabled
    • Field Detail

      • m_AdditionalOptions

        protected adams.flow.core.AdditionalOptions m_AdditionalOptions
        for storing the additional options.
    • Constructor Detail

      • AbstractParametrizedGroovyRESTPlugin

        public AbstractParametrizedGroovyRESTPlugin()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class adams.core.option.AbstractOptionHandler
      • setAdditionalOptions

        public void setAdditionalOptions​(adams.flow.core.AdditionalOptions options)
        Sets the additional options.
        Specified by:
        setAdditionalOptions in interface adams.flow.core.AdditionalOptionsHandler
        Parameters:
        options - the options (name <->value relation)
      • getAdditionalOptions

        public adams.flow.core.AdditionalOptions getAdditionalOptions()
        Returns the value associated with the (additional) option.
        Specified by:
        getAdditionalOptions in interface adams.flow.core.AdditionalOptionsHandler
        Returns:
        the options (name <->value relation)