Enum DocumentQualityAssessment
- java.lang.Object
-
- java.lang.Enum<DocumentQualityAssessment>
-
- io.scanbot.sdk.documentqualityanalyzer.DocumentQualityAssessment
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DocumentQualityAssessment>
public enum DocumentQualityAssessment extends java.lang.Enum<DocumentQualityAssessment>
Result of document quality analysis.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTABLEDocument meets the quality requirements of the given quality analysis model.UNACCEPTABLEDocument does not meet the quality requirements of the given quality analysis model.UNCERTAINDocument quality is uncertain.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentQualityAssessmentvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DocumentQualityAssessment[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPTABLE
public static final DocumentQualityAssessment ACCEPTABLE
Document meets the quality requirements of the given quality analysis model.
-
UNACCEPTABLE
public static final DocumentQualityAssessment UNACCEPTABLE
Document does not meet the quality requirements of the given quality analysis model.
-
UNCERTAIN
public static final DocumentQualityAssessment UNCERTAIN
Document quality is uncertain. See `qualityAcceptableUncertainThreshold` and `qualityUnacceptableUncertainThreshold` in `DocumentQualityAnalyzerConfiguration` for more details.
-
-
Method Detail
-
values
public static DocumentQualityAssessment[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DocumentQualityAssessment c : DocumentQualityAssessment.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentQualityAssessment valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-