Class 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 Detail

      • Configuration

        public Configuration()
    • 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides the Object.equals method.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj -
        Returns:
        true if the objects are equal.