Class AbstractGroovyActor

    • Field Detail

      • m_ActorObject

        protected transient Actor m_ActorObject
        the loaded script object.
      • m_InlineScript

        protected GroovyScript m_InlineScript
        the inline script.
    • Constructor Detail

      • AbstractGroovyActor

        public AbstractGroovyActor()
    • Method Detail

      • reset

        protected void reset()
        Resets the scheme.
        Overrides:
        reset in class AbstractActor
      • getDefaultInlineScript

        protected GroovyScript getDefaultInlineScript()
        Returns the default inline script.
        Returns:
        the default script
      • setInlineScript

        public void setInlineScript​(GroovyScript value)
        Sets the inline script to use instead of the external script file.
        Parameters:
        value - the inline script
      • getInlineScript

        public GroovyScript getInlineScript()
        Gets the inline script to use instead of the external script file.
        Returns:
        the inline script
      • inlineScriptTipText

        public String inlineScriptTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the explorer/experimenter gui
      • loadScriptObject

        protected String loadScriptObject()
        Loads the scripts object and sets its options.
        Specified by:
        loadScriptObject in class AbstractScriptedActor
        Returns:
        null if OK, otherwise the error message
      • updateScriptOptions

        protected String updateScriptOptions()
        Updates the script options.
        Returns:
        null if successful, otherwise error message