Package io.quarkus.deployment
Class ExtensionLoader
java.lang.Object
io.quarkus.deployment.ExtensionLoader
Utility class to load build steps, runtime recorders, and configuration roots from a given extension class.
-
Method Summary
Modifier and TypeMethodDescriptiongetMethods(Class<?> clazz) static Consumer<io.quarkus.builder.BuildChainBuilder> loadStepsFrom(ClassLoader classLoader, Properties buildSystemProps, Properties runtimeProperties, io.quarkus.bootstrap.model.ApplicationModel appModel, io.quarkus.runtime.LaunchMode launchMode, io.quarkus.dev.spi.DevModeType devModeType) Load all the build steps from the given class loader.(package private) static IllegalArgumentExceptionreportError(AnnotatedElement e, String msg)
-
Method Details
-
loadStepsFrom
public static Consumer<io.quarkus.builder.BuildChainBuilder> loadStepsFrom(ClassLoader classLoader, Properties buildSystemProps, Properties runtimeProperties, io.quarkus.bootstrap.model.ApplicationModel appModel, io.quarkus.runtime.LaunchMode launchMode, io.quarkus.dev.spi.DevModeType devModeType) throws IOException, ClassNotFoundException Load all the build steps from the given class loader.- Parameters:
classLoader- the class loaderbuildSystemProps- the build system properties to uselaunchMode- launch mode- Returns:
- a consumer which adds the steps to the given chain builder
- Throws:
IOException- if the class loader could not load a resourceClassNotFoundException- if a build step class is not found
-
getMethods
-
reportError
-