public class PteraDebugEvent extends java.lang.Object implements DebugEvent
| Constructor and Description |
|---|
PteraDebugEvent(NamedObj source,
java.lang.String message)
Construct a debug event with the source and a message.
|
| Modifier and Type | Method and Description |
|---|---|
NamedObj |
getSource()
Return the source of the debug event.
|
java.lang.String |
toString()
Return the message.
|
java.lang.String |
toString(NamedObj sourceContainer)
Return a string that includes both the name of the source (within the
given container) and the message.
|
public PteraDebugEvent(NamedObj source, java.lang.String message)
source - The source of the debug event.message - The message.public NamedObj getSource()
getSource in interface DebugEventpublic java.lang.String toString()
toString in interface DebugEventtoString in class java.lang.Objectpublic java.lang.String toString(NamedObj sourceContainer)
sourceContainer - Container of the source that is used to retrieve
part of the full name of the source.