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
FieldsModifier and TypeFieldDescriptionstatic final LocalizableMessagestatic final LocalizableMessagestatic final LocalizableMessage -
Constructor Summary
ConstructorsConstructorDescriptionLocalizableMessageList(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, waitMethods 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:
getFallbackMessagein interfaceLocalizableMessage
-
shortDump
Description copied from interface:ShortDumpableShow 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:
shortDumpin 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:
isEmptyin interfaceLocalizableMessage
-
toString
-