Class ManualFeedScriptingEngine

    • Field Detail

      • m_MaxCommands

        protected int m_MaxCommands
        the maximum number of commands to allow in queue.
    • Constructor Detail

      • ManualFeedScriptingEngine

        public ManualFeedScriptingEngine()
    • Method Detail

      • setMaxCommands

        public void setMaxCommands​(int value)
        Sets the maximum number of commands allowed in the queue.
        value - the maximum
      • getMaxCommands

        public int getMaxCommands()
        Returns the maximum number of commands allowed in the queue.
        the maximum
      • maxCommandsTipText

        public String maxCommandsTipText()
        Returns the tip text for this property.
        tip text for this property suitable for displaying in the gui
      • addCommand

        public void addCommand​(RemoteCommand cmd)
        Adds the command to the queue.
        cmd - the command to add
      • handleCommand

        protected void handleCommand​(RemoteCommand cmd)
        Handles the command.
        cmd - the command to handle
      • doExecute

        protected String doExecute()
        Executes the scripting engine.
        Specified by:
        doExecute in class AbstractScriptingEngine
        error message in case of failure to start up or run, otherwise null
      • main

        public static void main​(String[] args)
        Starts the scripting engine from commandline.
        args - additional options for the scripting engine