public class ValidationResult extends Object
Expression| Modifier and Type | Field and Description |
|---|---|
static ValidationResult |
SUCCESS
A static class representing a successful validation result
|
| Constructor and Description |
|---|
ValidationResult(boolean valid,
List<String> errors)
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getErrors()
Get the list of errors describing the issues while validating the expression
|
boolean |
isValid()
Check if an expression has been validated successfully
|
public static ValidationResult SUCCESS
Copyright © 2014. All rights reserved.