Class RemoteExecutionManager

    • Constructor Detail

      • RemoteExecutionManager

        public RemoteExecutionManager()
    • Method Detail

      • execute

        public String execute​(String planId)
        Executes a plan located on the controller
        Parameters:
        planId - the ID of the plan to be executed.
        Returns:
        the execution ID of the execution
      • execute

        public String execute​(String planId,
                              Map<String,​String> executionParameters)
        Executes a plan located on the controller
        Parameters:
        planId - the ID of the plan to be executed.
        executionParameters - the execution parameters (the drop-downs that are set on the execution screen in the UI)
        Returns:
        the execution ID of the execution
      • executeFromExternalRepository

        public String executeFromExternalRepository​(String repositoryId,
                                                    Map<String,​String> repositoryParameters)
        Executes a plan located on an external repository
        Parameters:
        repositoryId - the ID of the repository the Plan is located on
        repositoryParameters - the parameters to be passed to the repository to locate the plan
        Returns:
        the execution ID of the execution
      • executeFromExternalRepository

        public String executeFromExternalRepository​(String repositoryId,
                                                    Map<String,​String> repositoryParameters,
                                                    Map<String,​String> executionParameters)
        Executes a plan located on an external repository
        Parameters:
        repositoryId - the ID of the repository the Plan is located on
        repositoryParameters - the parameters to be passed to the repository to locate the plan
        executionParameters - the execution parameters (the drop-downs that are set on the execution screen in the UI)
        Returns:
        the execution ID of the execution
      • stop

        public void stop​(String executionId)
        Stop an execution
        Parameters:
        executionId - the ID of the execution to be stopped
      • get

        public Execution get​(String executionId)
        Parameters:
        executionId - the ID of the execution
        Returns:
        the Execution
      • getFuture

        public RemoteExecutionFuture getFuture​(String executionId)
        Returns a future representing of the execution
        Parameters:
        executionId -
        Returns: