public class BootstrapAppModelResolver extends Object implements AppModelResolver
| Modifier and Type | Field and Description |
|---|---|
protected Consumer<String> |
buildTreeConsumer |
protected boolean |
devmode |
protected MavenArtifactResolver |
mvn |
protected boolean |
test |
| Constructor and Description |
|---|
BootstrapAppModelResolver(MavenArtifactResolver mvn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRemoteRepositories(List<org.eclipse.aether.repository.RemoteRepository> repos) |
String |
getLatestVersion(AppArtifact appArtifact,
String upToVersion,
boolean inclusive) |
String |
getLatestVersionFromRange(AppArtifact appArtifact,
String range) |
String |
getNextVersion(AppArtifact appArtifact,
String fromVersion,
boolean fromVersionIncluded,
String upToVersion,
boolean upToVersionInclusive) |
void |
install(AppArtifact appArtifact,
Path localPath) |
List<String> |
listLaterVersions(AppArtifact appArtifact,
String upToVersion,
boolean inclusive) |
void |
relink(AppArtifact artifact,
Path path) |
Path |
resolve(AppArtifact artifact) |
List<org.eclipse.aether.repository.RemoteRepository> |
resolveArtifactRepos(AppArtifact appArtifact) |
AppModel |
resolveManagedModel(AppArtifact appArtifact,
List<AppDependency> directDeps,
AppArtifact managingProject,
Set<AppArtifactKey> localProjects) |
AppModel |
resolveModel(AppArtifact appArtifact) |
AppModel |
resolveModel(AppArtifact appArtifact,
List<AppDependency> directDeps) |
List<AppDependency> |
resolveUserDependencies(AppArtifact appArtifact,
List<AppDependency> deps) |
void |
setBuildTreeLogger(Consumer<String> buildTreeConsumer) |
BootstrapAppModelResolver |
setDevMode(boolean devmode)
Indicates whether application should be resolved to set up the dev mode.
|
BootstrapAppModelResolver |
setTest(boolean test) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolveUserDependenciesprotected final MavenArtifactResolver mvn
protected boolean devmode
protected boolean test
public BootstrapAppModelResolver(MavenArtifactResolver mvn)
public BootstrapAppModelResolver setDevMode(boolean devmode)
devmode - whether the resolver is going to be used to set up the dev modepublic BootstrapAppModelResolver setTest(boolean test)
public void addRemoteRepositories(List<org.eclipse.aether.repository.RemoteRepository> repos)
public void relink(AppArtifact artifact, Path path) throws AppModelResolverException
relink in interface AppModelResolverAppModelResolverExceptionpublic Path resolve(AppArtifact artifact) throws AppModelResolverException
resolve in interface AppModelResolverAppModelResolverExceptionpublic List<AppDependency> resolveUserDependencies(AppArtifact appArtifact, List<AppDependency> deps) throws AppModelResolverException
resolveUserDependencies in interface AppModelResolverAppModelResolverExceptionpublic AppModel resolveModel(AppArtifact appArtifact) throws AppModelResolverException
resolveModel in interface AppModelResolverAppModelResolverExceptionpublic AppModel resolveModel(AppArtifact appArtifact, List<AppDependency> directDeps) throws AppModelResolverException
resolveModel in interface AppModelResolverAppModelResolverExceptionpublic AppModel resolveManagedModel(AppArtifact appArtifact, List<AppDependency> directDeps, AppArtifact managingProject, Set<AppArtifactKey> localProjects) throws AppModelResolverException
resolveManagedModel in interface AppModelResolverAppModelResolverExceptionpublic List<String> listLaterVersions(AppArtifact appArtifact, String upToVersion, boolean inclusive) throws AppModelResolverException
listLaterVersions in interface AppModelResolverAppModelResolverExceptionpublic String getNextVersion(AppArtifact appArtifact, String fromVersion, boolean fromVersionIncluded, String upToVersion, boolean upToVersionInclusive) throws AppModelResolverException
getNextVersion in interface AppModelResolverAppModelResolverExceptionpublic String getLatestVersion(AppArtifact appArtifact, String upToVersion, boolean inclusive) throws AppModelResolverException
getLatestVersion in interface AppModelResolverAppModelResolverExceptionpublic String getLatestVersionFromRange(AppArtifact appArtifact, String range) throws AppModelResolverException
getLatestVersionFromRange in interface AppModelResolverAppModelResolverExceptionpublic List<org.eclipse.aether.repository.RemoteRepository> resolveArtifactRepos(AppArtifact appArtifact) throws AppModelResolverException
AppModelResolverExceptionpublic void install(AppArtifact appArtifact, Path localPath) throws AppModelResolverException
AppModelResolverExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.