Interface EditorError

    • Method Detail

      • getAbsolutePath

        java.lang.String getAbsolutePath()
        Returns the absolute path location of the error, relative to the object that was passed into the EditorDriver.
        Returns:
        the absolute path as a String
      • getEditor

        Editor<?> getEditor()
        Returns the Editor that holds the invalid value.
        Returns:
        the Editor instance
      • getMessage

        java.lang.String getMessage()
        Returns a message associated with the error.
        Returns:
        the error message as a String
      • getPath

        java.lang.String getPath()
        Returns the path of the error relative to the Editor receiving the error. If the error concerns the Editor that is receiving the error, this method will return an empty string.
        Returns:
        the error path as a String
      • getValue

        java.lang.Object getValue()
        Returns the value that triggered the error.
        Returns:
        the error value Object
      • isConsumed

        boolean isConsumed()
        Indicates whether or not the EditorError will be propagated to the enclosing Editor.
        Returns:
        true if the error will not be propagated
        See Also:
        setConsumed(boolean)
      • setConsumed

        void setConsumed​(boolean consumed)
        Indicates whether or not the EditorError will be propagated to the enclosing Editor.
        Parameters:
        consumed - true if the error will not be propagated
        See Also:
        isConsumed()