Package org.jenkinsci.plugins.codesonar
Class CodeSonarJobDslContext
- java.lang.Object
-
- org.jenkinsci.plugins.codesonar.CodeSonarJobDslContext
-
- All Implemented Interfaces:
javaposse.jobdsl.dsl.Context
public class CodeSonarJobDslContext extends Object implements javaposse.jobdsl.dsl.Context
Provides for optional parameters in a CodeSonar plugin job-dsl declaration implemented by CodeSonarJobDslExtension.
-
-
Constructor Summary
Constructors Constructor Description CodeSonarJobDslContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
absoluteWarningCount(int rank, int count, boolean fail)
void
comparisonAnalysis(String value)
void
cyclomaticComplexity(int max, boolean fail)
String
getComparisonAnalysis()
List<Condition>
getConditions()
String
getNewWarningsFilter()
String
getProjectFile()
int
getSocketTimeoutMS()
String
getSslCertificateCredentialId()
void
newWarningCountIncrease(float percentage, boolean fail)
void
newWarningsFilter(String value)
void
overallWarningCountIncrease(float percentage, boolean fail)
void
projectFile(String value)
void
rankedWarningCountIncrease(int rank, float percentage, boolean fail)
void
redAlert(int max, boolean fail)
void
socketTimeoutMS(int value)
void
sslCertificateCredentialId(String value)
void
yellowAlert(int max, boolean fail)
-
-
-
Method Detail
-
socketTimeoutMS
public void socketTimeoutMS(int value)
-
sslCertificateCredentialId
public void sslCertificateCredentialId(String value)
-
projectFile
public void projectFile(String value)
-
newWarningsFilter
public void newWarningsFilter(String value)
-
comparisonAnalysis
public void comparisonAnalysis(String value)
-
cyclomaticComplexity
public void cyclomaticComplexity(int max, boolean fail)
-
redAlert
public void redAlert(int max, boolean fail)
-
yellowAlert
public void yellowAlert(int max, boolean fail)
-
newWarningCountIncrease
public void newWarningCountIncrease(float percentage, boolean fail)
-
overallWarningCountIncrease
public void overallWarningCountIncrease(float percentage, boolean fail)
-
rankedWarningCountIncrease
public void rankedWarningCountIncrease(int rank, float percentage, boolean fail)
-
absoluteWarningCount
public void absoluteWarningCount(int rank, int count, boolean fail)
-
getSocketTimeoutMS
public int getSocketTimeoutMS()
-
getSslCertificateCredentialId
public String getSslCertificateCredentialId()
-
getProjectFile
public String getProjectFile()
-
getNewWarningsFilter
public String getNewWarningsFilter()
-
getComparisonAnalysis
public String getComparisonAnalysis()
-
-