Package io.quarkus.runner.bootstrap
Class AugmentActionImpl
- java.lang.Object
-
- io.quarkus.runner.bootstrap.AugmentActionImpl
-
- All Implemented Interfaces:
AugmentAction
public class AugmentActionImpl extends Object implements AugmentAction
The augmentation task that produces the application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAugmentActionImpl.BuildTaskA task that can be used in isolated environments to do a build
-
Constructor Summary
Constructors Constructor Description AugmentActionImpl(CuratedApplication curatedApplication)AugmentActionImpl(CuratedApplication curatedApplication, List<Consumer<BuildChainBuilder>> chainCustomizers)Deprecated.AugmentActionImpl(CuratedApplication curatedApplication, List<Consumer<BuildChainBuilder>> chainCustomizers, List<ClassLoaderEventListener> classLoadListeners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartupActionImplcreateInitialRuntimeApplication()AugmentResultcreateProductionApplication()voidperformCustomBuild(String resultHandler, Object context, String... finalOutputs)StartupActionImplreloadExistingApplication(boolean hasStartedSuccessfully, Set<String> changedResources, ClassChangeInformation classChangeInformation)BuildResultrunCustomAction(Consumer<BuildChainBuilder> chainBuild, Consumer<BuildExecutionBuilder> executionBuild)Runs a custom augmentation action, such as generating config.
-
-
-
Constructor Detail
-
AugmentActionImpl
public AugmentActionImpl(CuratedApplication curatedApplication)
-
AugmentActionImpl
@Deprecated public AugmentActionImpl(CuratedApplication curatedApplication, List<Consumer<BuildChainBuilder>> chainCustomizers)
Deprecated.Leaving this here for backwards compatibility, even though this is only internal.
-
AugmentActionImpl
public AugmentActionImpl(CuratedApplication curatedApplication, List<Consumer<BuildChainBuilder>> chainCustomizers, List<ClassLoaderEventListener> classLoadListeners)
-
-
Method Detail
-
performCustomBuild
public void performCustomBuild(String resultHandler, Object context, String... finalOutputs)
- Specified by:
performCustomBuildin interfaceAugmentAction
-
createProductionApplication
public AugmentResult createProductionApplication()
- Specified by:
createProductionApplicationin interfaceAugmentAction
-
createInitialRuntimeApplication
public StartupActionImpl createInitialRuntimeApplication()
- Specified by:
createInitialRuntimeApplicationin interfaceAugmentAction
-
reloadExistingApplication
public StartupActionImpl reloadExistingApplication(boolean hasStartedSuccessfully, Set<String> changedResources, ClassChangeInformation classChangeInformation)
- Specified by:
reloadExistingApplicationin interfaceAugmentAction
-
runCustomAction
public BuildResult runCustomAction(Consumer<BuildChainBuilder> chainBuild, Consumer<BuildExecutionBuilder> executionBuild)
Runs a custom augmentation action, such as generating config.- Parameters:
chainBuild- A consumer that customises the build to select the output targetsexecutionBuild- A consumer that can see the initial build execution- Returns:
- The build result
-
-