// Path: sonar-plugin-server/src/main/java/jetbrains/buildserver/sonarplugin/PropertiesProcessorProvider.java
// public interface PropertiesProcessorProvider {
//     public PropertiesProcessor getRunnerPropertiesProcessor();
// }
// 
// Path: sonar-plugin-common/src/main/java/jetbrains/buildserver/sonarplugin/msbuild/tool/SQMSConstants.java
// @NotNull public static final String SONAR_QUBE_MSBUILD_RUN_TYPE_FINISH_ID = "sonar-qube-msbuild-finish";


import jetbrains.buildServer.serverSide.PropertiesProcessor;
import jetbrains.buildServer.serverSide.RunType;
import jetbrains.buildServer.serverSide.RunTypeRegistry;
import jetbrains.buildServer.web.openapi.PluginDescriptor;
import jetbrains.buildserver.sonarplugin.PropertiesProcessorProvider;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.Collections;
import java.util.Map;
import static jetbrains.buildserver.sonarplugin.msbuild.tool.SQMSConstants.SONAR_QUBE_MSBUILD_RUN_TYPE_FINISH_ID;
/*
 * 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.msbuild;




public class SQMSFinishRunType extends RunType {
    @NotNull
    private static final String DISPLAY_NAME = "SonarScanner for MSBuild: finish analysis";
    @NotNull
    private static final String DESCRIPTION = "Finishes SonarQube analysis and sends data to the server selected in begin analysis stage";
    @NotNull
    private static final String EDIT_JSP = "msbuild/editFinishSQMSRunParams.jsp";
    @NotNull
    private static final String VIEW_JSP = "msbuild/viewFinishSQMSRunParams.jsp";

    @NotNull
// Path: sonar-plugin-server/src/main/java/jetbrains/buildserver/sonarplugin/PropertiesProcessorProvider.java
// public interface PropertiesProcessorProvider {
//     public PropertiesProcessor getRunnerPropertiesProcessor();
// }
// 
// Path: sonar-plugin-common/src/main/java/jetbrains/buildserver/sonarplugin/msbuild/tool/SQMSConstants.java
// @NotNull public static final String SONAR_QUBE_MSBUILD_RUN_TYPE_FINISH_ID = "sonar-qube-msbuild-finish";


// Path: sonar-plugin-server/src/main/java/jetbrains/buildserver/sonarplugin/msbuild/SQMSFinishRunType.java
import jetbrains.buildServer.serverSide.PropertiesProcessor;
import jetbrains.buildServer.serverSide.RunType;
import jetbrains.buildServer.serverSide.RunTypeRegistry;
import jetbrains.buildServer.web.openapi.PluginDescriptor;
import jetbrains.buildserver.sonarplugin.PropertiesProcessorProvider;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.Collections;
import java.util.Map;
import static jetbrains.buildserver.sonarplugin.msbuild.tool.SQMSConstants.SONAR_QUBE_MSBUILD_RUN_TYPE_FINISH_ID;

/*
 * 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.msbuild;




public class SQMSFinishRunType extends RunType {
    @NotNull
    private static final String DISPLAY_NAME = "SonarScanner for MSBuild: finish analysis";
    @NotNull
    private static final String DESCRIPTION = "Finishes SonarQube analysis and sends data to the server selected in begin analysis stage";
    @NotNull
    private static final String EDIT_JSP = "msbuild/editFinishSQMSRunParams.jsp";
    @NotNull
    private static final String VIEW_JSP = "msbuild/viewFinishSQMSRunParams.jsp";

    @NotNull
    private final PropertiesProcessorProvider myPropertiesProcessorProvider;