public interface InfoTarget
| Modifier and Type | Method and Description |
|---|---|
String |
asString()
Returns a string representation of the target for messages.
|
IsErrorSetFT |
getInitError()
Returns any error that happened during initialization (and relate validation) of the target.
|
Object |
getTarget()
Returns the actual target.
|
default boolean |
isValid()
Returns the valid flag of the target.
|
Object getTarget()
String asString()
IsErrorSetFT getInitError()
default boolean isValid()
getInitError() must return null, otherwise it must return an error string.
If the target is valid, then getTarget() must return a non-null target object, otherwise it must return null.Copyright © 2010–2017. All rights reserved.