Class PreviewModeAnalysisStrategy

java.lang.Object
hudson.model.AbstractDescribableImpl<PreviewModeAnalysisStrategy>
org.jenkinsci.plugins.sonargerrit.sonar.preview_mode_analysis.PreviewModeAnalysisStrategy
All Implemented Interfaces:
Describable<PreviewModeAnalysisStrategy>, AnalysisStrategy

public class PreviewModeAnalysisStrategy extends AbstractDescribableImpl<PreviewModeAnalysisStrategy> implements AnalysisStrategy
Author:
RĂ©da Housni Alaoui
  • Constructor Details

    • PreviewModeAnalysisStrategy

      @DataBoundConstructor public PreviewModeAnalysisStrategy()
  • Method Details

    • getSonarQubeInstallationName

      public String getSonarQubeInstallationName()
    • getSonarQubeInstallation

      public Optional<hudson.plugins.sonar.SonarInstallation> getSonarQubeInstallation()
    • setSonarQubeInstallationName

      @DataBoundSetter public void setSonarQubeInstallationName(String sonarQubeInstallationName)
    • getBaseConfig

      public SubJobConfig getBaseConfig()
    • setBaseConfig

      @DataBoundSetter public void setBaseConfig(SubJobConfig baseConfig)
    • getSubJobConfigs

      public Collection<SubJobConfig> getSubJobConfigs()
    • getAllSubJobConfigs

      public Collection<SubJobConfig> getAllSubJobConfigs()
    • isType

      public boolean isType(String type)
    • setType

      @DataBoundSetter public void setType(String type)
    • getType

      public String getType()
    • isMultiConfigMode

      public boolean isMultiConfigMode()
    • isAutoMatch

      public boolean isAutoMatch()
    • setAutoMatch

      @DataBoundSetter public void setAutoMatch(boolean autoMatch)
    • setSubJobConfigs

      @DataBoundSetter public void setSubJobConfigs(Collection<SubJobConfig> subJobConfigs)
    • isPathCorrectionNeeded

      public boolean isPathCorrectionNeeded()
    • analyse

      public InspectionReport analyse(Run<?,?> run, TaskListener listener, Revision revision, FilePath workspace) throws IOException, InterruptedException
      Specified by:
      analyse in interface AnalysisStrategy
      Throws:
      IOException
      InterruptedException