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 class
AugmentActionImpl.BuildTask
A 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 StartupActionImpl
createInitialRuntimeApplication()
AugmentResult
createProductionApplication()
void
performCustomBuild(String resultHandler, Object context, String... finalOutputs)
StartupActionImpl
reloadExistingApplication(boolean hasStartedSuccessfully, Set<String> changedResources, ClassChangeInformation classChangeInformation)
BuildResult
runCustomAction(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:
performCustomBuild
in interfaceAugmentAction
-
createProductionApplication
public AugmentResult createProductionApplication()
- Specified by:
createProductionApplication
in interfaceAugmentAction
-
createInitialRuntimeApplication
public StartupActionImpl createInitialRuntimeApplication()
- Specified by:
createInitialRuntimeApplication
in interfaceAugmentAction
-
reloadExistingApplication
public StartupActionImpl reloadExistingApplication(boolean hasStartedSuccessfully, Set<String> changedResources, ClassChangeInformation classChangeInformation)
- Specified by:
reloadExistingApplication
in 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
-
-