public final class BuildChain extends Object
| Constructor and Description |
|---|
BuildChain(int initialSingleCount,
int initialMultiCount,
Set<StepInfo> startSteps,
Set<ItemId> consumed,
BuildChainBuilder builder,
int endStepCount) |
| Modifier and Type | Method and Description |
|---|---|
static BuildChainBuilder |
builder()
Get a new build chain builder.
|
BuildExecutionBuilder |
createExecutionBuilder(String name)
Create a new execution builder for this build chain.
|
(package private) static BuildChain |
fromProviders(ClassLoader classLoader)
Construct a build chain with the given name from providers found in the given class loader.
|
(package private) static BuildChain |
fromProviders(Collection<BuildProvider> providers)
Construct a deployment chain with the given name from the given providers.
|
(package private) Set<ItemId> |
getConsumed() |
(package private) int |
getEndStepCount() |
(package private) Set<ItemId> |
getFinalIds() |
(package private) int |
getInitialMultiCount() |
(package private) int |
getInitialSingleCount() |
(package private) List<StepInfo> |
getStartSteps() |
(package private) boolean |
hasInitial(ItemId itemId) |
BuildChain(int initialSingleCount,
int initialMultiCount,
Set<StepInfo> startSteps,
Set<ItemId> consumed,
BuildChainBuilder builder,
int endStepCount)
public BuildExecutionBuilder createExecutionBuilder(String name)
name - the name of the build target for diagnostic purposes (must not be null)null)public static BuildChainBuilder builder()
null)static BuildChain fromProviders(ClassLoader classLoader) throws ChainBuildException
classLoader - the class loader to usenull)ChainBuildException - if building the chain failedstatic BuildChain fromProviders(Collection<BuildProvider> providers) throws ChainBuildException
providers - the providers to use (must not be null)null)ChainBuildException - if building the chain failedboolean hasInitial(ItemId itemId)
int getInitialSingleCount()
int getInitialMultiCount()
int getEndStepCount()
Copyright © 2020 JBoss by Red Hat. All rights reserved.