build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildTasksInitializer.java
public BuildSetTask createBuildSetTask(
            BuildConfigurationSet buildConfigurationSet,
            User user,
            BuildOptions buildOptions,
            Supplier<Integer> buildTaskIdProvider,
            Set<BuildTask> submittedBuildTasks) throws CoreException {

        return createBuildSetTask(buildConfigurationSet, Collections.emptyMap(), user, buildOptions,
                buildTaskIdProvider, submittedBuildTasks);
    }
public BuildSetTask createBuildSetTask(
            BuildConfigurationSet buildConfigurationSet,
            User user,
            BuildOptions buildOptions,
            Supplier<Integer> buildTaskIdProvider,
            Set<BuildTask> submittedBuildTasks) throws CoreException {

        return createBuildSetTask(buildConfigurationSet, Collections.emptyMap(), user, buildOptions,
                buildTaskIdProvider, submittedBuildTasks);
    }
Create a BuildSetTask of latest revisions of BuildConfigurations contained in the BuildConfigurationSet

@param buildConfigurationSet BuildConfigurationSet to be built
@param user A user, who triggered the build
@param buildOptions Build options
@param buildTaskIdProvider Provider to get build task ID
@param submittedBuildTasks Already submitted build tasks
@return Prepared BuildSetTask
@throws CoreException Thrown if the BuildConfigSetRecord cannot be stored