public class TreePathMessage extends Message implements ITreePathMessage
Message
,
TimelineObjectPathMessage
Constructor and Description |
---|
TreePathMessage(MessageTypeId id,
String text,
Date time,
TreePath path)
Constructs a new message.
|
TreePathMessage(MessageTypeId id,
String text,
Object details,
Date time,
TreePath path)
Constructs a new message.
|
TreePathMessage(MessageTypeId id,
String text,
Object details,
TreePath path)
Constructs a new message.
|
TreePathMessage(MessageTypeId id,
String text,
TreePath path)
Constructs a new message.
|
TreePathMessage(String text,
Object details,
TreePath path)
Constructs a new error message.
|
TreePathMessage(String text,
TreePath path)
Constructs a new information message.
|
Modifier and Type | Method and Description |
---|---|
TreePath |
getTreePath()
Returns the tree path associated with the message.
|
getMessageDetails, getMessageText, getMessageTime, getMessageTypeId, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessageDetails, getMessageText, getMessageTime, getMessageTypeId
public TreePathMessage(MessageTypeId id, String text, Object details, Date time, TreePath path)
id
- a message type identifier used to distinguish between plain
information messages or warning and error messagestext
- the message that will be shown to the userdetails
- an object storing additional information about the cause of
the messagetime
- a message time stamppath
- a tree path pointing to the source of the messageMessage
,
TimelineObjectPathMessage
public TreePathMessage(MessageTypeId id, String text, Date time, TreePath path)
id
- a message type identifier used to distinguish between plain
information messages or warning and error messagestext
- the message that will be shown to the usertime
- a message time stamppath
- a tree path pointing to the source of the messageMessage
,
TimelineObjectPathMessage
public TreePathMessage(MessageTypeId id, String text, Object details, TreePath path)
id
- a message type identifier used to distinguish between plain
information messages or warning and error messagestext
- the message that will be shown to the userdetails
- an object storing additional information about the cause of
the messagepath
- a tree path pointing to the source of the messageMessage
,
TimelineObjectPathMessage
public TreePathMessage(MessageTypeId id, String text, TreePath path)
id
- a message type identifier used to distinguish between plain
information messages or warning and error messagestext
- the message that will be shown to the userpath
- a tree path pointing to the source of the messageMessage
,
TimelineObjectPathMessage
public TreePathMessage(String text, Object details, TreePath path)
text
- the message that will be shown to the userdetails
- an object storing additional information about the cause of
the messagepath
- a tree path pointing to the source of the messageMessage
,
TimelineObjectPathMessage
public TreePathMessage(String text, TreePath path)
text
- the message that will be shown to the userpath
- a tree path pointing to the source of the messageMessage
,
TimelineObjectPathMessage
public TreePath getTreePath()
ITreePathMessage
getTreePath
in interface ITreePathMessage
Copyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.