public interface EditorError
EditorDelegate.recordError(java.lang.String, java.lang.Object, java.lang.Object)
.MockEditorError
Modifier and Type | Method and Description |
---|---|
String |
getAbsolutePath()
Returns the absolute path location of the error, relative to the object
that was passed into the EditorDriver.
|
Editor<?> |
getEditor()
Returns the Editor that holds the invalid value.
|
String |
getMessage()
Returns a message associated with the error.
|
String |
getPath()
Returns the path of the error relative to the Editor receiving the error.
|
Object |
getUserData()
Returns the object passed into
EditorDelegate.recordError(java.lang.String, java.lang.Object, java.lang.Object) . |
Object |
getValue()
Returns the value that triggered the error.
|
boolean |
isConsumed()
Indicates whether or not the EditorError will be propagated to the
enclosing Editor.
|
void |
setConsumed(boolean consumed)
Indicates whether or not the EditorError will be propagated to the
enclosing Editor.
|
String getAbsolutePath()
Editor<?> getEditor()
String getMessage()
String getPath()
Object getUserData()
EditorDelegate.recordError(java.lang.String, java.lang.Object, java.lang.Object)
.Object getValue()
boolean isConsumed()
true
if the error will not be propagatedsetConsumed(boolean)
void setConsumed(boolean consumed)
consumed
- true
if the error will not be propagatedisConsumed()
Copyright © 2018. All rights reserved.