Package com.evolveum.midpoint.util
Class LocalizableMessageList
java.lang.Object
com.evolveum.midpoint.util.LocalizableMessageList
- All Implemented Interfaces:
LocalizableMessage
,ShortDumpable
,Serializable
This class is final and must remain so, as it's not cloneable.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LocalizableMessage
static final LocalizableMessage
static final LocalizableMessage
-
Constructor Summary
ConstructorDescriptionLocalizableMessageList
(List<LocalizableMessage> messages, LocalizableMessage separator, LocalizableMessage prefix, LocalizableMessage postfix) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
Field Details
-
SPACE
-
COMMA
-
SEMICOLON
-
-
Constructor Details
-
LocalizableMessageList
public LocalizableMessageList(List<LocalizableMessage> messages, LocalizableMessage separator, LocalizableMessage prefix, LocalizableMessage postfix)
-
-
Method Details
-
getMessages
-
getSeparator
-
getPrefix
-
getPostfix
-
getFallbackMessage
- Specified by:
getFallbackMessage
in interfaceLocalizableMessage
-
shortDump
Description copied from interface:ShortDumpable
Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDump
in interfaceShortDumpable
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceLocalizableMessage
-
toString
-