spi/src/main/java/org/jboss/pnc/spi/coordinator/BuildSetTask.java
public BuildTask getBuildTask(BuildConfigurationAudited buildConfigurationAudited) {
        return buildTasks.stream().filter((bt) -> bt.getBuildConfigurationAudited().equals(buildConfigurationAudited)).findFirst().orElse(null);
    }
public BuildTask getBuildTask(BuildConfigurationAudited buildConfigurationAudited) {
        return buildTasks.stream().filter((bt) -> bt.getBuildConfigurationAudited().equals(buildConfigurationAudited)).findFirst().orElse(null);
    }
public BuildTask getBuildTask ( BuildConfigurationAudited buildConfigurationAudited ) { return buildTasks . stream ( ) . filter ( ( bt ) - > bt . getBuildConfigurationAudited ( ) . equals ( buildConfigurationAudited ) ) . findFirst ( ) . orElse ( null ) ; }
Get the build task which contains the given audited build configuration

@param buildConfigurationAudited A BuildConfigurationAudited entity
@return The build task with the matching configuration, or null if there is none
Get the build task which contains the given audited build configuration