public final class ExtensionLoader extends Object
| Modifier and Type | Method and Description |
|---|---|
static Consumer<BuildChainBuilder> |
loadStepsFrom(Class<?> clazz)
Load all the build steps from the given class.
|
static Consumer<BuildChainBuilder> |
loadStepsFrom(ClassLoader classLoader)
Load all the build steps from the given class loader.
|
public static Consumer<BuildChainBuilder> loadStepsFrom(ClassLoader classLoader) throws IOException, ClassNotFoundException
classLoader - the class loaderIOException - if the class loader could not load a resourceClassNotFoundException - if a build step class is not foundpublic static Consumer<BuildChainBuilder> loadStepsFrom(Class<?> clazz)
clazz - the class to load from (must not be null)Copyright © 2019 JBoss by Red Hat. All rights reserved.