Class MainRemote


  • public final class MainRemote
    extends Object
    Front remote control.

    The class is immutable and thread-safe.

    Since:
    0.23
    • Constructor Detail

      • MainRemote

        public MainRemote​(Class<?> type)
        Ctor.
        Parameters:
        type - Class with main method
      • MainRemote

        public MainRemote​(Class<?> type,
                          String... passed)
        Ctor.
        Parameters:
        type - Class with main method
        passed - Additional arguments to be passed to the main method
    • Method Detail

      • exec

        public void exec​(MainRemote.Script script)
                  throws Exception
        Execute this script against a running front.
        Parameters:
        script - Script to run
        Throws:
        Exception - If fails