Class MessageChannel.Message<T>
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.MessageChannel.Message<T>
-
- Enclosing class:
- MessageChannel<T>
public static final class MessageChannel.Message<T> extends java.lang.Object
A message transmitted through aMessageChannel
. It's a pure data class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
LogEntry.Category
getCategory()
T
getContent()
Payload of the message.ApplicationComponent
getOrigin()
Component that pushed the message.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getCategory
public LogEntry.Category getCategory()
-
getContent
public T getContent()
Payload of the message.
-
getOrigin
public ApplicationComponent getOrigin()
Component that pushed the message.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-