// Path: sonar-plugin-server/src/main/java/jetbrains/buildserver/sonarplugin/manager/SQSInfo.java
// public interface SQSInfo {
//     @Nullable
//     String getUrl();
// 
//     boolean isTokenLoginUsed();
// 
//     @Nullable
//     String getToken();
// 
//      @Nullable
//     String getLogin();
// 
//      @Nullable
//     String getPassword();
// 
//     @Nullable
//     String getJDBCUrl();
// 
//     @Nullable
//     String getJDBCUsername();
// 
//     @Nullable
//     String getJDBCPassword();
// 
//     @NotNull
//     String getId();
// 
//     @Nullable
//     String getName();
// 
//     @Nullable
//     String getDescription();
// 
//     @NotNull
//     Map<String, String> getParameters();
// }


import jetbrains.buildServer.serverSide.settings.ProjectSettings;
import jetbrains.buildserver.sonarplugin.manager.SQSInfo;
import org.jdom.Element;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.*;
/*
 * Copyright 2000-2022 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package jetbrains.buildserver.sonarplugin.manager.projectsettings;



/**
 * Created by Andrey Titov on 7/9/14.
 *
 * Class encapsulating several SQSInfos belonging to one SProject
 */
public class SQSProjectSettings implements ProjectSettings {
    public static final String SONARQUBE_SERVER = "sonarqube-server";

    @Nullable
    private Map<String, XMLBasedSQSInfo> mySQSInfos = null;

    @Nullable
// Path: sonar-plugin-server/src/main/java/jetbrains/buildserver/sonarplugin/manager/SQSInfo.java
// public interface SQSInfo {
//     @Nullable
//     String getUrl();
// 
//     boolean isTokenLoginUsed();
// 
//     @Nullable
//     String getToken();
// 
//      @Nullable
//     String getLogin();
// 
//      @Nullable
//     String getPassword();
// 
//     @Nullable
//     String getJDBCUrl();
// 
//     @Nullable
//     String getJDBCUsername();
// 
//     @Nullable
//     String getJDBCPassword();
// 
//     @NotNull
//     String getId();
// 
//     @Nullable
//     String getName();
// 
//     @Nullable
//     String getDescription();
// 
//     @NotNull
//     Map<String, String> getParameters();
// }


// Path: sonar-plugin-server/src/main/java/jetbrains/buildserver/sonarplugin/manager/projectsettings/SQSProjectSettings.java
import jetbrains.buildServer.serverSide.settings.ProjectSettings;
import jetbrains.buildserver.sonarplugin.manager.SQSInfo;
import org.jdom.Element;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.*;

/*
 * Copyright 2000-2022 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package jetbrains.buildserver.sonarplugin.manager.projectsettings;



/**
 * Created by Andrey Titov on 7/9/14.
 *
 * Class encapsulating several SQSInfos belonging to one SProject
 */
public class SQSProjectSettings implements ProjectSettings {
    public static final String SONARQUBE_SERVER = "sonarqube-server";

    @Nullable
    private Map<String, XMLBasedSQSInfo> mySQSInfos = null;

    @Nullable
    public SQSInfo getInfo(@NotNull final String serverId) {