// Path: src/main/java/nu/studer/teamcity/buildscan/BuildScanDisplayArbiter.java
// public interface BuildScanDisplayArbiter {
// 
//     boolean showBuildScanInfo(@NotNull SBuild build);
// 
// }
// 
// Path: src/main/java/nu/studer/teamcity/buildscan/BuildScanLookup.java
// public interface BuildScanLookup {
// 
//     @NotNull
//     BuildScanReferences getBuildScansForBuild(@NotNull SBuild build);
// 
// }


import jetbrains.buildServer.serverSide.SBuild;
import jetbrains.buildServer.serverSide.SBuildType;
import nu.studer.teamcity.buildscan.BuildScanDisplayArbiter;
import nu.studer.teamcity.buildscan.BuildScanLookup;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
import java.util.List;
package nu.studer.teamcity.buildscan.internal;



public final class DefaultBuildScanDisplayArbiter implements BuildScanDisplayArbiter {

    static final String GRADLE_RUNNER = "gradle-runner";
    static final String MAVEN_RUNNER = "Maven2";
    static final String SIMPLE_RUNNER = "simpleRunner";

    private static final List<String> BUILD_SCAN_SUPPORTING_RUNNER_TYPES = Arrays.asList(GRADLE_RUNNER, MAVEN_RUNNER, SIMPLE_RUNNER);

// Path: src/main/java/nu/studer/teamcity/buildscan/BuildScanDisplayArbiter.java
// public interface BuildScanDisplayArbiter {
// 
//     boolean showBuildScanInfo(@NotNull SBuild build);
// 
// }
// 
// Path: src/main/java/nu/studer/teamcity/buildscan/BuildScanLookup.java
// public interface BuildScanLookup {
// 
//     @NotNull
//     BuildScanReferences getBuildScansForBuild(@NotNull SBuild build);
// 
// }


// Path: src/main/java/nu/studer/teamcity/buildscan/internal/DefaultBuildScanDisplayArbiter.java
import jetbrains.buildServer.serverSide.SBuild;
import jetbrains.buildServer.serverSide.SBuildType;
import nu.studer.teamcity.buildscan.BuildScanDisplayArbiter;
import nu.studer.teamcity.buildscan.BuildScanLookup;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
import java.util.List;

package nu.studer.teamcity.buildscan.internal;



public final class DefaultBuildScanDisplayArbiter implements BuildScanDisplayArbiter {

    static final String GRADLE_RUNNER = "gradle-runner";
    static final String MAVEN_RUNNER = "Maven2";
    static final String SIMPLE_RUNNER = "simpleRunner";

    private static final List<String> BUILD_SCAN_SUPPORTING_RUNNER_TYPES = Arrays.asList(GRADLE_RUNNER, MAVEN_RUNNER, SIMPLE_RUNNER);

    private final BuildScanLookup buildScanLookup;