Class Configuration
- java.lang.Object
-
- org.opennms.netmgt.config.syslogd.Configuration
-
- All Implemented Interfaces:
java.io.Serializable
public class Configuration extends java.lang.Object implements java.io.Serializable
Top-level element for the syslogd-configuration.xml configuration file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Configuration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Overrides the Object.equals method.java.lang.Integer
getBatchInterval()
java.lang.Integer
getBatchSize()
java.lang.String
getDiscardUei()
java.util.Optional<java.lang.String>
getForwardingRegexp()
java.util.Optional<java.lang.String>
getListenAddress()
java.util.Optional<java.lang.Integer>
getMatchingGroupHost()
java.util.Optional<java.lang.Integer>
getMatchingGroupMessage()
java.lang.Boolean
getNewSuspectOnMessage()
java.lang.String
getParser()
java.lang.Integer
getQueueSize()
java.lang.Integer
getSyslogPort()
java.util.Optional<java.lang.Integer>
getThreads()
java.util.Optional<java.util.TimeZone>
getTimeZone()
int
hashCode()
void
setBatchInterval(java.lang.Integer batchInterval)
void
setBatchSize(java.lang.Integer batchSize)
void
setDiscardUei(java.lang.String discardUei)
void
setForwardingRegexp(java.lang.String forwardingRegexp)
void
setIncludeRawSyslogmessage(boolean includeRawSyslogmessage)
void
setListenAddress(java.lang.String listenAddress)
void
setMatchingGroupHost(java.lang.Integer matchingGroupHost)
void
setMatchingGroupMessage(java.lang.Integer matchingGroupMessage)
void
setNewSuspectOnMessage(java.lang.Boolean newSuspectOnMessage)
void
setParser(java.lang.String parser)
void
setQueueSize(java.lang.Integer queueSize)
void
setSyslogPort(java.lang.Integer syslogPort)
void
setThreads(java.lang.Integer threads)
void
setTimeZone(java.lang.String timeZone)
boolean
shouldIncludeRawSyslogmessage()
-
-
-
Method Detail
-
getListenAddress
public java.util.Optional<java.lang.String> getListenAddress()
-
setListenAddress
public void setListenAddress(java.lang.String listenAddress)
-
getSyslogPort
public java.lang.Integer getSyslogPort()
-
setSyslogPort
public void setSyslogPort(java.lang.Integer syslogPort)
-
getNewSuspectOnMessage
public java.lang.Boolean getNewSuspectOnMessage()
-
setNewSuspectOnMessage
public void setNewSuspectOnMessage(java.lang.Boolean newSuspectOnMessage)
-
getForwardingRegexp
public java.util.Optional<java.lang.String> getForwardingRegexp()
-
setForwardingRegexp
public void setForwardingRegexp(java.lang.String forwardingRegexp)
-
getMatchingGroupHost
public java.util.Optional<java.lang.Integer> getMatchingGroupHost()
-
setMatchingGroupHost
public void setMatchingGroupHost(java.lang.Integer matchingGroupHost)
-
getMatchingGroupMessage
public java.util.Optional<java.lang.Integer> getMatchingGroupMessage()
-
setMatchingGroupMessage
public void setMatchingGroupMessage(java.lang.Integer matchingGroupMessage)
-
getParser
public java.lang.String getParser()
-
setParser
public void setParser(java.lang.String parser)
-
getDiscardUei
public java.lang.String getDiscardUei()
-
setDiscardUei
public void setDiscardUei(java.lang.String discardUei)
-
getThreads
public java.util.Optional<java.lang.Integer> getThreads()
-
setThreads
public void setThreads(java.lang.Integer threads)
-
getQueueSize
public java.lang.Integer getQueueSize()
-
setQueueSize
public void setQueueSize(java.lang.Integer queueSize)
-
getBatchSize
public java.lang.Integer getBatchSize()
-
setBatchSize
public void setBatchSize(java.lang.Integer batchSize)
-
getBatchInterval
public java.lang.Integer getBatchInterval()
-
setBatchInterval
public void setBatchInterval(java.lang.Integer batchInterval)
-
getTimeZone
public java.util.Optional<java.util.TimeZone> getTimeZone()
-
setTimeZone
public void setTimeZone(java.lang.String timeZone)
-
shouldIncludeRawSyslogmessage
public boolean shouldIncludeRawSyslogmessage()
-
setIncludeRawSyslogmessage
public void setIncludeRawSyslogmessage(boolean includeRawSyslogmessage)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Overrides the Object.equals method.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
-- Returns:
- true if the objects are equal.
-
-