Interface RemoteExecutor

  • All Known Implementing Classes:
    DefaultRemoteExecutor

    public interface RemoteExecutor
    This interface provides behaviour and use simple objects from HTTP world to run build requested from a remote client
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      CompletableFuture<org.kie.workbench.common.services.backend.compiler.impl.kie.KieCompilationResponse> build​(String projectPath, String mavenRepoPath, String settingXML)
      Run a mvn compile on the projectPath with mavenRepoPath specified, maven output provided in the CompilationResponse a new CompilationRequest will be created at every invocation, useful if the project folder and maven repo changes between compilation Requests
      CompletableFuture<org.kie.workbench.common.services.backend.compiler.impl.kie.KieCompilationResponse> build​(String projectPath, String mavenRepoPath, String settingXML, Boolean skipPrjDependenciesCreationList)
      Run a mvn compile on the projectPath with mavenRepoPath specified, maven output provided in the CompilationResponse a new CompilationRequest will be created at every invocation, useful if the project folder and maven repo changes between compilation Requests
      CompletableFuture<org.kie.workbench.common.services.backend.compiler.impl.kie.KieCompilationResponse> buildAndInstall​(String projectPath, String mavenRepoPath, String settingXML)
      Run a mvn install on the projectPath, maven output provided in the CompilationResponse a new CompilationRequest will be created at every invocation, useful if the project folder and maven repo changes between compilation Requests
      CompletableFuture<org.kie.workbench.common.services.backend.compiler.impl.kie.KieCompilationResponse> buildAndInstall​(String projectPath, String mavenRepoPath, String settingXML, Boolean skipPrjDependenciesCreationList)
      Run a mvn install on the projectPath, maven output provided in the CompilationResponse a new CompilationRequest will be created at every invocation, useful if the project folder and maven repo changes between compilation Requests
      CompletableFuture<org.kie.workbench.common.services.backend.compiler.impl.kie.KieCompilationResponse> buildSpecialized​(String projectPath, String mavenRepoPath, String[] args)
      Run a mvn {args}, maven output provided in the CompilationResponse a new CompilationRequest will be created at every invocation, useful if the project folder, maven repo and maven args changes between compilation Requests
      CompletableFuture<org.kie.workbench.common.services.backend.compiler.impl.kie.KieCompilationResponse> buildSpecialized​(String projectPath, String mavenRepoPath, String[] args, Boolean skipPrjDependenciesCreationList)
      Run a mvn {args}, maven output provided in the CompilationResponse a new CompilationRequest will be created at every invocation, useful if the project folder, maven repo and maven args changes between compilation Requests
    • Method Detail

      • build

        CompletableFuture<org.kie.workbench.common.services.backend.compiler.impl.kie.KieCompilationResponse> build​(String projectPath,
                                                                                                                    String mavenRepoPath,
                                                                                                                    String settingXML)
        Run a mvn compile on the projectPath with mavenRepoPath specified, maven output provided in the CompilationResponse a new CompilationRequest will be created at every invocation, useful if the project folder and maven repo changes between compilation Requests
      • build

        CompletableFuture<org.kie.workbench.common.services.backend.compiler.impl.kie.KieCompilationResponse> build​(String projectPath,
                                                                                                                    String mavenRepoPath,
                                                                                                                    String settingXML,
                                                                                                                    Boolean skipPrjDependenciesCreationList)
        Run a mvn compile on the projectPath with mavenRepoPath specified, maven output provided in the CompilationResponse a new CompilationRequest will be created at every invocation, useful if the project folder and maven repo changes between compilation Requests
      • buildAndInstall

        CompletableFuture<org.kie.workbench.common.services.backend.compiler.impl.kie.KieCompilationResponse> buildAndInstall​(String projectPath,
                                                                                                                              String mavenRepoPath,
                                                                                                                              String settingXML)
        Run a mvn install on the projectPath, maven output provided in the CompilationResponse a new CompilationRequest will be created at every invocation, useful if the project folder and maven repo changes between compilation Requests
      • buildAndInstall

        CompletableFuture<org.kie.workbench.common.services.backend.compiler.impl.kie.KieCompilationResponse> buildAndInstall​(String projectPath,
                                                                                                                              String mavenRepoPath,
                                                                                                                              String settingXML,
                                                                                                                              Boolean skipPrjDependenciesCreationList)
        Run a mvn install on the projectPath, maven output provided in the CompilationResponse a new CompilationRequest will be created at every invocation, useful if the project folder and maven repo changes between compilation Requests
      • buildSpecialized

        CompletableFuture<org.kie.workbench.common.services.backend.compiler.impl.kie.KieCompilationResponse> buildSpecialized​(String projectPath,
                                                                                                                               String mavenRepoPath,
                                                                                                                               String[] args)
        Run a mvn {args}, maven output provided in the CompilationResponse a new CompilationRequest will be created at every invocation, useful if the project folder, maven repo and maven args changes between compilation Requests
      • buildSpecialized

        CompletableFuture<org.kie.workbench.common.services.backend.compiler.impl.kie.KieCompilationResponse> buildSpecialized​(String projectPath,
                                                                                                                               String mavenRepoPath,
                                                                                                                               String[] args,
                                                                                                                               Boolean skipPrjDependenciesCreationList)
        Run a mvn {args}, maven output provided in the CompilationResponse a new CompilationRequest will be created at every invocation, useful if the project folder, maven repo and maven args changes between compilation Requests