Package com.evolveum.midpoint.util
Class LocalizableMessageList
- java.lang.Object
-
- com.evolveum.midpoint.util.LocalizableMessageList
-
- All Implemented Interfaces:
LocalizableMessage
,ShortDumpable
,Serializable
public class LocalizableMessageList extends Object implements LocalizableMessage
This class is final and must remain so, as it's not cloneable.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static LocalizableMessage
COMMA
static LocalizableMessage
SEMICOLON
static LocalizableMessage
SPACE
-
Constructor Summary
Constructors Constructor Description LocalizableMessageList(List<LocalizableMessage> messages, LocalizableMessage separator, LocalizableMessage prefix, LocalizableMessage postfix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFallbackMessage()
List<LocalizableMessage>
getMessages()
LocalizableMessage
getPostfix()
LocalizableMessage
getPrefix()
LocalizableMessage
getSeparator()
boolean
isEmpty()
void
shortDump(StringBuilder sb)
Show the content of the object intended for diagnostics.String
toString()
-
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 Detail
-
SPACE
public static final LocalizableMessage SPACE
-
COMMA
public static final LocalizableMessage COMMA
-
SEMICOLON
public static final LocalizableMessage SEMICOLON
-
-
Constructor Detail
-
LocalizableMessageList
public LocalizableMessageList(List<LocalizableMessage> messages, LocalizableMessage separator, LocalizableMessage prefix, LocalizableMessage postfix)
-
-
Method Detail
-
getMessages
public List<LocalizableMessage> getMessages()
-
getSeparator
public LocalizableMessage getSeparator()
-
getPrefix
public LocalizableMessage getPrefix()
-
getPostfix
public LocalizableMessage getPostfix()
-
getFallbackMessage
public String getFallbackMessage()
- Specified by:
getFallbackMessage
in interfaceLocalizableMessage
-
shortDump
public void shortDump(StringBuilder sb)
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
-
-