Package org.opennms.core.camel
Class MinionDTO
- java.lang.Object
-
- org.opennms.core.camel.MinionDTO
-
public class MinionDTO extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LOCATION
static java.lang.String
SOURCE_ADDRESS
static java.lang.String
SOURCE_PORT
static java.lang.String
SYSTEM_ID
-
Constructor Summary
Constructors Constructor Description MinionDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
byte[]
getBody()
java.lang.String
getHeader(java.lang.String key)
java.util.Map<java.lang.String,java.lang.String>
getHeaders()
int
hashCode()
void
putHeader(java.lang.String key, java.lang.String value)
void
setBody(byte[] m_body)
void
setHeaders(java.util.Map<java.lang.String,java.lang.String> newHeaders)
void
setLocation(java.lang.String m_location)
void
setSourceAddress(java.net.InetAddress m_sourceAddress)
void
setSourcePort(int m_sourceport)
void
setSystemId(java.lang.String m_systemId)
-
-
-
Field Detail
-
SYSTEM_ID
public static final java.lang.String SYSTEM_ID
- See Also:
- Constant Field Values
-
LOCATION
public static final java.lang.String LOCATION
- See Also:
- Constant Field Values
-
SOURCE_ADDRESS
public static final java.lang.String SOURCE_ADDRESS
- See Also:
- Constant Field Values
-
SOURCE_PORT
public static final java.lang.String SOURCE_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getHeaders
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
-
setHeaders
public void setHeaders(java.util.Map<java.lang.String,java.lang.String> newHeaders)
-
putHeader
public void putHeader(java.lang.String key, java.lang.String value)
-
getHeader
public java.lang.String getHeader(java.lang.String key)
-
getBody
public byte[] getBody()
-
setBody
public void setBody(byte[] m_body)
-
setSystemId
public final void setSystemId(java.lang.String m_systemId)
-
setLocation
public final void setLocation(java.lang.String m_location)
-
setSourceAddress
public final void setSourceAddress(java.net.InetAddress m_sourceAddress)
-
setSourcePort
public final void setSourcePort(int m_sourceport)
-
-