blob: 85e63488a9a5f999821cd7dfa3dbcdfb9bffcca7 (
plain)
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
36
37
38
39
40
41
42
43
44
45
|
package org.gradle.frege;
import java.io.Serializable;
/**
* // TODO: Document this
*
* @author Galder Zamarreño
* @since // TODO
*/
public class FregeResult implements Serializable {
private final int bugCount;
private final int missingClassCount;
private final int errorCount;
private final Exception exception;
public FregeResult(int bugCount, int missingClassCount, int errorCount) {
this(bugCount, missingClassCount, errorCount, null);
}
public FregeResult(int bugCount, int missingClassCount, int errorCount, Exception exception) {
this.bugCount = bugCount;
this.missingClassCount = missingClassCount;
this.errorCount = errorCount;
this.exception = exception;
}
public int getBugCount() {
return bugCount;
}
public int getMissingClassCount() {
return missingClassCount;
}
public int getErrorCount() {
return errorCount;
}
public Exception getException() {
return exception;
}
}
|