Class DirectoryCheckResults
java.lang.Object
net.adoptopenjdk.icedteaweb.validator.DirectoryCheckResults
This class is holding results of directory validation.
Various errors like can not read, write create dir can appear
For summaries of results are here getPasses, getFailures methods
Individual results can be read from results field, or converted to string
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDirectoryCheckResults(List<DirectoryCheckResult> results) Wraps results so we can make some statistics or convert to message -
Method Summary
Modifier and TypeMethodDescriptionintThe result have one result per line, separated by \n as is inherited from result.getMessage() method.intprivate static StringresultsToString(List<DirectoryCheckResult> results) toString()using getMessage
-
Field Details
-
results
-
-
Constructor Details
-
DirectoryCheckResults
Wraps results so we can make some statistics or convert to message- Parameters:
results- results to be checked
-
-
Method Details
-
getPasses
public int getPasses()- Returns:
- sum of passed checks, 0-3 per result
-
getFailures
public int getFailures()- Returns:
- sum of failed checks, 0-3 per results
-
getMessage
The result have one result per line, separated by \n as is inherited from result.getMessage() method.- Returns:
- all results connected.
-
toString
-
resultsToString
-