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.
        Parameters:
        value - the maximum
      • getMaxCommands

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

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

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

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

        protected String doExecute()
        Executes the scripting engine.
        Specified by:
        doExecute in class AbstractScriptingEngine
        Returns:
        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.
        Parameters:
        args - additional options for the scripting engine