Class BuildChain

java.lang.Object
io.quarkus.builder.BuildChain

public final class BuildChain extends Object
A build chain.
Author:
David M. Lloyd
  • Constructor Details

  • Method Details

    • createExecutionBuilder

      public BuildExecutionBuilder createExecutionBuilder(String name)
      Create a new execution builder for this build chain.
      Parameters:
      name - the name of the build target for diagnostic purposes (must not be null)
      Returns:
      the new build execution builder (not null)
    • builder

      public static BuildChainBuilder builder()
      Get a new build chain builder.
      Returns:
      the build chain builder (not null)
    • fromProviders

      static BuildChain fromProviders(ClassLoader classLoader) throws ChainBuildException
      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

      static BuildChain fromProviders(Collection<BuildProvider> providers) throws ChainBuildException
      Construct a deployment chain with the given name from the given providers.
      Parameters:
      providers - the providers to use (must not be null)
      Returns:
      the deployment chain (not null)
      Throws:
      ChainBuildException - if building the chain failed
    • hasInitial

      boolean hasInitial(ItemId itemId)
    • getStartSteps

      List<StepInfo> getStartSteps()
    • getFinalIds

      Set<ItemId> getFinalIds()
    • getClassLoader

      ClassLoader getClassLoader()
    • getEndStepCount

      int getEndStepCount()