Package org.bedework.util.jms.events
Class NamedEvent
- java.lang.Object
-
- org.bedework.util.jms.events.SysEvent
-
- org.bedework.util.jms.events.NamedEvent
-
- All Implemented Interfaces:
Serializable,Comparable<SysEvent>
- Direct Known Subclasses:
StatsEvent
public class NamedEvent extends SysEvent
System event with a name- Author:
- douglm
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bedework.util.jms.events.SysEvent
SysEvent.Attribute
-
-
Field Summary
-
Fields inherited from class org.bedework.util.jms.events.SysEvent
syscodeStats, syscodeTimedEvent
-
-
Constructor Summary
Constructors Constructor Description NamedEvent(String code, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get the namevoidtoStringSegment(ToString ts)Add our stuff to the ToString object-
Methods inherited from class org.bedework.util.jms.events.SysEvent
addMessageAttributes, compareTo, getDtstamp, getMessageAttributes, getRelated, getSequence, getSysCode, hashCode, makeStatsEvent, makeTimedEvent, setDtstamp, setRelated, setSequence, toString
-
-
-
-
Method Detail
-
getName
public String getName()
Get the name- Returns:
- String name
-
toStringSegment
public void toStringSegment(ToString ts)
Add our stuff to the ToString object- Overrides:
toStringSegmentin classSysEvent- Parameters:
ts- for result
-
-