Class BuildChain

    • Method Detail

      • 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)
      • getInitialSingleCount

        int getInitialSingleCount()
      • getInitialMultiCount

        int getInitialMultiCount()
      • getEndStepCount

        int getEndStepCount()