Class AbstractScript

  • All Implemented Interfaces:
    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, Serializable

    public abstract class AbstractScript
    extends AbstractRatGenerator
    implements adams.flow.core.AdditionalOptionsHandler
    Ancestor for rat generator scripts.

    Scripts of scripting languages like Jython or Groovy need to be derived from this class.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_AdditionalOptions

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

      • AbstractScript

        public AbstractScript()
    • 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)