| Modifier and Type | Interface and Description |
|---|---|
interface |
KieCompilationResponse
Compilation response with benefits of Kie
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCompilationResponse
Default implementation of a basic (Non Kie) Compilation response,
it contains a boolean flag as a result of the build, an optional String error message,
and an optional List of String with the maven output
|
class |
DefaultKieCompilationResponse
Default implementation of a Kie Compilation response,
it contains a boolean flag as a result of the build, an optional String error message,
and a List of String with the maven output
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AFCompiler<T extends CompilationResponse>
Define the behaviour of a NIO compiler
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CompilerDecorator<T extends CompilationResponse,C extends AFCompiler<T>>
Extends the Compiler behaviour to the decorators
|
class |
JGITCompilerBeforeDecorator<T extends CompilationResponse,C extends AFCompiler<T>>
Before decorator to update a git repo before the build
|
class |
KieAfterDecorator<T extends CompilationResponse,C extends AFCompiler<T>>
After decorator that reads and store the Object created by the Kie takari plugin and placed in the CompilationResponse
|
class |
OutputLogAfterDecorator<T extends CompilationResponse,C extends AFCompiler<T>>
After decorator to read and store the maven output into a List
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseMavenCompiler<T extends CompilationResponse>
Run maven with https://maven.apache.org/ref/3.3.9/maven-embedder/xref/index.html
to use Takari plugins like a black box
MavenCompiler compiler = new DefaultMavenCompiler();
or
MavenCompiler compiler = MavenCompilerFactory.getCompiler(Decorator.LOG_OUTPUT_AFTER);
WorkspaceCompilationInfo info = new WorkspaceCompilationInfo(tmp);
CompilationRequest req = new DefaultCompilationRequest(mavenRepo, info,new String[]{MavenArgs.COMPILE},new HashMap<>(), Boolean.TRUE );
CompilationResponse res = compiler.compileSync(req);
|
| Modifier and Type | Method and Description |
|---|---|
CompilationResponse |
DefaultMavenCompiler.buildDefaultCompilationResponse(Boolean value) |
CompilationResponse |
DefaultMavenCompiler.buildDefaultCompilationResponse(Boolean value,
List<String> output) |
protected CompilationResponse |
DefaultMavenCompiler.buildDefaultCompilationResponse(Boolean value,
String message,
List<String> output) |
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.