Interface RemoteScriptingEngine

    • Method Detail

      • setRemoteScriptingEngineHandler

        void setRemoteScriptingEngineHandler​(RemoteScriptingEngineHandler value)
        Sets the application context.
        Parameters:
        value - the context
      • getRemoteScriptingEngineHandler

        RemoteScriptingEngineHandler getRemoteScriptingEngineHandler()
        Returns the application context.
        Returns:
        the context, null if none set
      • setCommandHandler

        void setCommandHandler​(RemoteCommandHandler value)
        Sets the command handler to use.
        Parameters:
        value - the command handler
      • getCommandHandler

        RemoteCommandHandler getCommandHandler()
        Returns the command handler in use.
        Returns:
        the command handler
      • setPermissionHandler

        void setPermissionHandler​(PermissionHandler value)
        Sets the permission handler to use.
        Parameters:
        value - the permission handler
      • getPermissionHandler

        PermissionHandler getPermissionHandler()
        Returns the permission handler in use.
        Returns:
        the permission handler
      • permissionHandlerTipText

        String permissionHandlerTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setRequestHandler

        void setRequestHandler​(RequestHandler value)
        Sets the request handler to use.
        Parameters:
        value - the request handler
      • getRequestHandler

        RequestHandler getRequestHandler()
        Returns the request handler in use.
        Returns:
        the request handler
      • requestHandlerTipText

        String requestHandlerTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setResponseHandler

        void setResponseHandler​(ResponseHandler value)
        Sets the response handler to use.
        Parameters:
        value - the response handler
      • getResponseHandler

        ResponseHandler getResponseHandler()
        Returns the response handler in use.
        Returns:
        the response handler
      • responseHandlerTipText

        String responseHandlerTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • executeJob

        void executeJob​(CallableWithResult<String> job)
        Executes the job.
        Parameters:
        job - the job to execute
      • execute

        String execute()
        Executes the scripting engine.
        Returns:
        error message in case of failure to start up or run, otherwise null
      • isRunning

        boolean isRunning()
        Returns whether the scripting engine is currently running.
        Returns:
        true if running