Package org.opennms.netmgt.trapd
Class TrapLogDTO
- java.lang.Object
-
- org.opennms.netmgt.trapd.TrapLogDTO
-
-
Field Summary
-
Fields inherited from interface org.opennms.core.ipc.sink.api.Message
SINK_METRIC_CONSUMER_DOMAIN, SINK_METRIC_PRODUCER_DOMAIN
-
-
Constructor Summary
Constructors Constructor Description TrapLogDTO()
TrapLogDTO(String systemId, String location, InetAddress trapAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMessage(TrapDTO trapDTO)
boolean
equals(Object obj)
String
getLocation()
List<TrapDTO>
getMessages()
String
getSystemId()
InetAddress
getTrapAddress()
int
hashCode()
void
setLocation(String location)
void
setMessages(List<TrapDTO> messages)
void
setSystemId(String systemId)
void
setTrapAddress(InetAddress trapAddress)
-
-
-
Constructor Detail
-
TrapLogDTO
public TrapLogDTO()
-
TrapLogDTO
public TrapLogDTO(String systemId, String location, InetAddress trapAddress)
-
-
Method Detail
-
addMessage
public void addMessage(TrapDTO trapDTO)
-
getSystemId
public String getSystemId()
-
setSystemId
public void setSystemId(String systemId)
-
getLocation
public String getLocation()
-
setLocation
public void setLocation(String location)
-
getTrapAddress
public InetAddress getTrapAddress()
-
setTrapAddress
public void setTrapAddress(InetAddress trapAddress)
-
-