
dev.aherscu.qa.jgiven.reporter.QaJGivenReportConfig Maven / Gradle / Ivy
// Generated by delombok at Thu Jan 11 10:24:50 UTC 2024
/*
* Copyright 2022 Adrian Herscu
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dev.aherscu.qa.jgiven.reporter;
import java.io.*;
import java.util.*;
import com.tngtech.jgiven.report.*;
import com.tngtech.jgiven.report.config.*;
import lombok.*;
public class QaJGivenReportConfig extends AbstractReportConfig {
public QaJGivenReportConfig(final File sourceDir, final File targetDir) {
setSourceDir(sourceDir);
setTargetDir(targetDir);
}
@Override
public void useConfigMap(final Map configMap) {
// none
}
@Override
public void additionalConfigOptions(
final List configOptions) {
// none
}
@java.lang.SuppressWarnings("all")
public static class QaJGivenReportConfigBuilder {
@java.lang.SuppressWarnings("all")
private File sourceDir;
@java.lang.SuppressWarnings("all")
private File targetDir;
@java.lang.SuppressWarnings("all")
QaJGivenReportConfigBuilder() {
}
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public QaJGivenReportConfig.QaJGivenReportConfigBuilder sourceDir(
final File sourceDir) {
this.sourceDir = sourceDir;
return this;
}
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public QaJGivenReportConfig.QaJGivenReportConfigBuilder targetDir(
final File targetDir) {
this.targetDir = targetDir;
return this;
}
@java.lang.SuppressWarnings("all")
public QaJGivenReportConfig build() {
return new QaJGivenReportConfig(this.sourceDir, this.targetDir);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "QaJGivenReportConfig.QaJGivenReportConfigBuilder(sourceDir="
+ this.sourceDir + ", targetDir=" + this.targetDir + ")";
}
}
@java.lang.SuppressWarnings("all")
public static QaJGivenReportConfig.QaJGivenReportConfigBuilder builder() {
return new QaJGivenReportConfig.QaJGivenReportConfigBuilder();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy