@ApplicationScoped public class DefaultKieCompilerService extends Object implements AFCompilerService
| Constructor and Description |
|---|
DefaultKieCompilerService() |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<KieCompilationResponse> |
build(org.uberfire.java.nio.file.Path projectPath,
String mavenRepoPath,
String settingXML)
Suitable for the Local Builds
|
CompletableFuture<KieCompilationResponse> |
build(org.uberfire.java.nio.file.Path 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<KieCompilationResponse> |
build(org.uberfire.java.nio.file.Path projectPath,
String mavenRepoPath,
String settingXML,
Map<org.uberfire.java.nio.file.Path,InputStream> override)
Run a mvn compile on the projectPath with mavenRepoPath specified, overriding the content contained in the Map, 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<KieCompilationResponse> |
build(String projectPath,
String mavenRepoPath,
String settingXML)
When a HTTP call asks a build this method 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<KieCompilationResponse> |
build(String projectPath,
String mavenRepoPath,
String settingXML,
Boolean skipPrjDependenciesCreationList)
Suitable for the REST Builds
|
CompletableFuture<KieCompilationResponse> |
buildAndInstall(org.uberfire.java.nio.file.Path 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<KieCompilationResponse> |
buildAndInstall(org.uberfire.java.nio.file.Path 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<KieCompilationResponse> |
buildAndInstall(String projectPath,
String mavenRepoPath,
String settingXML)
When a HTTP call asks a build this method 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<KieCompilationResponse> |
buildAndInstall(String projectPath,
String mavenRepoPath,
String settingXML,
Boolean skipPrjDependenciesCreationList)
When a HTTP call asks a build this method 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<KieCompilationResponse> |
buildSpecialized(org.uberfire.java.nio.file.Path 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<KieCompilationResponse> |
buildSpecialized(org.uberfire.java.nio.file.Path 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
|
CompletableFuture<KieCompilationResponse> |
buildSpecialized(String projectPath,
String mavenRepoPath,
String[] args,
Boolean skipPrjDependenciesCreationList)
When a HTTP call asks a build this method 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<KieCompilationResponse> |
buildSpecialized(String projectPath,
String mavenRepoPath,
String settingXML,
String[] args)
When a HTTP call asks a build this method 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
|
public CompletableFuture<KieCompilationResponse> build(org.uberfire.java.nio.file.Path projectPath, String mavenRepoPath, String settingXML)
build in interface AFCompilerServicepublic CompletableFuture<KieCompilationResponse> build(org.uberfire.java.nio.file.Path projectPath, String mavenRepoPath, String settingXML, Map<org.uberfire.java.nio.file.Path,InputStream> override)
AFCompilerServicebuild in interface AFCompilerServicepublic CompletableFuture<KieCompilationResponse> build(org.uberfire.java.nio.file.Path projectPath, String mavenRepoPath, String settingXML, Boolean skipPrjDependenciesCreationList)
AFCompilerServicebuild in interface AFCompilerServicepublic CompletableFuture<KieCompilationResponse> buildAndInstall(org.uberfire.java.nio.file.Path projectPath, String mavenRepoPath, String settingXML)
AFCompilerServicebuildAndInstall in interface AFCompilerServicepublic CompletableFuture<KieCompilationResponse> buildAndInstall(org.uberfire.java.nio.file.Path projectPath, String mavenRepoPath, String settingXML, Boolean skipPrjDependenciesCreationList)
AFCompilerServicebuildAndInstall in interface AFCompilerServicepublic CompletableFuture<KieCompilationResponse> buildSpecialized(org.uberfire.java.nio.file.Path projectPath, String mavenRepoPath, String[] args)
AFCompilerServicebuildSpecialized in interface AFCompilerServicepublic CompletableFuture<KieCompilationResponse> buildSpecialized(org.uberfire.java.nio.file.Path projectPath, String mavenRepoPath, String[] args, Boolean skipPrjDependenciesCreationList)
AFCompilerServicebuildSpecialized in interface AFCompilerServicepublic CompletableFuture<KieCompilationResponse> build(String projectPath, String mavenRepoPath, String settingXML, Boolean skipPrjDependenciesCreationList)
build in interface AFCompilerServicepublic CompletableFuture<KieCompilationResponse> build(String projectPath, String mavenRepoPath, String settingXML)
AFCompilerServicebuild in interface AFCompilerServicepublic CompletableFuture<KieCompilationResponse> buildAndInstall(String projectPath, String mavenRepoPath, String settingXML)
AFCompilerServicebuildAndInstall in interface AFCompilerServicepublic CompletableFuture<KieCompilationResponse> buildAndInstall(String projectPath, String mavenRepoPath, String settingXML, Boolean skipPrjDependenciesCreationList)
AFCompilerServicebuildAndInstall in interface AFCompilerServicepublic CompletableFuture<KieCompilationResponse> buildSpecialized(String projectPath, String mavenRepoPath, String settingXML, String[] args)
AFCompilerServicebuildSpecialized in interface AFCompilerServicepublic CompletableFuture<KieCompilationResponse> buildSpecialized(String projectPath, String mavenRepoPath, String[] args, Boolean skipPrjDependenciesCreationList)
AFCompilerServicebuildSpecialized in interface AFCompilerServiceCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.