forked from utPLSQL/utPLSQL-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReporterConfig.java
More file actions
35 lines (27 loc) · 869 Bytes
/
ReporterConfig.java
File metadata and controls
35 lines (27 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package org.utplsql.cli.config;
import org.utplsql.api.reporter.CoreReporters;
import java.beans.ConstructorProperties;
public class ReporterConfig {
private final String name;
private final String output;
private boolean forceToScreen = false;
@ConstructorProperties({"name", "output", "forceToScreen"})
public ReporterConfig(String name, String output, Boolean forceToScreen) {
if ( name != null ) {
this.name = name;
} else {
this.name = CoreReporters.UT_DOCUMENTATION_REPORTER.name();
}
this.output = output;
if (forceToScreen != null) this.forceToScreen = forceToScreen;
}
public String getName() {
return name;
}
public String getOutput() {
return output;
}
public boolean isForceToScreen() {
return forceToScreen;
}
}