Package net.objecthunter.exp4j
Class ValidationResult
java.lang.Object
net.objecthunter.exp4j.ValidationResult
- All Implemented Interfaces:
Serializable
Contains the validation result for a given
Expression
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ValidationResult
A static class representing a successful validation result -
Method Summary
-
Field Details
-
SUCCESS
A static class representing a successful validation result
-
-
Method Details
-
isValid
public boolean isValid()Check if an expression has been validated successfully- Returns:
- true if the validation was successful, false otherwise
-
getErrors
Get the list of errors describing the issues while validating the expression- Returns:
- The List of errors
-