public static class AppCreator.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
AppCreator.Builder |
addPhase(AppCreationPhase<?> provider)
Adds a creation phase to the application creation flow.
|
AppCreator |
build()
Builds an instance of an application creator.
|
PropertiesHandler<AppCreator> |
getPropertiesHandler()
Creates an instance of a properties handler initialized with whatever the user provided to this builder instance.
|
AppCreator.Builder |
setAppJar(Path appJar) |
AppCreator.Builder |
setModelResolver(AppModelResolver resolver)
Application model resolver which should be used to resolve
application dependencies.
|
AppCreator.Builder |
setWorkDir(Path dir)
Work directory used to store various data when processing phases.
|
public AppCreator.Builder addPhase(AppCreationPhase<?> provider)
phase - application creation phasepublic AppCreator.Builder setWorkDir(Path dir)
p - work directorypublic AppCreator.Builder setModelResolver(AppModelResolver resolver)
resolver - artifact resolverpublic AppCreator.Builder setAppJar(Path appJar) throws AppCreatorException
appJar - application JARAppCreatorExceptionpublic AppCreator build() throws AppCreatorException
AppCreatorException - in case of a failurepublic PropertiesHandler<AppCreator> getPropertiesHandler() throws AppCreatorException
AppCreatorException - in case of a failureCopyright © 2019 JBoss by Red Hat. All rights reserved.