| Package | Description |
|---|---|
| org.faktorips.runtime |
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.Builder.create()
Creates a new
Message with all previously given properties. |
static Message |
Message.createCopy(Message msg,
Object oldObject,
Object newObject)
Creates a copy from the message and replaces all references to the old object with the new
object.
|
Message |
MessageList.getFirstMessage(Severity severity)
Returns the first message with the given severity or null if none is found.
|
Message |
MessageList.getMessage(int index)
Returns the message at the indicated index (indexing starts with 0).
|
Message |
MessageList.getMessageByCode(String code)
Returns the first message in the list that has the specified message code.
|
static Message |
Message.newError(String code,
String text)
Constructs a new error message.
|
static Message |
Message.newInfo(String code,
String text)
Constructs a new information message.
|
static Message |
Message.newWarning(String code,
String text)
Constructs a new warning message.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Message> |
MessageList.iterator()
Returns an iterator over the messages in this list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MessageList.add(Message msg)
Adds the message to the list.
|
static Message |
Message.createCopy(Message msg,
Object oldObject,
Object newObject)
Creates a copy from the message and replaces all references to the old object with the new
object.
|
| Constructor and Description |
|---|
Message(Message msg)
Creates a new message by copying everything of the given
Message. |
MessageList(Message msg)
Creates a message list that contains the given message.
|
Copyright © 2017. All rights reserved.