Package io.quarkus.builder
Class BuildChain
java.lang.Object
io.quarkus.builder.BuildChain
A build chain.
- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionBuildChain(Set<StepInfo> startSteps, BuildChainBuilder builder, int endStepCount, Map<ItemId, int[]> producingOrdinals) -
Method Summary
Modifier and TypeMethodDescriptionstatic BuildChainBuilderbuilder()Get a new build chain builder.createExecutionBuilder(String name) Create a new execution builder for this build chain.(package private) static BuildChainfromProviders(ClassLoader classLoader) Construct a build chain with the given name from providers found in the given class loader.(package private) static BuildChainfromProviders(Collection<BuildProvider> providers) Construct a deployment chain with the given name from the given providers.(package private) ClassLoader(package private) int(package private) booleanhasInitial(ItemId itemId)
-
Constructor Details
-
BuildChain
BuildChain(Set<StepInfo> startSteps, BuildChainBuilder builder, int endStepCount, Map<ItemId, int[]> producingOrdinals)
-
-
Method Details
-
createExecutionBuilder
Create a new execution builder for this build chain.- Parameters:
name- the name of the build target for diagnostic purposes (must not benull)- Returns:
- the new build execution builder (not
null)
-
builder
Get a new build chain builder.- Returns:
- the build chain builder (not
null)
-
fromProviders
Construct a build chain with the given name from providers found in the given class loader.- Parameters:
classLoader- the class loader to use- Returns:
- the build chain (not
null) - Throws:
ChainBuildException- if building the chain failed
-
fromProviders
Construct a deployment chain with the given name from the given providers.- Parameters:
providers- the providers to use (must not benull)- Returns:
- the deployment chain (not
null) - Throws:
ChainBuildException- if building the chain failed
-
hasInitial
-
getStartSteps
-
getFinalIds
-
getClassLoader
ClassLoader getClassLoader() -
getEndStepCount
int getEndStepCount() -
getProducingOrdinals
Returns a map fromItemIdto an array of ordinals of theBuildSteps producing the givenItemId. The ordinals array is sorted in the ascending order.- Returns:
- the map
-