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
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanalyse
(Run<?, ?> run, TaskListener listener, Revision revision, FilePath workspace) Optional<hudson.plugins.sonar.SonarInstallation>
getType()
boolean
boolean
boolean
boolean
void
setAutoMatch
(boolean autoMatch) void
setBaseConfig
(SubJobConfig baseConfig) void
setSonarQubeInstallationName
(String sonarQubeInstallationName) void
setSubJobConfigs
(Collection<SubJobConfig> subJobConfigs) void
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
PreviewModeAnalysisStrategy
@DataBoundConstructor public PreviewModeAnalysisStrategy()
-
-
Method Details
-
getSonarQubeInstallationName
-
getSonarQubeInstallation
-
setSonarQubeInstallationName
-
getBaseConfig
-
setBaseConfig
-
getSubJobConfigs
-
getAllSubJobConfigs
-
isType
-
setType
-
getType
-
isMultiConfigMode
public boolean isMultiConfigMode() -
isAutoMatch
public boolean isAutoMatch() -
setAutoMatch
@DataBoundSetter public void setAutoMatch(boolean autoMatch) -
setSubJobConfigs
-
isPathCorrectionNeeded
public boolean isPathCorrectionNeeded() -
analyse
public InspectionReport analyse(Run<?, ?> run, TaskListener listener, Revision revision, FilePath workspace) throws IOException, InterruptedException- Specified by:
analyse
in interfaceAnalysisStrategy
- Throws:
IOException
InterruptedException
-