Package io.github.cdklabs.projen.gitlab
Class Reports.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.gitlab.Reports.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
cobertura
@Stability(Deprecated) @Deprecated public Reports.Builder cobertura(List<String> cobertura)
Deprecated.per {@link https://docs.gitlab.com/ee/update/deprecations.html#artifactsreportscobertura-keyword} usecoverageReportinsteadSets the value ofReports.getCobertura()- Parameters:
cobertura- Path for file(s) that should be parsed as Cobertura XML coverage report.- Returns:
this
-
codequality
@Stability(Experimental) public Reports.Builder codequality(List<String> codequality)
Sets the value ofReports.getCodequality()- Parameters:
codequality- Path to file or list of files with code quality report(s) (such as Code Climate).- Returns:
this
-
containerScanning
@Stability(Experimental) public Reports.Builder containerScanning(List<String> containerScanning)
Sets the value ofReports.getContainerScanning()- Parameters:
containerScanning- Path to file or list of files with Container scanning vulnerabilities report(s).- Returns:
this
-
coverageReport
@Stability(Experimental) public Reports.Builder coverageReport(CoverageReport coverageReport)
Sets the value ofReports.getCoverageReport()- Parameters:
coverageReport- Code coverage report information.- Returns:
this
-
dast
@Stability(Experimental) public Reports.Builder dast(List<String> dast)
Sets the value ofReports.getDast()- Parameters:
dast- Path to file or list of files with DAST vulnerabilities report(s).- Returns:
this
-
dependencyScanning
@Stability(Experimental) public Reports.Builder dependencyScanning(List<String> dependencyScanning)
Sets the value ofReports.getDependencyScanning()- Parameters:
dependencyScanning- Path to file or list of files with Dependency scanning vulnerabilities report(s).- Returns:
this
-
dotenv
@Stability(Experimental) public Reports.Builder dotenv(List<String> dotenv)
Sets the value ofReports.getDotenv()- Parameters:
dotenv- Path to file or list of files containing runtime-created variables for this job.- Returns:
this
-
junit
@Stability(Experimental) public Reports.Builder junit(List<String> junit)
Sets the value ofReports.getJunit()- Parameters:
junit- Path for file(s) that should be parsed as JUnit XML result.- Returns:
this
-
licenseManagement
@Stability(Experimental) public Reports.Builder licenseManagement(List<String> licenseManagement)
Sets the value ofReports.getLicenseManagement()- Parameters:
licenseManagement- Deprecated in 12.8: Path to file or list of files with license report(s).- Returns:
this
-
licenseScanning
@Stability(Experimental) public Reports.Builder licenseScanning(List<String> licenseScanning)
Sets the value ofReports.getLicenseScanning()- Parameters:
licenseScanning- Path to file or list of files with license report(s).- Returns:
this
-
lsif
@Stability(Experimental) public Reports.Builder lsif(List<String> lsif)
Sets the value ofReports.getLsif()- Parameters:
lsif- Path to file or list of files containing code intelligence (Language Server Index Format).- Returns:
this
-
metrics
@Stability(Experimental) public Reports.Builder metrics(List<String> metrics)
Sets the value ofReports.getMetrics()- Parameters:
metrics- Path to file or list of files with custom metrics report(s).- Returns:
this
-
performance
@Stability(Experimental) public Reports.Builder performance(List<String> performance)
Sets the value ofReports.getPerformance()- Parameters:
performance- Path to file or list of files with performance metrics report(s).- Returns:
this
-
requirements
@Stability(Experimental) public Reports.Builder requirements(List<String> requirements)
Sets the value ofReports.getRequirements()- Parameters:
requirements- Path to file or list of files with requirements report(s).- Returns:
this
-
sast
@Stability(Experimental) public Reports.Builder sast(List<String> sast)
Sets the value ofReports.getSast()- Parameters:
sast- Path to file or list of files with SAST vulnerabilities report(s).- Returns:
this
-
secretDetection
@Stability(Experimental) public Reports.Builder secretDetection(List<String> secretDetection)
Sets the value ofReports.getSecretDetection()- Parameters:
secretDetection- Path to file or list of files with secret detection report(s).- Returns:
this
-
terraform
@Stability(Experimental) public Reports.Builder terraform(List<String> terraform)
Sets the value ofReports.getTerraform()- Parameters:
terraform- Path to file or list of files with terraform plan(s).- Returns:
this
-
build
@Stability(Experimental) public Reports build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Reports>- Returns:
- a new instance of
Reports - Throws:
NullPointerException- if any required attribute was not provided
-
-