Package io.quarkus.bootstrap.app
Class QuarkusBootstrap.Builder
java.lang.Object
io.quarkus.bootstrap.app.QuarkusBootstrap.Builder
- Enclosing class:
- QuarkusBootstrap
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddClassLoaderEventListeners(List<ClassLoaderEventListener> classLoadListeners) addExcludedPath(Path path) addParentFirstArtifact(ArtifactKey appArtifactKey) build()setAppArtifact(ResolvedDependency appArtifact) The app artifact.setApplicationRoot(PathCollection applicationRoot) setApplicationRoot(Path applicationRoot) setAppModelResolver(AppModelResolver appModelResolver) setAssertionsEnabled(boolean assertionsEnabled) setAuxiliaryApplication(boolean auxiliaryApplication) setBaseClassLoader(ClassLoader baseClassLoader) setBaseName(String baseName) setBuildSystemProperties(Properties buildSystemProperties) setDependencyInfoProvider(Supplier<DependencyInfoProvider> depInfoProvider) setDisableClasspathCache(boolean disableClasspathCache) setExistingModel(ApplicationModel existingModel) setFlatClassPath(boolean flatClassPath) setForcedDependencies(List<Dependency> forcedDependencies) If set, each of these dependencies will either be added to the application dependencies if the GA doesn't match any application dependencies, or override the existing version if the GA does matchsetHostApplicationIsTestOnly(boolean hostApplicationIsTestOnly) setIsolateDeployment(boolean isolateDeployment) If the deployment should use an isolated (aka parent last) classloader.setLocalProjectDiscovery(Boolean localProjectDiscovery) setManagingProject(ArtifactCoords managingProject) setMavenArtifactResolver(MavenArtifactResolver mavenArtifactResolver) setMode(QuarkusBootstrap.Mode mode) setOffline(boolean offline) setOriginalBaseName(String originalJarName) setProjectRoot(Path projectRoot) The project root, used only for project dependency discovery.setRebuild(boolean value) setRuntimeProperties(Properties runtimeProperties) setTargetDirectory(Path targetDirectory) setTest(boolean test)
-
Field Details
-
classLoadListeners
-
hostApplicationIsTestOnly
public boolean hostApplicationIsTestOnly
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setApplicationRoot
-
setApplicationRoot
-
addAdditionalApplicationArchive
-
addAdditionalApplicationArchives
public QuarkusBootstrap.Builder addAdditionalApplicationArchives(Collection<AdditionalDependency> path) -
addAdditionalDeploymentArchive
-
setFlatClassPath
-
addExcludedPath
-
setProjectRoot
The project root, used only for project dependency discovery. -
setBuildSystemProperties
-
setRuntimeProperties
-
setOffline
-
setTest
-
setMode
-
setHostApplicationIsTestOnly
-
setAuxiliaryApplication
-
setLocalProjectDiscovery
-
setBaseName
-
setOriginalBaseName
-
setBaseClassLoader
-
setTargetDirectory
-
setAppModelResolver
-
setDisableClasspathCache
-
addParentFirstArtifact
-
setAppArtifact
The app artifact. Note that if you want to use this as the basis of the application you must also explicitly set the application root to this artifacts paths. -
setManagingProject
-
setIsolateDeployment
If the deployment should use an isolated (aka parent last) classloader.For tests this is generally false, as we want to share the base class path so that the test extension code can integrate with the deployment.
TODO: should this always be true?
- Parameters:
isolateDeployment-- Returns:
-
setMavenArtifactResolver
public QuarkusBootstrap.Builder setMavenArtifactResolver(MavenArtifactResolver mavenArtifactResolver) -
setForcedDependencies
If set, each of these dependencies will either be added to the application dependencies if the GA doesn't match any application dependencies, or override the existing version if the GA does match -
getExistingModel
-
setExistingModel
-
addLocalArtifact
-
clearLocalArtifacts
-
setRebuild
-
addClassLoaderEventListeners
public QuarkusBootstrap.Builder addClassLoaderEventListeners(List<ClassLoaderEventListener> classLoadListeners) -
setAssertionsEnabled
-
setDependencyInfoProvider
public QuarkusBootstrap.Builder setDependencyInfoProvider(Supplier<DependencyInfoProvider> depInfoProvider) -
build
-