de.smartics.exceptions.i18n.message
Class Messages.Builder
java.lang.Object
de.smartics.exceptions.i18n.message.Messages.Builder
-
Enclosing class:
-
Messages
-
public static final class Messages.Builder
-
extends
Object
The builder for message instances.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Messages.Builder
public Messages.Builder()
put
public Messages.Builder put(MessageType type,
String message)
-
Adds the given message as the given type.
-
-
Parameters:
-
type
- the type of message.
-
message
- the message to add.
-
Returns:
-
a reference to the builder.
build
public Messages build()
-
Creates the messages instance.
-
-
Returns:
-
the created instance.
Copyright © 2007-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.