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