public class ValidationReport
extends java.lang.Object
AlgorithmPlugin
.
ok
describes whether the process has succeeded or failed. If he has failed then you can
use message
to get a detailed description why the plugin is not valid.Modifier and Type | Field and Description |
---|---|
int |
errorCount
the number of errors that have occurred
|
java.lang.String |
message
the description of why the plugin has failed the validation process
|
boolean |
ok
flag that indicates if the process succeeded (
true ) or failed (false ) |
int |
warningCount
the number of warnings that have occurred
|
Constructor and Description |
---|
ValidationReport(boolean ok,
java.lang.String message,
int errorCount,
int warningCount)
Creates a new report.
|
public final boolean ok
true
) or failed (false
)public final java.lang.String message
public final int errorCount
public final int warningCount
public ValidationReport(boolean ok, java.lang.String message, int errorCount, int warningCount) throws java.lang.IllegalArgumentException
ok
- flag that indicates if the process succeeded (true
) or failed (false
)message
- the description of why the plugin has failed the validation processerrorCount
- the number of errors that have occurredwarningCount
- the number of warnings that have occurredjava.lang.IllegalArgumentException
-