public class NIODefaultCompilationRequest extends Object implements NIOCompilationRequest
| Constructor and Description |
|---|
NIODefaultCompilationRequest(String mavenRepo,
NIOWorkspaceCompilationInfo info,
String[] args,
Map<String,Object> map,
Boolean logRequested) |
| Modifier and Type | Method and Description |
|---|---|
NIOWorkspaceCompilationInfo |
getInfo() |
AFCliRequest |
getKieCliRequest() |
String |
getMavenRepo() |
Optional<Path> |
getPomFile() |
Optional<URI> |
getRepoURI() |
AFCliRequest |
getReq() |
String |
getRequestUUID() |
static Boolean |
isValidMavenRepo(Path mavenRepo)
Check if the folder exists and if it's writable and readable
|
public NIODefaultCompilationRequest(String mavenRepo, NIOWorkspaceCompilationInfo info, String[] args, Map<String,Object> map, Boolean logRequested)
info - args - param for maven, can be used MavenCLIArgsmap - to retrieve KieMetaInfo and KieModule when a Kie Plugin is presentlogRequested - if true the output of the build will be provided as a Listpublic static Boolean isValidMavenRepo(Path mavenRepo)
mavenRepo - public NIOWorkspaceCompilationInfo getInfo()
getInfo in interface NIOCompilationRequestpublic Optional<Path> getPomFile()
getPomFile in interface NIOCompilationRequestpublic AFCliRequest getReq()
public AFCliRequest getKieCliRequest()
getKieCliRequest in interface NIOCompilationRequestpublic String getMavenRepo()
getMavenRepo in interface NIOCompilationRequestpublic String getRequestUUID()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.