| Package | Description |
|---|---|
| org.kie.workbench.common.services.backend.compiler.nio.decorators | |
| org.kie.workbench.common.services.backend.compiler.nio.impl |
| Modifier and Type | Interface and Description |
|---|---|
interface |
NIOCompilerDecorator
Extends the NIO2 Compiler behaviour to the decorators
|
| Modifier and Type | Class and Description |
|---|---|
class |
NIOJGITCompilerBeforeDecorator
Before decorator to update a git repo before the build on a Project with NIO2
|
class |
NIOOutputLogAfterDecorator
After decorator to read and store the maven output into a List
|
| Constructor and Description |
|---|
NIOJGITCompilerBeforeDecorator(NIOMavenCompiler compiler) |
NIOOutputLogAfterDecorator(NIOMavenCompiler compiler) |
| Modifier and Type | Class and Description |
|---|---|
class |
NIODefaultMavenCompiler
Run maven with https://maven.apache.org/ref/3.3.9/maven-embedder/xref/index.html
to use Takari plugins like a black box
NIOMavenCompiler compiler = new NIODefaultMavenCompiler();
or
NIOMavenCompiler compiler = NIOMavenCompilerFactory.getCompiler(Decorator.LOG_OUTPUT_AFTER);
NIOWorkspaceCompilationInfo info = new NIOWorkspaceCompilationInfo(prj_folder);
NIOCompilationRequest req = new NIODefaultCompilationRequest(mavenRepo,info,new String[]{MavenArgs.COMPILE}, new HashMap(), Boolean.TRUE);
CompilationResponse res = compiler.compileSync(req);
|
| Modifier and Type | Method and Description |
|---|---|
static NIOMavenCompiler |
NIOMavenCompilerFactory.getCompiler(Decorator decorator)
Provides a Maven compiler decorated with a Decorator Behaviour
|
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.