Class PythonOperation


  • public class PythonOperation
    extends Object
    Starts a gateway server for Py4J to execute ROBOT operations via Python. This class can be used to start the JVM directly from python using Py4J's `launch_gateway`.
    Author:
    Becky Jackson
    • Constructor Detail

      • PythonOperation

        public PythonOperation()
    • Method Detail

      • main

        public void main​(String[] args)
        Run a Gateway Server.
        Parameters:
        args - strings to use as arguments
      • run

        public static py4j.GatewayServer run​(Integer port)
        Run a Gateway Server.
        Parameters:
        port - port to run JVM on, or null
        Returns:
        a GatewayServer to connect to