Class ValidationResult

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ValidationResult
    extends java.lang.Object
    implements java.io.Serializable
    Contains the validation result for a given Expression
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ValidationResult SUCCESS
      A static class representing a successful validation result
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getErrors()
      Get the list of errors describing the issues while validating the expression
      boolean isValid()
      Check if an expression has been validated successfully
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SUCCESS

        public static final ValidationResult SUCCESS
        A static class representing a successful validation result
    • Method Detail

      • isValid

        public boolean isValid()
        Check if an expression has been validated successfully
        Returns:
        true if the validation was successful, false otherwise
      • getErrors

        public java.util.List<java.lang.String> getErrors()
        Get the list of errors describing the issues while validating the expression
        Returns:
        The List of errors