Class 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 Detail

      • CodeSonarJobDslContext

        public CodeSonarJobDslContext()
    • 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()